Skip to main content
summaryrefslogtreecommitdiffstats
blob: c24df77b422e65aa957b259ce48f368cf01a34f6 (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
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
<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>
  <groupId>org.eclipse.jwt</groupId>
  <artifactId>parent</artifactId>
  <version>1.6.0.qualifier</version>
  <packaging>pom</packaging>
  
 <!-- jwt modules -->
  <modules>
    <module>../../metamodel/jwt-converter</module>
    <module>../../metamodel/jwt-metamodel</module>
    <module>../../we/jwt-we</module>
    <module>../../we/jwt-we-conf-model</module>
    <module>../../we/jwt-we-conf-model.edit</module>
    <module>../../we/jwt-we-conf-model.editor</module>
    <module>../../we/jwt-we-conf-model.we</module>
    <module>../../we/jwt-we-conf-property-model</module>
    <module>../../we/jwt-we-conf-property-model.edit</module>
    <module>../../we/jwt-we-view-editor</module>
    <module>../../we-plugins/jwt-we-helpers-application</module>
    <module>../../we-plugins/jwt-we-helpers-files</module>
    <module>../../we-plugins/jwt-we-action-doc</module>
    <module>../../we-plugins/jwt-we-view-epc</module>
    <module>../../we-plugins/jwt-we-view-uml</module>
    <module>../../we-plugins/jwt-we-view-bpmn</module>
    <module>../../releng/jwt-feature-branding</module>
    <module>../../releng/jwt-we-example</module>
    <module>../../releng/jwt-tests-plugin</module>
    <module>../../transformations/jwt-transformation-stpim</module>
    <module>../../transformations/jwt-transformation-base</module>
    <module>../../transformations/jwt-transformation-bpmn</module>
    <module>../../transformations/jwt-transformation-properties</module>
    <module>../../transformations/jwt-transformation-xpdl</module>
    <module>../../transformations/jwt-transformation-xslt-tools</module>
    <module>../../releng/org.eclipse.jwt.feature</module>
    <module>../../releng/org.eclipse.jwt.test.feature</module>
    <module>../../releng/org.eclipse.jwt.p2updatesite</module>
  </modules>

  <properties>
    <tycho-version>0.21.0</tycho-version>
    <maven.build.timestamp.format>yyyyMMdd-HHmm</maven.build.timestamp.format>
    <download-publish-path>/home/data/httpd/download.eclipse.org/jwt/</download-publish-path>
  </properties>

 <!-- eclipse build platform -->
  <repositories>
    <repository>
      <id>eclipse-neon</id>
      <layout>p2</layout>
      <url>http://download.eclipse.org/releases/neon/</url>
    </repository>
  </repositories>

 <!-- repositories for maven plugins -->
 <pluginRepositories>
  
    <pluginRepository>
      <id>maven.eclipse.org</id>
      <url>https://repo.eclipse.org/content/groups/tycho/</url>
    </pluginRepository>
    
	<pluginRepository>
      <id>cbi</id>
      <url>https://repo.eclipse.org/content/repositories/cbi-releases/</url>
      <releases>
        <enabled>true</enabled>
      </releases>
      <snapshots>
        <enabled>false</enabled>
      </snapshots>
    </pluginRepository>
   
  </pluginRepositories>

  <build>
    <plugins>

      <plugin>
        <groupId>org.eclipse.tycho</groupId>
        <artifactId>tycho-maven-plugin</artifactId>
        <version>${tycho-version}</version>
        <extensions>true</extensions>
      </plugin>
    
      <plugin>
        <groupId>org.eclipse.tycho</groupId>
        <artifactId>tycho-surefire-plugin</artifactId>
        <version>${tycho-version}</version>
 
        <configuration>
         
          <useUIHarness>true</useUIHarness>
         
          <testFailureIgnore>true</testFailureIgnore>
        
          <includes>
            <include>**/AllTests.java</include>
          </includes>
          
        </configuration>
      </plugin>

    </plugins>
  </build>
  

<!-- build profiles -->
<profiles>

	<!-- sign jars on eclipse server -->
    <profile>
    
      <id>eclipse-sign</id>
      
      <build>
        <plugins>
        
          <plugin>
            <groupId>org.eclipse.tycho</groupId>
            <artifactId>target-platform-configuration</artifactId>
            <version>${tycho-version}</version>
            
            <configuration>
              <includePackedArtifacts>false</includePackedArtifacts>
            </configuration>
          
          </plugin>
          
          <plugin>
            <groupId>org.eclipse.tycho.extras</groupId>
            <artifactId>tycho-pack200a-plugin</artifactId>
            <version>${tycho-version}</version>
            <executions>
              <execution>
                <id>pack200-normalize</id>
                <goals>
                  <goal>normalize</goal>
                </goals>
                <phase>verify</phase>
              </execution>
            </executions>
          </plugin>
           
          <plugin>
            <groupId>org.eclipse.cbi.maven.plugins</groupId>
            <artifactId>eclipse-jarsigner-plugin</artifactId>
            <version>1.0.4</version>
            <executions>
              <execution>
                <id>sign</id>
                <goals>
                  <goal>sign</goal>
                </goals>
                <phase>verify</phase>
              </execution>
            </executions>
          </plugin>

          <plugin>
            <groupId>org.eclipse.tycho.extras</groupId>
            <artifactId>tycho-pack200b-plugin</artifactId>
            <version>${tycho-version}</version>
            <executions>
              <execution>
                <id>pack200-pack</id>
                <goals>
                  <goal>pack</goal>
                </goals>
                <phase>verify</phase>
              </execution>
            </executions>
          </plugin>
          
          <plugin>
            <groupId>org.eclipse.tycho</groupId>
            <artifactId>tycho-p2-plugin</artifactId>
            <version>${tycho-version}</version>
            <executions>
              <execution>
                <id>p2-metadata</id>
                <goals>
                  <goal>p2-metadata</goal>
                </goals>
                <phase>verify</phase>
              </execution>
            </executions>
            <configuration>
              <defaultP2Metadata>false</defaultP2Metadata>
            </configuration>
          </plugin>
          
        </plugins>
      </build>
    </profile>

	<!-- init hudson variables for local build -->
	<profile>
	    <id>Hudson Surrogate Params</id>
	    <properties>
	        <env.BUILD_NUMBER>UNKNOWN</env.BUILD_NUMBER>
	        <env.BUILD_ID>${maven.build.timestamp}</env.BUILD_ID>
	        <env.JOB_NAME>${project.name}</env.JOB_NAME>
	        <env.BUILD_TAG>${user.name}-${env.JOB_NAME}-${project.version}_${env.BUILD_NUMBER}-${env.BUILD_ID}</env.BUILD_TAG>
	        <env.EXECUTOR_NUMBER>0</env.EXECUTOR_NUMBER>
	        <env.WORKSPACE>${basedir}</env.WORKSPACE>
	        <env.HUDSON_URL>UNKNOWN</env.HUDSON_URL>
	        <env.SVN_REVISION>rUNKNOWN</env.SVN_REVISION>
	    </properties>
	    <activation>
	        <property>
	            <!-- Activated if Hudson hasn't already set the BUILD_NUMBER -->
	            <name>!env.BUILD_NUMBER</name>
	        </property>
	    </activation>
	</profile>
	
  </profiles>

</project> 

Back to the top