Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 34220860f990b94527afe4bfd52a8b5319d5ece7 (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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
<?xml version="1.0" encoding="UTF-8"?>
<project
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
	xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<modelVersion>4.0.0</modelVersion>
	<parent>
		<groupId>org.eclipse.rmf</groupId>
		<artifactId>org.eclipse.rmf.releng</artifactId>
		<version>0.3.2-SNAPSHOT</version>
		<relativePath>../org.eclipse.rmf.releng/pom.xml</relativePath>
	</parent>
	<artifactId>org.eclipse.rmf.releng.product</artifactId>
	<version>0.3.2-SNAPSHOT</version>
	<packaging>eclipse-repository</packaging>
	
	<properties>
    	<maven.build.timestamp.format>yyyyMMddHHmm</maven.build.timestamp.format>
    	<app.version>0.3.2</app.version>
  	</properties>
	
	<build>
		<plugins>
			<!--plugin>
		        <groupId>org.eclipse.tycho</groupId>
		        <artifactId>tycho-p2-repository-plugin</artifactId>
		        <version>${tycho-version}</version>
		        <configuration>
		          <includeAllDependencies>true</includeAllDependencies>
		        </configuration>
	      	</plugin-->
	      	<plugin>
				<groupId>${tycho-groupid}</groupId>
				<artifactId>tycho-p2-publisher-plugin</artifactId>
				<version>${tycho-version}</version>
				<configuration>
					<publishArtifacts>true</publishArtifacts>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.eclipse.tycho</groupId>
				<artifactId>tycho-p2-director-plugin</artifactId>
				<version>${tycho-version}</version>
				  <configuration>
				    <additionalIUs>
				      <additionalIU>org.eclipse.rmf.pror.reqif10.feature.feature.group</additionalIU>
				      <additionalIU>org.eclipse.rmf.reqif10.feature.feature.group</additionalIU>
				    </additionalIUs>
				    <additionalRepositories>
				      <additionalRepository>http://download.eclipse.org/rmf/updates/</additionalRepository>
				    </additionalRepositories>
				  </configuration> 
				<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>
			<!-- ANT actions -->
        	<plugin>
	            <artifactId>maven-antrun-plugin</artifactId>
	            <version>1.6</version>
	            <executions>
	                <!-- Rename the ZIP files -->
	                <execution>
	                    <id>update-zip-files</id>
	                    <phase>install</phase>
	                    <configuration>
	                        <target>
	                            <!-- Rename the products -->
	                            <move verbose="true" todir="${project.build.directory}/products">
	                                <mapper type="regexp" from="^(org.eclipse.rmf.pror.reqif10.product-)(.*)$$"
	                                    to="eclipse-rmf-pror-${app.version}-nightly-${maven.build.timestamp}-incubation-\2" />
	                                <fileset dir="${project.build.directory}/products">
	                                    <include name="*.zip" />
	                                </fileset>
	                            </move>
	                        </target>
	                    </configuration>
	                    <goals>
	                        <goal>run</goal>
	                    </goals>
	                </execution>
	            </executions>
      	  </plugin>
		</plugins>
	</build>
	
<!--  
	<properties>
		<signer-version>1.0.5</signer-version>
		<signer-input-directory>/home/data/httpd/download-staging.priv/tools/gef/gef4</signer-input-directory>
	</properties>

	<profiles>
		<profile>
			<id>hudson.eclipse.org</id>
			<build>
				<plugins>
					<plugin>
						<groupId>org.eclipse.dash.maven</groupId>
						<artifactId>eclipse-signing-maven-plugin</artifactId>
						<version>${signer-version}</version>
						<executions>
							<execution>
								<id>pack</id>
								<configuration>
									<inputFile>${project.build.directory}/org.eclipse.gef4.repository.zip</inputFile>
								</configuration>
								<phase>package</phase>
								<goals>
									<goal>pack</goal>
								</goals>
							</execution>
							<execution>
								<id>sign</id>
								<configuration>
									<inputFile>${project.build.directory}/org.eclipse.gef4.repository.zip</inputFile>
									<signerInputDirectory>${signer-input-directory}</signerInputDirectory>
								</configuration>
								<phase>package</phase>
								<goals>
									<goal>sign</goal>
								</goals>
							</execution>
							<execution>
								<id>repack</id>
								<configuration>
									<inputFile>${project.build.directory}/signed/site_assembly.zip</inputFile>
								</configuration>
								<phase>package</phase>
								<goals>
									<goal>pack</goal>
								</goals>
							</execution>
							<execution>
								<id>fixCheckSums</id>
								<phase>package</phase>
								<goals>
									<goal>fixCheckSums</goal>
								</goals>
							</execution>
						</executions>
					</plugin>
				</plugins>
			</build>
		</profile>
	</profiles>
	
	-->
</project>

Back to the top