Skip to main content
summaryrefslogtreecommitdiffstats
blob: 30c9a31308847d219db41c4c1aa491b61ada8b43 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">

	<modelVersion>4.0.0</modelVersion>

	<parent>
		<groupId>org.eclipse.osee</groupId>
		<artifactId>org.eclipse.osee.client.all.parent</artifactId>
		<version>0.16.0-SNAPSHOT</version>
		<relativePath>../../plugins/org.eclipse.osee.client.all.parent</relativePath>
	</parent>

	<artifactId>org.eclipse.osee.client.all.product</artifactId>
	<packaging>eclipse-repository</packaging>
	<name>OSEE Client IDE - Product</name>
	<version>0.16.0-SNAPSHOT</version>

	<build>
		<plugins>
			<plugin>
				<groupId>org.eclipse.tycho</groupId>
				<artifactId>tycho-p2-director-plugin</artifactId>
				<version>${tycho-version}</version>
				<executions>
					<execution>
						<id>materialize-products</id>
						<goals>
							<goal>materialize-products</goal>
						</goals>
					</execution>
					<!-- <execution> <id>archive-products</id> <goals> <goal>archive-products</goal> 
						</goals> </execution> -->
				</executions>
			</plugin>
			<plugin>
				<artifactId>maven-antrun-plugin</artifactId>
				<version>${maven-antrun-version}</version>
				<executions>
					<execution>
						<id>customize-osee-ide</id>
						<phase>package</phase>
						<configuration>
							<target>
								<property name="plugin_classpath" refid="maven.plugin.classpath" />
								<taskdef resource="net/sf/antcontrib/antlib.xml">
									<classpath>
										<pathelement path="${classpath}" />
										<pathelement path="${plugin_classpath}" />
									</classpath>
								</taskdef>

								<property name="product-name" value="org.eclipse.osee.ide.id" />
								<property name="zip-product-name" value="${product-name}" />
								<property name="products-directory" value="${project.build.directory}/products" />
								<property name="output-directory" value="${project.build.directory}" />
								<property name="resources-directory" value="${project.basedir}/resources" />

								<ant antfile="customize-product.xml" target="run"
									inheritRefs="true" />
							</target>
						</configuration>
						<goals>
							<goal>run</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
		</plugins>
	</build>

</project>

Back to the top