Skip to content
Newer
Older
100644 349 lines (313 sloc) 10.4 KB
2d38098 @ALRubinger [EMB-32] Start to move out Virtual Archives into a new repo/project l…
ALRubinger authored
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 vi:ts=2:sw=2:expandtab:
4 -->
ead177b @ALRubinger [maven-release-plugin] prepare release 1.0.0-alpha-13
ALRubinger authored
5 <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">
2d38098 @ALRubinger [EMB-32] Start to move out Virtual Archives into a new repo/project l…
ALRubinger authored
6
7 <!-- Parent -->
8 <parent>
9 <groupId>org.jboss</groupId>
10 <artifactId>jboss-parent</artifactId>
45b7d53 @ALRubinger [SHRINKWRAP-155] Update the aggregator POM parent
ALRubinger authored
11 <version>5</version>
2d38098 @ALRubinger [EMB-32] Start to move out Virtual Archives into a new repo/project l…
ALRubinger authored
12 </parent>
13
14 <!-- Model Information -->
15 <modelVersion>4.0.0</modelVersion>
3c5501e @ALRubinger [SHRINKWRAP-77] Rename the distribution
ALRubinger authored
16
17 <!-- Artifact Information -->
18 <groupId>org.jboss.shrinkwrap</groupId>
19 <artifactId>shrinkwrap-parent</artifactId>
0c5ea00 @ALRubinger [maven-release-plugin] prepare for next development iteration
ALRubinger authored
20 <version>1.0.0-cr-2-SNAPSHOT</version>
3c5501e @ALRubinger [SHRINKWRAP-77] Rename the distribution
ALRubinger authored
21 <packaging>pom</packaging>
946e08a @ALRubinger [SHRINKWRAP-262] Restructure the build/dist setup to unify the POM pa…
ALRubinger authored
22 <name>ShrinkWrap Aggregator and Build Parent</name>
3c5501e @ALRubinger [SHRINKWRAP-77] Rename the distribution
ALRubinger authored
23 <url>http://www.jboss.org</url>
24 <description>ShrinkWrap Aggregator</description>
946e08a @ALRubinger [SHRINKWRAP-262] Restructure the build/dist setup to unify the POM pa…
ALRubinger authored
25
26 <!-- Properties -->
27 <properties>
28
29 <!-- Versioning -->
30 <version.junit_junit>4.8.2</version.junit_junit>
0eb05c9 @ALRubinger [SHRINKWRAP-262] Configure Site Plugin to work w/ Maven3, attach Java…
ALRubinger authored
31 <version.org.apache.maven.plugins_maven-site-plugin>3.0-beta-3</version.org.apache.maven.plugins_maven-site-plugin>
946e08a @ALRubinger [SHRINKWRAP-262] Restructure the build/dist setup to unify the POM pa…
ALRubinger authored
32
33 </properties>
34
35 <!-- SCM -->
36 <scm>
37 <connection>scm:git:git://github.com/shrinkwrap/shrinkwrap.git</connection>
38 <developerConnection>scm:git:git@github.com:shrinkwrap/shrinkwrap.git</developerConnection>
39 <url>https://github.com/shrinkwrap/shrinkwrap</url>
40 </scm>
41
42 <!-- Issues -->
43 <issueManagement>
44 <system>jira</system>
45 <url>http://jira.jboss.com/jira/browse/SHRINKWRAP</url>
46 </issueManagement>
47
48 <!-- Licenses -->
49 <licenses>
50 <license>
51 <name>Apache License, Version 2.0</name>
52 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
53 </license>
54 </licenses>
2d38098 @ALRubinger [EMB-32] Start to move out Virtual Archives into a new repo/project l…
ALRubinger authored
55
566edd4 @ALRubinger [SHRINKWRAP-77] Create a distribution for releases. Effectively remov…
ALRubinger authored
56 <!-- Plugin Configuration -->
57 <build>
946e08a @ALRubinger [SHRINKWRAP-262] Restructure the build/dist setup to unify the POM pa…
ALRubinger authored
58
59 <!-- Plugin Management -->
60 <pluginManagement>
61 <plugins>
d042f57 @ALRubinger [SHRINKWRAP-297] Apply Checkstyle rules and mass-format the tree
ALRubinger authored
62
63 <plugin>
64 <groupId>org.apache.maven.plugins</groupId>
65 <artifactId>maven-checkstyle-plugin</artifactId>
66 <version>2.6</version>
67 <configuration>
68 <configLocation>code-style/checkstyle.xml</configLocation>
69 <logViolationsToConsole>true</logViolationsToConsole>
70 <violationSeverity>error</violationSeverity>
71 </configuration>
72 <executions>
73 <execution>
74 <id>checkstyle-report</id>
75 <phase>compile</phase>
76 <goals>
77 <goal>check</goal>
78 </goals>
79 </execution>
80 </executions>
81 <dependencies>
82 <dependency>
83 <groupId>org.jboss.shrinkwrap</groupId>
84 <artifactId>shrinkwrap-build-resources</artifactId>
85 <version>${project.version}</version>
86 </dependency>
87 </dependencies>
88 </plugin>
89
946e08a @ALRubinger [SHRINKWRAP-262] Restructure the build/dist setup to unify the POM pa…
ALRubinger authored
90 <plugin>
91 <artifactId>maven-assembly-plugin</artifactId>
92 <version>2.2.1</version>
93 <configuration>
94 <finalName>shrinkwrap-${project.version}</finalName>
95 <descriptors>
96 <descriptor>dist.xml</descriptor>
97 </descriptors>
98 </configuration>
99 </plugin>
0eb05c9 @ALRubinger [SHRINKWRAP-262] Configure Site Plugin to work w/ Maven3, attach Java…
ALRubinger authored
100
101 <plugin>
102 <groupId>org.apache.maven.plugins</groupId>
103 <artifactId>maven-site-plugin</artifactId>
104 <version>${version.org.apache.maven.plugins_maven-site-plugin}</version>
105 </plugin>
106
680a1a3 @ALRubinger [SHRINKWRAP-297] Correct the m2e config so that Eclipse does not thro…
ALRubinger authored
107 <!-- So m2e doesn't throw errors for features it doesn't support in the
108 POM -->
109 <plugin>
110 <groupId>org.eclipse.m2e</groupId>
111 <artifactId>lifecycle-mapping</artifactId>
112 <version>1.0.0</version>
113 <configuration>
114 <lifecycleMappingMetadata>
115 <pluginExecutions>
116 <pluginExecution>
117 <pluginExecutionFilter>
118 <groupId>org.apache.maven.plugins</groupId>
119 <artifactId>maven-checkstyle-plugin</artifactId>
120 <versionRange>[1.0.0,)</versionRange>
121 <goals>
122 <goal>check</goal>
123 </goals>
124 </pluginExecutionFilter>
125 <action>
126 <execute />
127 </action>
128 </pluginExecution>
129 </pluginExecutions>
130 </lifecycleMappingMetadata>
131 </configuration>
132 </plugin>
133
946e08a @ALRubinger [SHRINKWRAP-262] Restructure the build/dist setup to unify the POM pa…
ALRubinger authored
134 </plugins>
135 </pluginManagement>
136
566edd4 @ALRubinger [SHRINKWRAP-77] Create a distribution for releases. Effectively remov…
ALRubinger authored
137 <plugins>
3c5501e @ALRubinger [SHRINKWRAP-77] Rename the distribution
ALRubinger authored
138
d05502b @ALRubinger [SHRINKWRAP-281] Configure release plugin
ALRubinger authored
139 <!-- Release -->
140 <plugin>
141 <artifactId>maven-release-plugin</artifactId>
142 <version>2.0</version>
143 <configuration>
144 <autoVersionSubmodules>true</autoVersionSubmodules>
145 </configuration>
946e08a @ALRubinger [SHRINKWRAP-262] Restructure the build/dist setup to unify the POM pa…
ALRubinger authored
146 </plugin>
147
148 <!-- Compiler -->
149 <plugin>
150 <artifactId>maven-compiler-plugin</artifactId>
151 <inherited>true</inherited>
566edd4 @ALRubinger [SHRINKWRAP-77] Create a distribution for releases. Effectively remov…
ALRubinger authored
152 <configuration>
7c9a4e7 @kpiwko SHRINKWRAP-273 Fixed the way how to set Java 5 compiler
kpiwko authored
153 <source>1.6</source>
154 <target>1.6</target>
946e08a @ALRubinger [SHRINKWRAP-262] Restructure the build/dist setup to unify the POM pa…
ALRubinger authored
155 <showDeprecation>false</showDeprecation>
156 <showWarnings>true</showWarnings>
157 <optimize>true</optimize>
158 <compilerVersion>1.6</compilerVersion>
159 <fork>true</fork>
7c9a4e7 @kpiwko SHRINKWRAP-273 Fixed the way how to set Java 5 compiler
kpiwko authored
160 <compilerArguments>
161 <source>1.5</source>
162 <target>1.5</target>
163 </compilerArguments>
946e08a @ALRubinger [SHRINKWRAP-262] Restructure the build/dist setup to unify the POM pa…
ALRubinger authored
164 <argLine>-Xmx512M</argLine>
165 <executable>${JAVA_HOME}/bin/javac</executable>
566edd4 @ALRubinger [SHRINKWRAP-77] Create a distribution for releases. Effectively remov…
ALRubinger authored
166 </configuration>
167 </plugin>
3c5501e @ALRubinger [SHRINKWRAP-77] Rename the distribution
ALRubinger authored
168
946e08a @ALRubinger [SHRINKWRAP-262] Restructure the build/dist setup to unify the POM pa…
ALRubinger authored
169 <!-- Surefire -->
170 <plugin>
171 <artifactId>maven-surefire-plugin</artifactId>
172 <configuration>
173 <redirectTestOutputToFile>true</redirectTestOutputToFile>
174 <trimStackTrace>false</trimStackTrace>
175 <printSummary>true</printSummary>
176 <includes>
177 <include>**/*TestCase.java</include>
178 <include>**/*TestSuite.java</include>
179 </includes>
180 <forkMode>always</forkMode>
181 </configuration>
182 </plugin>
183
184 <!-- Enforce Maven Environment -->
566edd4 @ALRubinger [SHRINKWRAP-77] Create a distribution for releases. Effectively remov…
ALRubinger authored
185 <plugin>
946e08a @ALRubinger [SHRINKWRAP-262] Restructure the build/dist setup to unify the POM pa…
ALRubinger authored
186 <artifactId>maven-enforcer-plugin
187 </artifactId>
566edd4 @ALRubinger [SHRINKWRAP-77] Create a distribution for releases. Effectively remov…
ALRubinger authored
188 <executions>
189 <execution>
946e08a @ALRubinger [SHRINKWRAP-262] Restructure the build/dist setup to unify the POM pa…
ALRubinger authored
190 <id>enforce-maven-environment</id>
566edd4 @ALRubinger [SHRINKWRAP-77] Create a distribution for releases. Effectively remov…
ALRubinger authored
191 <goals>
946e08a @ALRubinger [SHRINKWRAP-262] Restructure the build/dist setup to unify the POM pa…
ALRubinger authored
192 <goal>enforce</goal>
566edd4 @ALRubinger [SHRINKWRAP-77] Create a distribution for releases. Effectively remov…
ALRubinger authored
193 </goals>
194 </execution>
195 </executions>
196 <configuration>
946e08a @ALRubinger [SHRINKWRAP-262] Restructure the build/dist setup to unify the POM pa…
ALRubinger authored
197 <rules>
198 <requireMavenVersion>
199 <version>[2.2.0,)</version>
200 <!--
201 Must be more that 2.2 to support
202 Assembly "includeModuleDirectory":
203 http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html
204 -->
205 </requireMavenVersion>
206 <requireJavaVersion>
207 <version>1.6.0</version> <!-- Must be JDK6 -->
208 </requireJavaVersion>
209 <requireProperty>
210 <property>env.JAVA_HOME</property>
211 <message>"JAVA_HOME needs to be set to compile"</message>
212 </requireProperty>
213 <requireProperty>
214 <property>env.JAVA5_HOME</property>
215 <message>"JAVA5_HOME needs to be set to run some tests in the JRE5 runtime"</message>
216 </requireProperty>
217 </rules>
566edd4 @ALRubinger [SHRINKWRAP-77] Create a distribution for releases. Effectively remov…
ALRubinger authored
218 </configuration>
219 </plugin>
a80a1b2 @ALRubinger [SHRINKWRAP-352] Configure m2e to ignore Checkstyle on all dependent …
ALRubinger authored
220
221 <!-- m2e Config -->
222 <plugin>
223 <groupId>org.eclipse.m2e</groupId>
224 <artifactId>lifecycle-mapping</artifactId>
225 </plugin>
3c5501e @ALRubinger [SHRINKWRAP-77] Rename the distribution
ALRubinger authored
226
566edd4 @ALRubinger [SHRINKWRAP-77] Create a distribution for releases. Effectively remov…
ALRubinger authored
227 </plugins>
228 </build>
946e08a @ALRubinger [SHRINKWRAP-262] Restructure the build/dist setup to unify the POM pa…
ALRubinger authored
229
230 <!-- Dependency Management -->
231 <dependencyManagement>
232 <dependencies>
233
234 <dependency>
235 <groupId>junit</groupId>
236 <artifactId>junit</artifactId>
237 <version>${version.junit_junit}</version>
238 <scope>test</scope>
239 </dependency>
240
241 </dependencies>
242 </dependencyManagement>
566edd4 @ALRubinger [SHRINKWRAP-77] Create a distribution for releases. Effectively remov…
ALRubinger authored
243
2d38098 @ALRubinger [EMB-32] Start to move out Virtual Archives into a new repo/project l…
ALRubinger authored
244 <!-- Aggregate Modules -->
245 <modules>
246 <module>api</module>
d042f57 @ALRubinger [SHRINKWRAP-297] Apply Checkstyle rules and mass-format the tree
ALRubinger authored
247 <module>build-resources</module>
946e08a @ALRubinger [SHRINKWRAP-262] Restructure the build/dist setup to unify the POM pa…
ALRubinger authored
248 <module>dist</module>
2d38098 @ALRubinger [EMB-32] Start to move out Virtual Archives into a new repo/project l…
ALRubinger authored
249 <module>impl-base</module>
61fd15a @ALRubinger [TMPARCH-4] Create an SPI project for TMPARCH
ALRubinger authored
250 <module>spi</module>
2d38098 @ALRubinger [EMB-32] Start to move out Virtual Archives into a new repo/project l…
ALRubinger authored
251 </modules>
79901e1 @ALRubinger [SHRINKWRAP-170] Configure the user repositories to build without any…
ALRubinger authored
252
946e08a @ALRubinger [SHRINKWRAP-262] Restructure the build/dist setup to unify the POM pa…
ALRubinger authored
253 <!-- Reporting -->
254 <reporting>
255 <plugins>
256
257 <!-- Cobertura (Code Coverage) -->
258 <plugin>
259 <groupId>org.codehaus.mojo</groupId>
260 <artifactId>cobertura-maven-plugin</artifactId>
261 <version>2.3</version>
262 <configuration>
263 <formats>
264 <format>html</format>
265 <format>xml</format>
266 </formats>
267 </configuration>
268 </plugin>
269
270 <!-- FindBugs -->
271 <plugin>
272 <groupId>org.codehaus.mojo</groupId>
273 <artifactId>findbugs-maven-plugin</artifactId>
274 <version>2.3.1</version>
275 <configuration>
276 <xmlOutput>true</xmlOutput>
277 <findbugsXmlOutputDirectory>target/site</findbugsXmlOutputDirectory>
278 </configuration>
279 </plugin>
280
281 <!-- SHRINKWRAP-157 Workaround -->
282 <plugin>
283 <groupId>org.apache.maven.plugins</groupId>
284 <artifactId>maven-project-info-reports-plugin</artifactId>
285 <reportSets>
286 <reportSet>
287 <reports>
288 <report>project-team</report>
289 <report>mailing-list</report>
290 <report>cim</report>
291 <report>issue-tracking</report>
292 <report>license</report>
293 <report>scm</report>
294 </reports>
295 </reportSet>
296 </reportSets>
297 </plugin>
298
299 </plugins>
300 </reporting>
301
79901e1 @ALRubinger [SHRINKWRAP-170] Configure the user repositories to build without any…
ALRubinger authored
302 <repositories>
303 <repository>
304 <id>jboss-public-repository</id>
305 <name>JBoss Repository</name>
946e08a @ALRubinger [SHRINKWRAP-262] Restructure the build/dist setup to unify the POM pa…
ALRubinger authored
306 <url> https://repository.jboss.org/nexus/content/groups/public</url>
79901e1 @ALRubinger [SHRINKWRAP-170] Configure the user repositories to build without any…
ALRubinger authored
307 <releases>
308 <enabled>true</enabled>
309 <updatePolicy>never</updatePolicy>
310 </releases>
311 <snapshots>
312 <enabled>true</enabled>
313 <updatePolicy>never</updatePolicy>
314 </snapshots>
315 </repository>
46ef857 @ALRubinger [SHRINKWRAP-319] Add jboss-deprecated to default config
ALRubinger authored
316 <repository>
317 <id>jboss-deprecated-repository</id>
318 <name>JBoss Deprecated Maven Repository</name>
319 <url>https://repository.jboss.org/nexus/content/repositories/deprecated/</url>
320 <layout>default</layout>
321 <releases>
322 <enabled>true</enabled>
323 <updatePolicy>never</updatePolicy>
324 </releases>
325 <snapshots>
326 <enabled>false</enabled>
327 <updatePolicy>never</updatePolicy>
328 </snapshots>
329 </repository>
79901e1 @ALRubinger [SHRINKWRAP-170] Configure the user repositories to build without any…
ALRubinger authored
330 </repositories>
331
332 <pluginRepositories>
333 <pluginRepository>
334 <id>jboss-public-repository</id>
335 <name>JBoss Repository</name>
946e08a @ALRubinger [SHRINKWRAP-262] Restructure the build/dist setup to unify the POM pa…
ALRubinger authored
336 <url> https://repository.jboss.org/nexus/content/groups/public</url>
79901e1 @ALRubinger [SHRINKWRAP-170] Configure the user repositories to build without any…
ALRubinger authored
337 <releases>
338 <enabled>true</enabled>
339 <updatePolicy>never</updatePolicy>
340 </releases>
341 <snapshots>
342 <enabled>true</enabled>
343 <updatePolicy>never</updatePolicy>
344 </snapshots>
345 </pluginRepository>
346 </pluginRepositories>
2d38098 @ALRubinger [EMB-32] Start to move out Virtual Archives into a new repo/project l…
ALRubinger authored
347
348 </project>
Something went wrong with that request. Please try again.