blob: 0c3f8576fa07a77f87b435313617251a914fd309 [file] [log] [blame]
Jeffrey van Gogh32d3c0c2016-04-04 10:49:31 -07001<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">
2 <modelVersion>4.0.0</modelVersion>
3 <groupId>org.jboss.weld</groupId>
4 <artifactId>weld-parent</artifactId>
5 <packaging>pom</packaging>
6 <version>6</version>
7
8 <name>Weld Parent</name>
9
10 <!-- Full metadata -->
11
12 <url>http://www.seamframework.org/Weld</url>
13
14 <description>
15 The parent POM for Weld, specifying the build parameters
16 </description>
17
18 <licenses>
19 <license>
20 <name>Apache License, Version 2.0</name>
21 <url>http://www.apache.org/licenses/LICENSE-2.0</url>
22 </license>
23 </licenses>
24
25 <developers>
26 <developer>
27 <name>Weld committers</name>
28 </developer>
29 </developers>
30
31 <organization>
32 <name>Seam Framework</name>
33 <url>http://seamframework.org</url>
34 </organization>
35
36 <pluginRepositories>
37 <pluginRepository>
38 <id>twdata-m2-repository.googlecode.com</id>
39 <url>http://twdata-m2-repository.googlecode.com/svn</url>
40 <releases>
41 <enabled>true</enabled>
42 </releases>
43 <snapshots>
44 <enabled>false</enabled>
45 </snapshots>
46 </pluginRepository>
47 <pluginRepository>
48 <id>repository.jboss.org</id>
49 <url>http://repository.jboss.org/maven2</url>
50 <releases>
51 <enabled>true</enabled>
52 </releases>
53 <snapshots>
54 <enabled>false</enabled>
55 </snapshots>
56 </pluginRepository>
57 </pluginRepositories>
58
59 <repositories>
60 <repository>
61 <id>oss.sonatype.org/jboss-snapshots</id>
62 <name>JBoss (Nexus) Snapshots Repository</name>
63 <url>http://oss.sonatype.org/content/repositories/jboss-snapshots</url>
64 <releases>
65 <enabled>false</enabled>
66 </releases>
67 <snapshots>
68 <enabled>true</enabled>
69 <updatePolicy>never</updatePolicy>
70 </snapshots>
71 </repository>
72 </repositories>
73
74 <properties>
75 <!-- Force encoding to UTF-8 (bug on OS X) -->
76 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
77 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
78 <weld.docbook.version>1.1.1-Beta3</weld.docbook.version>
79 <seam.docbook.version>1.1.0.GA</seam.docbook.version>
80 <jbossorg.docbook.version>1.1.0</jbossorg.docbook.version>
81 </properties>
82
83 <!-- Configure the build -->
84 <build>
85 <plugins>
86 <plugin>
87 <groupId>org.apache.maven.plugins</groupId>
88 <artifactId>maven-source-plugin</artifactId>
89 <executions>
90 <execution>
91 <id>attach-sources</id>
92 <goals>
93 <goal>jar</goal>
94 </goals>
95 </execution>
96 </executions>
97 </plugin>
98 <plugin>
99 <groupId>org.apache.maven.plugins</groupId>
100 <artifactId>maven-enforcer-plugin</artifactId>
101 </plugin>
102 <plugin>
103 <groupId>org.codehaus.mojo</groupId>
104 <artifactId>build-helper-maven-plugin</artifactId>
105 </plugin>
106 <plugin>
107 <groupId>org.codehaus.mojo</groupId>
108 <artifactId>buildnumber-maven-plugin</artifactId>
109 </plugin>
110 </plugins>
111 <defaultGoal>package</defaultGoal>
112
113 <!-- Configure all plugins, including versions to use in the build -->
114 <pluginManagement>
115 <plugins>
116 <plugin>
117 <groupId>ch.qos.cal10n.plugins</groupId>
118 <artifactId>maven-cal10n-plugin</artifactId>
119 <version>0.7</version>
120 </plugin>
121 <plugin>
122 <groupId>org.jboss.maven.plugins</groupId>
123 <artifactId>maven-jdocbook-plugin</artifactId>
124 <version>2.2.0</version>
125 <extensions>true</extensions>
126 <dependencies>
127 <dependency>
128 <groupId>org.jboss.weld</groupId>
129 <artifactId>weld-docbook-xslt</artifactId>
130 <version>${weld.docbook.version}</version>
131 </dependency>
132 <dependency>
133 <groupId>org.jboss.seam</groupId>
134 <artifactId>seam-docbook-xslt</artifactId>
135 <version>${seam.docbook.version}</version>
136 </dependency>
137 <dependency>
138 <groupId>org.jboss.seam</groupId>
139 <artifactId>seam-jdocbook-style</artifactId>
140 <version>${seam.docbook.version}</version>
141 <type>jdocbook-style</type>
142 </dependency>
143 <dependency>
144 <groupId>org.jboss</groupId>
145 <artifactId>jbossorg-jdocbook-style</artifactId>
146 <version>${jbossorg.docbook.version}</version>
147 <type>jdocbook-style</type>
148 </dependency>
149 </dependencies>
150 <configuration>
151 <sourceDirectory>${pom.basedir}</sourceDirectory>
152 <sourceDocumentName>master.xml</sourceDocumentName>
153 <masterTranslation>en-US</masterTranslation>
154 <imageResource>
155 <directory>${pom.basedir}/en-US</directory>
156 <includes>
157 <include>images/*.png</include>
158 </includes>
159 </imageResource>
160 <formats>
161 <format>
162 <formatName>pdf</formatName>
163 <stylesheetResource>classpath:/xslt/org/jboss/weld/pdf.xsl</stylesheetResource>
164 <finalName>${pdf.name}</finalName>
165 </format>
166 <format>
167 <formatName>html</formatName>
168 <stylesheetResource>classpath:/xslt/org/jboss/weld/xhtml.xsl</stylesheetResource>
169 <finalName>index.html</finalName>
170 </format>
171 <format>
172 <formatName>html_single</formatName>
173 <stylesheetResource>classpath:/xslt/org/jboss/weld/xhtml-single.xsl</stylesheetResource>
174 <finalName>index.html</finalName>
175 </format>
176 </formats>
177 <options>
178 <xincludeSupported>true</xincludeSupported>
179 <xmlTransformerType>saxon</xmlTransformerType>
180 <docbookVersion>1.72.0</docbookVersion>
181 <localeSeparator>-</localeSeparator>
182 </options>
183 </configuration>
184 </plugin>
185 <plugin>
186 <groupId>org.apache.maven.plugins</groupId>
187 <artifactId>maven-antrun-plugin</artifactId>
188 <version>1.3</version>
189 </plugin>
190 <plugin>
191 <groupId>org.apache.maven.plugins</groupId>
192 <artifactId>maven-release-plugin</artifactId>
193 <configuration>
194 <arguments>-Drelease </arguments>
195 <autoVersionSubmodules>true</autoVersionSubmodules>
196 </configuration>
197 <version>2.0-beta-9</version>
198 </plugin>
199 <plugin>
200 <groupId>org.apache.maven.plugins</groupId>
201 <artifactId>maven-surefire-report-plugin</artifactId>
202 <version>2.4.3</version>
203 </plugin>
204 <plugin>
205 <groupId>org.apache.maven.plugins</groupId>
206 <artifactId>maven-surefire-plugin</artifactId>
207 <version>2.4.3</version>
208 </plugin>
209 <plugin>
210 <groupId>org.apache.maven.plugins</groupId>
211 <artifactId>maven-clean-plugin</artifactId>
212 <version>2.3</version>
213 </plugin>
214 <plugin>
215 <groupId>org.apache.maven.plugins</groupId>
216 <artifactId>maven-deploy-plugin</artifactId>
217 <version>2.4</version>
218 </plugin>
219 <plugin>
220 <groupId>org.apache.maven.plugins</groupId>
221 <artifactId>maven-assembly-plugin</artifactId>
222 <version>2.2-beta-4</version>
223 </plugin>
224 <plugin>
225 <groupId>org.apache.maven.plugins</groupId>
226 <artifactId>maven-install-plugin</artifactId>
227 <version>2.3</version>
228 </plugin>
229 <plugin>
230 <groupId>org.apache.maven.plugins</groupId>
231 <artifactId>maven-site-plugin</artifactId>
232 <version>2.0.1</version>
233 </plugin>
234 <plugin>
235 <groupId>org.apache.maven.plugins</groupId>
236 <artifactId>maven-source-plugin</artifactId>
237 <version>2.0.4</version>
238 </plugin>
239 <plugin>
240 <groupId>org.apache.maven.plugins</groupId>
241 <artifactId>maven-resources-plugin</artifactId>
242 <version>2.4.1</version>
243 </plugin>
244 <plugin>
245 <groupId>org.apache.maven.plugins</groupId>
246 <artifactId>maven-dependency-plugin</artifactId>
247 <version>2.1</version>
248 </plugin>
249 <plugin>
250 <groupId>org.apache.maven.plugins</groupId>
251 <artifactId>maven-javadoc-plugin</artifactId>
252 <version>2.4</version>
253 <configuration>
254 <keywords>true</keywords>
255 </configuration>
256 </plugin>
257 <plugin>
258 <groupId>org.apache.maven.plugins</groupId>
259 <artifactId>maven-gpg-plugin</artifactId>
260 <version>1.0-alpha-4</version>
261 </plugin>
262 <plugin>
263 <groupId>org.apache.felix</groupId>
264 <artifactId>maven-bundle-plugin</artifactId>
265 <version>2.0.0</version>
266 </plugin>
267 <plugin>
268 <groupId>org.codehaus.mojo</groupId>
269 <artifactId>exec-maven-plugin</artifactId>
270 <version>1.1.1</version>
271 </plugin>
272 <plugin>
273 <groupId>org.apache.maven.plugins</groupId>
274 <artifactId>maven-enforcer-plugin</artifactId>
275 <version>1.0-beta-1</version>
276 <executions>
277 <execution>
278 <id>enforce</id>
279 <goals>
280 <goal>enforce</goal>
281 </goals>
282 <configuration>
283 <rules>
284 <requireMavenVersion>
285 <version>2.0.10</version>
286 </requireMavenVersion>
287 <requirePluginVersions>
288 <unCheckedPlugins>
289 <unCheckedPlugin>org.apache.maven.plugins:maven-eclipse-plugin</unCheckedPlugin>
290 </unCheckedPlugins>
291 </requirePluginVersions>
292 </rules>
293 </configuration>
294 </execution>
295 </executions>
296 </plugin>
297 <plugin>
298 <groupId>org.apache.maven.plugins</groupId>
299 <artifactId>maven-shade-plugin</artifactId>
300 <version>1.2.1</version>
301 </plugin>
302 <plugin>
303 <groupId>org.apache.maven.plugins</groupId>
304 <artifactId>maven-compiler-plugin</artifactId>
305 <version>2.0.2</version>
306 <configuration>
307 <source>1.5</source>
308 <target>1.5</target>
309 </configuration>
310 </plugin>
311 <plugin>
312 <groupId>org.apache.maven.plugins</groupId>
313 <artifactId>maven-jar-plugin</artifactId>
314 <version>2.2</version>
315 <configuration>
316 <archive>
317 <manifestEntries>
318 <Implementation-URL>${pom.url}</Implementation-URL>
319 <Implementation-Title>${pom.name}</Implementation-Title>
320 <Implementation-Version>${parsedVersion.osgiVersion}</Implementation-Version>
321 <Implementation-Vendor>${pom.organization.name}</Implementation-Vendor>
322 <Specification-Title>${pom.name}</Specification-Title>
323 <Specification-Version>${parsedVersion.osgiVersion}</Specification-Version>
324 <Specification-Vendor>${pom.organization.name}</Specification-Vendor>
325 </manifestEntries>
326 <manifestSections>
327 <manifestSection>
328 <name>Build-Information</name>
329 <manifestEntries>
330 <Maven-Version>${maven.version}</Maven-Version>
331 <Java-Version>${java.version}</Java-Version>
332 <Java-Vendor>${java.vendor}</Java-Vendor>
333 <Os-Name>${os.name}</Os-Name>
334 <Os-Arch>${os.arch}</Os-Arch>
335 <Os-Version>${os.version}</Os-Version>
336 <SCM>r${buildNumber}</SCM>
337 <Build-Time>${timestamp}</Build-Time>
338 </manifestEntries>
339 </manifestSection>
340 </manifestSections>
341 </archive>
342 </configuration>
343 </plugin>
344 <plugin>
345 <groupId>org.codehaus.mojo</groupId>
346 <artifactId>build-helper-maven-plugin</artifactId>
347 <version>1.4</version>
348 <executions>
349 <execution>
350 <phase>validate</phase>
351 <goals>
352 <goal>maven-version</goal>
353 <goal>parse-version</goal>
354 </goals>
355 </execution>
356 </executions>
357 </plugin>
358 <plugin>
359 <groupId>org.apache.maven.plugins</groupId>
360 <artifactId>maven-eclipse-plugin</artifactId>
361 <configuration>
362 <classpathContainers>
363 <classpathContainer>org.eclipse.jdt.launching.JRE_CONTAINER</classpathContainer>
364 </classpathContainers>
365 </configuration>
366 </plugin>
367 <plugin>
368 <groupId>org.codehaus.mojo</groupId>
369 <artifactId>buildnumber-maven-plugin</artifactId>
370 <version>1.0-beta-3</version>
371 <executions>
372 <execution>
373 <id>set-build-properties</id>
374 <goals>
375 <goal>create</goal>
376 </goals>
377 <phase>validate</phase>
378 <configuration>
379 <getRevisionOnlyOnce>true</getRevisionOnlyOnce>
380 <revisionOnScmFailure>unavailable</revisionOnScmFailure>
381 <timestampFormat>{0, date, long} {0, time, long}</timestampFormat>
382 </configuration>
383 </execution>
384 </executions>
385 <inherited>true</inherited>
386 </plugin>
387 <plugin>
388 <groupId>org.twdata.maven</groupId>
389 <artifactId>maven-cli-plugin</artifactId>
390 <version>0.6.9</version>
391 </plugin>
392 <plugin>
393 <groupId>org.codehaus.mojo</groupId>
394 <artifactId>tomcat-maven-plugin</artifactId>
395 <version>1.0-beta-1</version>
396 </plugin>
397 <plugin>
398 <groupId>org.apache.maven.plugins</groupId>
399 <artifactId>maven-war-plugin</artifactId>
400 <version>2.1-beta-1</version>
401 </plugin>
402 <plugin>
403 <groupId>org.apache.maven.plugins</groupId>
404 <artifactId>maven-ejb-plugin</artifactId>
405 <version>2.2</version>
406 </plugin>
407 <plugin>
408 <groupId>org.apache.maven.plugins</groupId>
409 <artifactId>maven-ear-plugin</artifactId>
410 <version>2.3.2</version>
411 </plugin>
412 <plugin>
413 <groupId>org.mortbay.jetty</groupId>
414 <artifactId>maven-jetty-plugin</artifactId>
415 <version>6.1.21</version>
416 </plugin>
417 <plugin>
418 <groupId>com.pyx4j</groupId>
419 <artifactId>maven-junction-plugin</artifactId>
420 <version>1.0.3</version>
421 </plugin>
422 <plugin>
423 <groupId>org.sonatype.plugins</groupId>
424 <artifactId>nexus-maven-plugin</artifactId>
425 <version>1.3.2</version>
426 <configuration>
427 <nexusUrl>http://oss.sonatype.org</nexusUrl>
428 <serverAuthId>oss.sonatype.org/jboss-staging</serverAuthId>
429 </configuration>
430 </plugin>
431 </plugins>
432 </pluginManagement>
433 </build>
434
435 <profiles>
436 <!-- The release profile -->
437 <profile>
438 <id>release</id>
439 <activation>
440 <property>
441 <name>release</name>
442 </property>
443 </activation>
444 <build>
445 <plugins>
446 <plugin>
447 <groupId>org.apache.maven.plugins</groupId>
448 <artifactId>maven-gpg-plugin</artifactId>
449 <configuration>
450 <passphrase>${gpg.passphrase}</passphrase>
451 <useAgent>${gpg.useAgent}</useAgent>
452 </configuration>
453 <executions>
454 <execution>
455 <id>sign-artifacts</id>
456 <phase>verify</phase>
457 <goals>
458 <goal>sign</goal>
459 </goals>
460 </execution>
461 </executions>
462 </plugin>
463 <plugin>
464 <groupId>org.sonatype.plugins</groupId>
465 <artifactId>nexus-maven-plugin</artifactId>
466 <configuration>
467 <auto>true</auto>
468 <description>[nexus-maven-plugin] closing repository after release:perform</description>
469 </configuration>
470 </plugin>
471 <plugin>
472 <groupId>org.codehaus.mojo</groupId>
473 <artifactId>buildnumber-maven-plugin</artifactId>
474 <executions>
475 <execution>
476 <id>validate-scm</id>
477 <goals>
478 <goal>create</goal>
479 </goals>
480 <phase>validate</phase>
481 <configuration>
482 <doUpdate>true</doUpdate>
483 <doCheck>true</doCheck>
484 </configuration>
485 </execution>
486 </executions>
487 <inherited>true</inherited>
488 </plugin>
489 </plugins>
490 </build>
491 </profile>
492 </profiles>
493
494 <!-- SCM and Distribution Management -->
495
496 <scm>
497 <connection>scm:svn:http://anonsvn.jboss.org/repos/weld/build/tags/weld-parent-6</connection>
498 <developerConnection>scm:svn:https://svn.jboss.org/repos/weld/build/tags/weld-parent-6</developerConnection>
499 <url>http://fisheye.jboss.org/browse/Weld/build/tags/weld-parent-6</url>
500 </scm>
501
502 <distributionManagement>
503 <repository>
504 <id>oss.sonatype.org/jboss-staging</id>
505 <name>Sonatype Nexus Maven Repository</name>
506 <url>http://oss.sonatype.org/service/local/staging/deploy/maven2</url>
507 </repository>
508 <snapshotRepository>
509 <id>oss.sonatype.org/jboss-snapshots</id>
510 <name>Sonatype Nexus Snapshot Repository</name>
511 <url>http://oss.sonatype.org/content/repositories/jboss-snapshots</url>
512 </snapshotRepository>
513 </distributionManagement>
514
515</project>