Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 0f4187fda73436ace185656215335c97424879c4 (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
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
<?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>
  <groupId>org.eclipse.virgo.ide</groupId>
  <artifactId>org.eclipse.virgo.ide.parent</artifactId>
  <version>1.5.0-SNAPSHOT</version>
  <packaging>pom</packaging>

  <prerequisites>
    <maven>3.0</maven>
  </prerequisites>  

  <properties>
	<p2.qualifier>SNAPSHOT</p2.qualifier>

	<archive-dir>${basedir}/target/archive</archive-dir>
	<site-dir></site-dir>

    <skip-source-check>true</skip-source-check>
	<skip-sign>true</skip-sign>
	<skip-promote>true</skip-promote>

	<pack200>"${java.home}/bin"</pack200>
	<test.osvmargs></test.osvmargs>

	<tycho-version>0.21.0</tycho-version>
	<skip-source-check>true</skip-source-check>
  </properties>

  <modules>
    <module>org.eclipse.virgo.ide</module>
    <module>org.eclipse.virgo.ide.bundlor.core</module>
    <module>org.eclipse.virgo.ide.bundlor.jdt.core</module>
    <module>org.eclipse.virgo.ide.bundlor.ui</module>
    <module>org.eclipse.virgo.ide.doc</module>
    <module>org.eclipse.virgo.ide.eclipse</module>
    <module>org.eclipse.virgo.ide.eclipse.feature</module>
    <module>org.eclipse.virgo.ide.export</module>
    <module>org.eclipse.virgo.ide.export.tests</module>
    <module>org.eclipse.virgo.ide.facet.core</module>
    <module>org.eclipse.virgo.ide.pde.core</module>
    <module>org.eclipse.virgo.ide.feature</module>
    <module>org.eclipse.virgo.ide.jdt.core</module>
    <module>org.eclipse.virgo.ide.jdt.ui</module>
    <module>org.eclipse.virgo.ide.management.remote</module>
    <module>org.eclipse.virgo.ide.manifest.core</module>
    <module>org.eclipse.virgo.ide.par</module>
    <module>org.eclipse.virgo.ide.par.edit</module>
    <module>org.eclipse.virgo.ide.runtime.core</module>
    <module>org.eclipse.virgo.ide.runtime.ui</module>
<!--
    <module>org.eclipse.virgo.ide.tests</module>
-->
    <module>org.eclipse.virgo.ide.tests.util</module>
    <module>org.eclipse.virgo.ide.ui</module>
<!--
    <module>org.eclipse.virgo.ide.ui.tests</module>
-->

    <!-- site -->
    <module>org.eclipse.virgo.ide.site</module>
  </modules>

  <profiles>
    <profile>
      <id>hudson.eclipse.org</id>
      <activation>
		<property>
          <name>user.name</name>
          <value>hudsonbuild</value>
		</property>
      </activation>
      <properties>
		<pack200>/shared/common/jdk-1.5.0-22.x86_64/bin</pack200>
		<archive-dir>/home/data/httpd/download.eclipse.org/virgo/snapshot/IDE/drops</archive-dir>
		<site-dir>/home/data/httpd/download.eclipse.org/virgo/snapshot/IDE</site-dir>
		<skip-promote>false</skip-promote>
      </properties>
    </profile>
	<profile>
      <id>osx</id>
      <activation>
        <property>
          <name>java.vendor.url</name>
          <value>http://www.apple.com/</value>
        </property>
      </activation>
      <properties>
        <test.osvmargs>-Dosgi.ws=cocoa -XstartOnFirstThread</test.osvmargs>
      </properties>
    </profile>
  </profiles>

  <repositories>
	<repository>
	  <id>eclipse</id>
	  <layout>p2</layout>
	  <url>http://download.eclipse.org/releases/neon/</url>
	</repository>
	<repository>
	  <id>orbit</id>
	  <layout>p2</layout>
	  <url>http://download.eclipse.org/tools/orbit/downloads/drops/R20150519210750/repository/</url>
	</repository>
    <repository>
	  <id>ajdt</id>
	  <layout>p2</layout>
	  <url>http://download.eclipse.org/tools/ajdt/36/update/</url>
	</repository>
	<repository>
	  <id>swtbot</id>
	  <layout>p2</layout>
	  <url>http://download.eclipse.org/technology/swtbot/releases/latest/</url>
	</repository>
	<repository>
      <id>libra-milestone</id>
      <layout>p2</layout>
      <url>http://download.eclipse.org/libra/milestones/</url>
    </repository>
    <repository>
      <id>bundlor-milestone</id>
      <layout>p2</layout>
      <url>http://download.eclipse.org/virgo/release/BNDLR/1.1.2.RELEASE/updatesite</url>
    </repository>
    <repository>
      <id>virgo-snapshots</id>
      <layout>p2</layout>
      <url>http://download.eclipse.org/virgo/snapshots/3.7/</url>
    </repository>
  </repositories>

  <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>target-platform-configuration</artifactId>
		<version>${tycho-version}</version>
		<configuration>
		  <resolver>p2</resolver>
		  <pomDependencies>consider</pomDependencies>
		  <ignoreTychoRepositories>true</ignoreTychoRepositories>
		  <dependency-resolution>
			<optionalDependencies>ignore</optionalDependencies>
		  </dependency-resolution>
		  <environments>
		  	<!-- 
			<environment>
			  <os>macosx</os>
			  <ws>cocoa</ws>
			  <arch>x86</arch>
			</environment>
		  	 -->
			<environment>
			  <os>macosx</os>
			  <ws>cocoa</ws>
			  <arch>x86_64</arch>
			</environment>
			<environment>
			  <os>win32</os>
			  <ws>win32</ws>
			  <arch>x86</arch>
			</environment>
			<environment>
			  <os>win32</os>
			  <ws>win32</ws>
			  <arch>x86_64</arch>
			</environment>
			<environment>
			  <os>linux</os>
			  <ws>gtk</ws>
			  <arch>x86</arch>
			</environment>
			<environment>
			  <os>linux</os>
			  <ws>gtk</ws>
			  <arch>x86_64</arch>
			</environment>
		  </environments>
		</configuration>
	  </plugin>
	</plugins>
    <pluginManagement>
      <plugins>
		<plugin>
		  <groupId>org.eclipse.tycho</groupId>
		  <artifactId>tycho-compiler-plugin</artifactId>
		  <version>${tycho-version}</version>
		  <configuration>
			<encoding>UTF-8</encoding>
		  </configuration>
		</plugin>
        <plugin>
          <!-- TODO remove workaround when
               https://issues.sonatype.org/browse/TYCHO-473
               is fixed -->
          <groupId>org.eclipse.tycho</groupId>
          <artifactId>tycho-source-plugin</artifactId>
          <version>${tycho-version}</version>
          <executions>
            <execution>
              <id>attach-source</id>
              <phase>process-classes</phase>
              <goals>
                <goal>plugin-source</goal>
              </goals>
            </execution>
          </executions>
        </plugin>
        <plugin>
          <groupId>org.eclipse.tycho</groupId>
          <artifactId>tycho-packaging-plugin</artifactId>
          <version>${tycho-version}</version>
          <configuration>
            <format>yyyyMMddHHmm-'${p2.qualifier}'</format>
            <archiveSite>false</archiveSite>
          </configuration>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-resources-plugin</artifactId>
          <version>2.4.1</version>
          <configuration>
            <encoding>ISO-8859-1</encoding>
          </configuration>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-antrun-plugin</artifactId>
          <version>1.6</version>
        </plugin>
        <plugin>
          <groupId>org.codehaus.mojo</groupId>
          <artifactId>findbugs-maven-plugin</artifactId>
          <version>2.3.2</version>
          <configuration>
            <findbugsXmlOutput>true</findbugsXmlOutput>
            <failOnError>false</failOnError>
			<skip>${skip-source-check}</skip>
          </configuration>
          <executions>
            <execution>
              <goals>
                <goal>check</goal>
              </goals>
            </execution>
          </executions>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-pmd-plugin</artifactId>
          <version>2.5</version>
          <configuration>
            <sourceEncoding>utf-8</sourceEncoding>
            <minimumTokens>100</minimumTokens>
            <targetJdk>1.5</targetJdk>
            <format>xml</format>
            <failOnViolation>false</failOnViolation>
			<skip>${skip-source-check}</skip>
          </configuration>
          <executions>
            <execution>
              <goals>
                <goal>cpd-check</goal>
              </goals>
            </execution>
          </executions>
        </plugin>
		<plugin>
		  <groupId>org.eclipse.tycho</groupId>
		  <artifactId>tycho-surefire-plugin</artifactId>
		  <version>${tycho-version}</version>
		  <configuration>
			<useUIHarness>true</useUIHarness>
			<useUIThread>true</useUIThread>
			<forkedProcessTimeoutInSeconds>1800</forkedProcessTimeoutInSeconds>
			<argLine>-Xmx1024m -XX:MaxPermSize=256m -Djava.io.tmpdir=${project.build.directory} ${test.osvmargs}</argLine>
		  </configuration>
		</plugin>		
      </plugins>
    </pluginManagement>
  </build>
</project>

Back to the top