ARTEMIS-1731 Support offline validation
[activemq-artemis.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Licensed to the Apache Software Foundation (ASF) under one or more
4 contributor license agreements. See the NOTICE file distributed with
5 this work for additional information regarding copyright ownership.
6 The ASF licenses this file to You under the Apache License, Version 2.0
7 (the "License"); you may not use this file except in compliance with
8 the License. You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12 Unless required by applicable law or agreed to in writing, software
13 distributed under the License is distributed on an "AS IS" BASIS,
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 See the License for the specific language governing permissions and
16 limitations under the License.
17 -->
18 <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">
19 <modelVersion>4.0.0</modelVersion>
20 <groupId>org.apache.activemq</groupId>
21 <artifactId>artemis-pom</artifactId>
22 <packaging>pom</packaging>
23 <version>2.5.0-SNAPSHOT</version>
24
25 <parent>
26 <groupId>org.apache</groupId>
27 <artifactId>apache</artifactId>
28 <version>18</version>
29 <relativePath>org.apache:apache</relativePath>
30 </parent>
31
32 <modules>
33 <module>artemis-protocols</module>
34 <module>artemis-dto</module>
35 <module>artemis-cdi-client</module>
36 <module>artemis-boot</module>
37 <module>artemis-web</module>
38 <module>artemis-website</module>
39 <module>artemis-cli</module>
40 <module>artemis-commons</module>
41 <module>artemis-selector</module>
42 <module>artemis-core-client</module>
43 <module>artemis-core-client-all</module>
44 <module>artemis-core-client-osgi</module>
45 <module>artemis-server</module>
46 <module>artemis-junit</module>
47 <module>artemis-jms-client</module>
48 <module>artemis-jms-client-all</module>
49 <module>artemis-jms-client-osgi</module>
50 <module>artemis-jms-server</module>
51 <module>artemis-native</module>
52 <module>artemis-journal</module>
53 <module>artemis-ra</module>
54 <module>artemis-rest</module>
55 <module>artemis-service-extensions</module>
56 <module>artemis-jdbc-store</module>
57 <module>artemis-maven-plugin</module>
58 <module>artemis-server-osgi</module>
59 <module>artemis-hawtio</module>
60 <module>integration/activemq-spring-integration</module>
61 <module>artemis-distribution</module>
62 <module>artemis-tools</module>
63 <module>tests</module>
64 <module>artemis-features</module>
65 </modules>
66
67 <name>ActiveMQ Artemis Parent</name>
68 <url>http://apache.org/activemq</url>
69
70 <prerequisites>
71 <maven>3.1.0</maven>
72 </prerequisites>
73
74 <properties>
75 <!-- base url for site deployment. See distribution management for full url. Override this in settings.xml for staging -->
76 <staging.siteURL>scp://people.apache.org/x1/www/activemq.apache.org</staging.siteURL>
77
78 <karaf.version>4.0.6</karaf.version>
79 <pax.exam.version>4.9.1</pax.exam.version>
80 <commons.config.version>2.1</commons.config.version>
81 <commons.lang.version>3.0</commons.lang.version>
82 <activemq5-version>5.14.5</activemq5-version>
83 <apache.derby.version>10.11.1.1</apache.derby.version>
84 <commons.beanutils.version>1.9.3</commons.beanutils.version>
85 <org.hdrhistogram.version>2.1.10</org.hdrhistogram.version>
86 <commons.collections.version>3.2.2</commons.collections.version>
87 <fuse.mqtt.client.version>1.14</fuse.mqtt.client.version>
88 <guava.version>19.0</guava.version>
89 <jboss.logging.version>3.3.1.Final</jboss.logging.version>
90 <jetty.version>9.4.3.v20170317</jetty.version>
91 <jgroups.version>3.6.13.Final</jgroups.version>
92 <maven.assembly.plugin.version>2.4</maven.assembly.plugin.version>
93 <mockito.version>2.8.47</mockito.version>
94 <netty.version>4.1.22.Final</netty.version>
95 <proton.version>0.26.0</proton.version>
96 <resteasy.version>3.0.19.Final</resteasy.version>
97 <slf4j.version>1.7.21</slf4j.version>
98 <qpid.jms.version>0.30.0</qpid.jms.version>
99 <johnzon.version>0.9.5</johnzon.version>
100 <json-p.spec.version>1.0-alpha-1</json-p.spec.version>
101 <javax.inject.version>1</javax.inject.version>
102 <hawtbuff.version>1.11</hawtbuff.version>
103 <jb.logmanager.version>2.0.3.Final</jb.logmanager.version>
104 <jb.slf4j-jboss-logmanager.version>1.0.4.GA</jb.slf4j-jboss-logmanager.version>
105 <airlift.version>0.7</airlift.version>
106 <geronimo.annotation.1.1.spec.version>1.0.1</geronimo.annotation.1.1.spec.version>
107 <geronimo.ejb.3.0.spec.version>1.0.1</geronimo.ejb.3.0.spec.version>
108 <geronimo.jta.1.1.spec.version>1.1.1</geronimo.jta.1.1.spec.version>
109 <geronimo.jms.2.spec.version>1.0-alpha-2</geronimo.jms.2.spec.version>
110 <weld.version>2.4.0.Final</weld.version>
111 <arquillian-weld-embedded.version>2.0.0.Beta3</arquillian-weld-embedded.version>
112 <owb.version>1.7.0</owb.version>
113 <arquillian.version>1.1.11.Final</arquillian.version>
114 <servicemix.json-1.1.spec.version>2.9.0</servicemix.json-1.1.spec.version>
115 <version.org.jacoco>0.7.9</version.org.jacoco>
116 <version.org.jacoco.plugin>0.7.9</version.org.jacoco.plugin>
117
118 <!-- used on tests -->
119 <groovy.version>2.4.3</groovy.version>
120
121 <owasp.version>1.4.3</owasp.version>
122 <spring.version>5.0.1.RELEASE</spring.version>
123
124 <activemq.version.versionName>${project.version}</activemq.version.versionName>
125 <activemq.version.majorVersion>1</activemq.version.majorVersion>
126 <activemq.version.minorVersion>0</activemq.version.minorVersion>
127 <activemq.version.microVersion>0</activemq.version.microVersion>
128 <activemq.version.incrementingVersion>129,128,127,126,125,124,123,122</activemq.version.incrementingVersion>
129 <activemq.version.versionTag>${project.version}</activemq.version.versionTag>
130 <ActiveMQ-Version>${project.version}(${activemq.version.incrementingVersion})</ActiveMQ-Version>
131
132 <skipUnitTests>true</skipUnitTests>
133 <skipJmsTests>true</skipJmsTests>
134 <skipExtraTests>true</skipExtraTests>
135 <skipIntegrationTests>true</skipIntegrationTests>
136 <skipCompatibilityTests>true</skipCompatibilityTests>
137 <skipSmokeTests>true</skipSmokeTests>
138 <skipJoramTests>true</skipJoramTests>
139 <skipTimingTests>true</skipTimingTests>
140 <skipStressTests>true</skipStressTests>
141 <skipSoakTests>true</skipSoakTests>
142 <skipPerformanceTests>true</skipPerformanceTests>
143 <skipConcurrentTests>true</skipConcurrentTests>
144 <skipRestTests>true</skipRestTests>
145 <skipActiveMQ5Tests>true</skipActiveMQ5Tests>
146
147 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
148 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
149
150 <maven.compiler.source>1.8</maven.compiler.source>
151 <maven.compiler.target>1.8</maven.compiler.target>
152
153 <!--
154
155 note for idea users:
156 Idea picks up surefire argline by default:
157 if You don't want it, you can add -Didea.maven.surefire.disable.argLine=true to idea.vmoptions files,
158 see https://intellij-support.jetbrains.com/entries/23395793
159
160 Also see: http://youtrack.jetbrains.com/issue/IDEA-125696
161
162
163 For profiling add this line and use jmc (Java Mission Control) to evaluate the results:
164 -XX:+UnlockCommercialFeatures -XX:+FlightRecorder -XX:StartFlightRecording=delay=30s,duration=120s,filename=/tmp/myrecording.jfr
165
166 -->
167
168 <activemq-surefire-argline>-Djava.util.logging.manager=org.jboss.logmanager.LogManager
169 -Dlogging.configuration="file:${activemq.basedir}/tests/config/logging.properties"
170 -Djava.library.path="${activemq.basedir}/artemis-native/bin" -Djgroups.bind_addr=localhost -Dorg.apache.activemq.artemis.api.core.UDPBroadcastEndpointFactory.localBindAddress=localhost
171 -Djava.net.preferIPv4Stack=true -Dbasedir=${basedir}
172 </activemq-surefire-argline>
173 <activemq.basedir>${project.basedir}</activemq.basedir>
174 <skipLicenseCheck>true</skipLicenseCheck>
175 <skipStyleCheck>true</skipStyleCheck>
176 <skipOWASP>true</skipOWASP>
177
178 <javac-compiler-id>javac-with-errorprone</javac-compiler-id>
179
180 <directory-version>2.0.0-M15</directory-version>
181 <directory-jdbm2-version>2.0.0-M1</directory-jdbm2-version>
182
183 <cdi-api.version>1.2</cdi-api.version>
184 <geronimo-annotation_1.2_spec.version>1.0</geronimo-annotation_1.2_spec.version>
185
186 <netty-transport-native-epoll-classifier>linux-x86_64</netty-transport-native-epoll-classifier>
187 <netty-transport-native-kqueue-classifier>osx-x86_64</netty-transport-native-kqueue-classifier>
188
189 <!-- Ignore failed tests by default because there are "known" failures in the full test-suite.
190 This will be set to false for the "fast-tests" profile as none of those tests should fail. -->
191 <testFailureIgnore>true</testFailureIgnore>
192 </properties>
193
194 <scm>
195 <connection>scm:git:http://git-wip-us.apache.org/repos/asf/activemq-artemis.git</connection>
196 <developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/activemq-artemis.git</developerConnection>
197 <url>https://fisheye6.atlassian.com/browse/~br=master/activemq-artemis-git</url>
198 <tag>1.0.0-SNAPSHOT</tag>
199 </scm>
200
201 <distributionManagement>
202 <site>
203 <!-- this needs to match a server in your settings.xml with upload settings -->
204 <id>activemq-website</id>
205 <!-- set the staging.siteURL in your ~/.m2/settings.xml in a release or other profile -->
206 <url>${staging.siteURL}/maven/${project.version}</url>
207 <!--<url>${site-repo-url}</url>-->
208 </site>
209 <snapshotRepository>
210 <id>apache.snapshots.https</id>
211 <name>Apache Development Snapshot Repository</name>
212 <url>https://repository.apache.org/content/repositories/snapshots</url>
213 <uniqueVersion>false</uniqueVersion>
214 </snapshotRepository>
215 </distributionManagement>
216
217 <issueManagement>
218 <system>JIRA</system>
219 <url>https://issues.apache.org/jira/browse/ARTEMIS</url>
220 </issueManagement>
221 <developers>
222 <developer>
223 <name>The Apache ActiveMQ Team</name>
224 <email>dev@activemq.apache.org</email>
225 <url>http://activemq.apache.org</url>
226 <organization>Apache Software Foundation</organization>
227 <organizationUrl>http://apache.org/</organizationUrl>
228 </developer>
229 </developers>
230 <mailingLists>
231 <mailingList>
232 <name>User List</name>
233 <subscribe>users-subscribe@activemq.apache.org</subscribe>
234 <unsubscribe>users-unsubscribe@activemq.apache.org</unsubscribe>
235 <post>users@activemq.apache.org</post>
236 </mailingList>
237 <mailingList>
238 <name>Development List</name>
239 <subscribe>dev-subscribe@activemq.apache.org</subscribe>
240 <unsubscribe>dev-unsubscribe@activemq.apache.org</unsubscribe>
241 <post>dev@activemq.apache.org</post>
242 </mailingList>
243 </mailingLists>
244
245 <dependencyManagement>
246 <dependencies>
247 <!-- ## Test Dependencies ## Note: Junit is required in certain module tests. We should control versions from here. -->
248 <dependency>
249 <groupId>junit</groupId>
250 <artifactId>junit</artifactId>
251 <version>4.11</version>
252 <scope>test</scope>
253 <!-- License: CPL 1.0 -->
254 <!-- There are newer versions of the JUnit but they break our tests -->
255 </dependency>
256 <dependency>
257 <groupId>org.easymock</groupId>
258 <artifactId>easymock</artifactId>
259 <version>3.2</version>
260 <scope>test</scope>
261 </dependency>
262
263 <!-- ### For MQTT Tests && Examples -->
264 <dependency>
265 <groupId>org.fusesource.mqtt-client</groupId>
266 <artifactId>mqtt-client</artifactId>
267 <version>${fuse.mqtt.client.version}</version>
268 <!-- Apache v2.0 License -->
269 </dependency>
270 <dependency>
271 <groupId>org.apache.derby</groupId>
272 <artifactId>derby</artifactId>
273 <version>${apache.derby.version}</version>
274 <scope>test</scope>
275 </dependency>
276 <dependency>
277 <groupId>org.eclipse.paho</groupId>
278 <artifactId>mqtt-client</artifactId>
279 <version>0.4.0</version>
280 <scope>test</scope>
281 <!-- Eclipse Public License - v 1.0 -->
282 </dependency>
283
284 <dependency>
285 <groupId>org.postgresql</groupId>
286 <artifactId>postgresql</artifactId>
287 <version>9.4-1205-jdbc4</version>
288 <scope>provided</scope>
289 <!-- postgresql license -->
290 </dependency>
291
292 <dependency>
293 <groupId>commons-collections</groupId>
294 <artifactId>commons-collections-testframework</artifactId>
295 <version>${commons.collections.version}</version>
296 <!-- License: Apache 2.0 -->
297 </dependency>
298
299 <dependency>
300 <groupId>org.mockito</groupId>
301 <artifactId>mockito-core</artifactId>
302 <version>${mockito.version}</version>
303 <scope>test</scope>
304 <!-- License: MIT -->
305 </dependency>
306 <!-- ## End Test Dependencies ## -->
307
308 <!-- ### Build Time Dependencies ### -->
309 <!-- This is a build dependency of this project, but is not needed at compile or runtime by other
310 projects that depend on this project. This should be in the compiler plugin but can't because of a bug,
311 see https://issues.apache.org/jira/browse/MCOMPILER-203-->
312 <dependency>
313 <groupId>org.jboss.logging</groupId>
314 <artifactId>jboss-logging-processor</artifactId>
315 <version>2.1.0.Final</version>
316 <optional>true</optional>
317 <!-- License: LGPL-->
318 </dependency>
319 <dependency>
320 <groupId>org.jboss.logging</groupId>
321 <artifactId>jboss-logging-annotations</artifactId>
322 <version>2.1.0.Final</version>
323 <scope>provided</scope>
324 <optional>true</optional>
325 <!-- License: Apache 2.0-->
326 </dependency>
327 <!--needed to compile the logging jar-->
328 <dependency>
329 <groupId>log4j</groupId>
330 <artifactId>log4j</artifactId>
331 <version>1.2.16</version>
332 <scope>compile</scope>
333 <!-- License: Apache 2.0 -->
334 </dependency>
335 <dependency>
336 <groupId>org.springframework</groupId>
337 <artifactId>spring-core</artifactId>
338 <version>${spring.version}</version>
339 <scope>compile</scope>
340 <!-- License: Apache 2.0 -->
341 </dependency>
342 <dependency>
343 <groupId>org.springframework</groupId>
344 <artifactId>spring-beans</artifactId>
345 <version>${spring.version}</version>
346 <scope>compile</scope>
347 <!-- License: Apache 2.0 -->
348 </dependency>
349 <dependency>
350 <groupId>org.springframework</groupId>
351 <artifactId>spring-context</artifactId>
352 <version>${spring.version}</version>
353 <scope>compile</scope>
354 <!-- License: Apache 2.0 -->
355 </dependency>
356 <dependency>
357 <groupId>org.springframework</groupId>
358 <artifactId>spring-jms</artifactId>
359 <version>${spring.version}</version>
360 <scope>compile</scope>
361 <!-- License: Apache 2.0 -->
362 </dependency>
363 <!-- ### End Build Time Dependencies ### -->
364
365 <dependency>
366 <groupId>org.owasp</groupId>
367 <artifactId>dependency-check-core</artifactId>
368 <version>${owasp.version}</version>
369 <!-- License: Apache 2.0 -->
370 </dependency>
371 <dependency>
372 <groupId>org.owasp</groupId>
373 <artifactId>dependency-check-utils</artifactId>
374 <version>${owasp.version}</version>
375 <!-- License: Apache 2.0 -->
376 </dependency>
377
378 <!-- ### Run Time Dependencies: MUST NOT INCLUDE CAT X LICENSES ###-->
379 <dependency>
380 <groupId>javax.inject</groupId>
381 <artifactId>javax.inject</artifactId>
382 <version>${javax.inject.version}</version>
383 </dependency>
384 <dependency>
385 <groupId>org.fusesource.hawtbuf</groupId>
386 <artifactId>hawtbuf</artifactId>
387 <version>${hawtbuff.version}</version>
388 <!-- License: Apache 2.0 -->
389 </dependency>
390 <dependency>
391 <groupId>com.google.guava</groupId>
392 <artifactId>guava</artifactId>
393 <version>${guava.version}</version>
394 <!-- License: Apache 2.0 -->
395 </dependency>
396 <dependency>
397 <groupId>org.jboss.logging</groupId>
398 <artifactId>jboss-logging</artifactId>
399 <version>${jboss.logging.version}</version>
400 <!-- License: Apache 2.0 -->
401 </dependency>
402 <dependency>
403 <groupId>org.jboss.logmanager</groupId>
404 <artifactId>jboss-logmanager</artifactId>
405 <version>${jb.logmanager.version}</version>
406 <!-- License: Apache 2.0 -->
407 </dependency>
408 <dependency>
409 <groupId>org.jboss.slf4j</groupId>
410 <artifactId>slf4j-jboss-logmanager</artifactId>
411 <version>${jb.slf4j-jboss-logmanager.version}</version>
412 <!-- License: Apache 2.0 -->
413 </dependency>
414 <dependency>
415 <groupId>net.java.dev.javacc</groupId>
416 <artifactId>javacc</artifactId>
417 <version>4.0</version>
418 <!-- License: BSD -->
419 </dependency>
420 <dependency>
421 <groupId>org.apache.geronimo.specs</groupId>
422 <artifactId>geronimo-jms_2.0_spec</artifactId>
423 <version>${geronimo.jms.2.spec.version}</version>
424 <!-- License: Apache 2.0 -->
425 </dependency>
426
427 <dependency>
428 <groupId>commons-collections</groupId>
429 <artifactId>commons-collections</artifactId>
430 <version>${commons.collections.version}</version>
431 <!-- License: Apache 2.0 -->
432 </dependency>
433 <dependency>
434 <groupId>org.apache.commons</groupId>
435 <artifactId>commons-configuration2</artifactId>
436 <version>${commons.config.version}</version>
437 <!-- License: Apache 2.0 -->
438 </dependency>
439 <dependency>
440 <groupId>org.apache.commons</groupId>
441 <artifactId>commons-lang3</artifactId>
442 <version>${commons.lang.version}</version>
443 <!-- License: Apache 2.0 -->
444 </dependency>
445
446 <!-- End JMS Injection -->
447
448 <!-- ## Examples Dependencies ## -->
449 <dependency>
450 <groupId>org.apache.geronimo.specs</groupId>
451 <artifactId>geronimo-ejb_3.0_spec</artifactId>
452 <version>${geronimo.ejb.3.0.spec.version}</version>
453 <!-- License: Apache 2.0 -->
454 </dependency>
455 <dependency>
456 <groupId>org.apache.geronimo.specs</groupId>
457 <artifactId>geronimo-jta_1.1_spec</artifactId>
458 <version>${geronimo.jta.1.1.spec.version}</version>
459 <!-- License: Apache 2.0 -->
460 </dependency>
461 <dependency>
462 <groupId>org.slf4j</groupId>
463 <artifactId>slf4j-simple</artifactId>
464 <version>${slf4j.version}</version>
465 </dependency>
466 <dependency>
467 <groupId>org.slf4j</groupId>
468 <artifactId>slf4j-nop</artifactId>
469 <version>${slf4j.version}</version>
470 </dependency>
471 <dependency>
472 <groupId>org.slf4j</groupId>
473 <artifactId>slf4j-log4j12</artifactId>
474 <version>${slf4j.version}</version>
475 </dependency>
476 <!-- ## End Examples Dependencies ## -->
477
478 <!--needed to compile the bootstrap jar-->
479 <dependency>
480 <groupId>org.jgroups</groupId>
481 <artifactId>jgroups</artifactId>
482 <version>${jgroups.version}</version>
483 <!-- License: Apache 2.0 -->
484 </dependency>
485 <dependency>
486 <groupId>io.airlift</groupId>
487 <artifactId>airline</artifactId>
488 <version>${airlift.version}</version>
489 <!-- License: Apache 2.0 -->
490 </dependency>
491 <!--needed to compile transport jar-->
492 <dependency>
493 <groupId>io.netty</groupId>
494 <artifactId>netty-all</artifactId>
495 <version>${netty.version}</version>
496 <!-- License: Apache 2.0 -->
497 </dependency>
498 <dependency>
499 <groupId>io.netty</groupId>
500 <artifactId>netty-buffer</artifactId>
501 <version>${netty.version}</version>
502 <!-- License: Apache 2.0 -->
503 </dependency>
504 <dependency>
505 <groupId>io.netty</groupId>
506 <artifactId>netty-transport</artifactId>
507 <version>${netty.version}</version>
508 <!-- License: Apache 2.0 -->
509 </dependency>
510 <dependency>
511 <groupId>io.netty</groupId>
512 <artifactId>netty-handler</artifactId>
513 <version>${netty.version}</version>
514 <!-- License: Apache 2.0 -->
515 </dependency>
516 <dependency>
517 <groupId>io.netty</groupId>
518 <artifactId>netty-codec</artifactId>
519 <version>${netty.version}</version>
520 <!-- License: Apache 2.0 -->
521 </dependency>
522 <dependency>
523 <groupId>io.netty</groupId>
524 <artifactId>netty-common</artifactId>
525 <version>${netty.version}</version>
526 <!-- License: Apache 2.0 -->
527 </dependency>
528 <dependency>
529 <groupId>io.netty</groupId>
530 <artifactId>netty-transport-native-epoll</artifactId>
531 <version>${netty.version}</version>
532 <classifier>${netty-transport-native-epoll-classifier}</classifier>
533 <!-- License: Apache 2.0 -->
534 </dependency>
535 <dependency>
536 <groupId>io.netty</groupId>
537 <artifactId>netty-transport-native-kqueue</artifactId>
538 <version>${netty.version}</version>
539 <classifier>${netty-transport-native-kqueue-classifier}</classifier>
540 <!-- License: Apache 2.0 -->
541 </dependency>
542 <dependency>
543 <groupId>io.netty</groupId>
544 <artifactId>netty-codec-http</artifactId>
545 <version>${netty.version}</version>
546 <!-- License: Apache 2.0 -->
547 </dependency>
548 <dependency>
549 <groupId>org.apache.qpid</groupId>
550 <artifactId>proton-j</artifactId>
551 <version>${proton.version}</version>
552 <!-- License: Apache 2.0 -->
553 </dependency>
554 <dependency>
555 <groupId>org.apache.activemq</groupId>
556 <artifactId>activemq-client</artifactId>
557 <version>${activemq5-version}</version>
558 <!-- License: Apache 2.0 -->
559 </dependency>
560 <dependency>
561 <groupId>org.slf4j</groupId>
562 <artifactId>slf4j-api</artifactId>
563 <version>${slf4j.version}</version>
564 <!-- License: MIT -->
565 </dependency>
566 <!-- json -->
567 <dependency>
568 <groupId>org.apache.geronimo.specs</groupId>
569 <artifactId>geronimo-json_1.0_spec</artifactId>
570 <version>${json-p.spec.version}</version>
571 </dependency>
572 <dependency>
573 <groupId>org.apache.johnzon</groupId>
574 <artifactId>johnzon-core</artifactId>
575 <version>${johnzon.version}</version>
576 </dependency>
577
578 <!--needed for the rest support-->
579 <dependency>
580 <groupId>org.jboss.resteasy</groupId>
581 <artifactId>resteasy-jaxrs</artifactId>
582 <version>${resteasy.version}</version>
583 <exclusions>
584 <exclusion>
585 <!-- We exclude this dep as it is GPL licensed. Instead we include the Geronimo annotations -->
586 <groupId>org.jboss.spec.javax.annotation</groupId>
587 <artifactId>jboss-annotations-api_1.1_spec</artifactId>
588 </exclusion>
589 </exclusions>
590 <!-- License: Apache 2.0 -->
591 </dependency>
592 <dependency>
593 <groupId>org.jboss.resteasy</groupId>
594 <artifactId>resteasy-jaxb-provider</artifactId>
595 <version>${resteasy.version}</version>
596 <exclusions>
597 <exclusion>
598 <!-- We exclude this dep as it is GPL licensed. Instead we include the Geronimo annotations -->
599 <groupId>org.jboss.spec.javax.annotation</groupId>
600 <artifactId>jboss-annotations-api_1.1_spec</artifactId>
601 </exclusion>
602 </exclusions>
603 <!-- License: Apache 2.0 -->
604 </dependency>
605 <dependency>
606 <groupId>org.jboss.resteasy</groupId>
607 <artifactId>resteasy-jackson-provider</artifactId>
608 <version>${resteasy.version}</version>
609 <exclusions>
610 <exclusion>
611 <!-- We exclude this dep as it is GPL licensed. Instead we include the Geronimo annotations -->
612 <groupId>org.jboss.spec.javax.annotation</groupId>
613 <artifactId>jboss-annotations-api_1.1_spec</artifactId>
614 </exclusion>
615 </exclusions>
616 <!-- License: Apache 2.0 -->
617 </dependency>
618 <dependency>
619 <groupId>org.jboss.resteasy</groupId>
620 <artifactId>resteasy-atom-provider</artifactId>
621 <version>${resteasy.version}</version>
622 <exclusions>
623 <exclusion>
624 <!-- We exclude this dep as it is GPL licensed. Instead we include the Geronimo annotations -->
625 <groupId>org.jboss.spec.javax.annotation</groupId>
626 <artifactId>jboss-annotations-api_1.1_spec</artifactId>
627 </exclusion>
628 </exclusions>
629 <!-- License: Apache 2.0 -->
630 </dependency>
631 <dependency>
632 <groupId>org.jboss.resteasy</groupId>
633 <artifactId>tjws</artifactId>
634 <version>${resteasy.version}</version>
635 <exclusions>
636 <exclusion>
637 <!-- We exclude this dep as it is GPL licensed. Instead we include the Geronimo annotations -->
638 <groupId>org.jboss.spec.javax.annotation</groupId>
639 <artifactId>jboss-annotations-api_1.1_spec</artifactId>
640 </exclusion>
641 </exclusions>
642 <!-- License: Apache 2.0 -->
643 </dependency>
644
645 <!-- Replacement for jboss annotations -->
646 <dependency>
647 <groupId>org.apache.geronimo.specs</groupId>
648 <artifactId>geronimo-annotation_1.1_spec</artifactId>
649 <version>${geronimo.annotation.1.1.spec.version}</version>
650 <!-- License: Apache 2.0 -->
651 </dependency>
652
653 <!-- ## Jetty web Dependencies ##-->
654 <dependency>
655 <groupId>org.eclipse.jetty.aggregate</groupId>
656 <artifactId>jetty-all</artifactId>
657 <version>${jetty.version}</version>
658 <type>jar</type>
659 <classifier>uber</classifier>
660 <!-- License: (Joint): Apache 2.0 & EPL 1.0 -->
661 </dependency>
662 <dependency>
663 <groupId>org.apache.tomcat</groupId>
664 <artifactId>tomcat-servlet-api</artifactId>
665 <version>8.5.5</version>
666 </dependency>
667 <!-- ## End Jetty Wed Dependencies ## -->
668
669 <dependency>
670 <groupId>org.apache.geronimo.specs</groupId>
671 <artifactId>geronimo-j2ee-connector_1.5_spec</artifactId>
672 <version>2.0.0</version>
673 <!-- License: Apache 2.0 -->
674 </dependency>
675
676 <!-- for URL reflection. Using Populate on URI Factory at activemq-commons -->
677 <dependency>
678 <groupId>commons-beanutils</groupId>
679 <artifactId>commons-beanutils</artifactId>
680 <version>${commons.beanutils.version}</version>
681 <!-- License: Apache 2.0 -->
682 </dependency>
683
684 <!-- needed by commons-beanutils-->
685 <dependency>
686 <groupId>commons-logging</groupId>
687 <artifactId>commons-logging</artifactId>
688 <version>1.2</version>
689 <!-- License: Apache 2.0 -->
690 </dependency>
691
692 <!-- needed by SyncCalculation -->
693 <!-- https://mvnrepository.com/artifact/org.hdrhistogram/HdrHistogram -->
694 <dependency>
695 <groupId>org.hdrhistogram</groupId>
696 <artifactId>HdrHistogram</artifactId>
697 <version>${org.hdrhistogram.version}</version>
698 <!-- License: Public Domain -->
699 </dependency>
700
701 <!-- needed by artemis-selector -->
702 <dependency>
703 <groupId>xml-apis</groupId>
704 <artifactId>xml-apis</artifactId>
705 <version>2.0.2</version>
706 </dependency>
707 <dependency>
708 <groupId>xalan</groupId>
709 <artifactId>xalan</artifactId>
710 <version>2.7.2</version>
711 </dependency>
712
713 <dependency>
714 <groupId>org.apache.openwebbeans</groupId>
715 <artifactId>openwebbeans-impl</artifactId>
716 <version>${owb.version}</version>
717 <scope>test</scope>
718 </dependency>
719 <dependency>
720 <groupId>org.apache.openwebbeans</groupId>
721 <artifactId>openwebbeans-spi</artifactId>
722 <version>${owb.version}</version>
723 <scope>test</scope>
724 </dependency>
725 <dependency>
726 <groupId>org.apache.openwebbeans</groupId>
727 <artifactId>openwebbeans-resource</artifactId>
728 <version>${owb.version}</version>
729 <scope>test</scope>
730 </dependency>
731 <dependency>
732 <groupId>org.apache.openwebbeans.arquillian</groupId>
733 <artifactId>owb-arquillian-standalone</artifactId>
734 <version>${owb.version}</version>
735 <scope>test</scope>
736 </dependency>
737 <dependency>
738 <groupId>org.apache.geronimo.specs</groupId>
739 <artifactId>geronimo-annotation_1.2_spec</artifactId>
740 <version>${geronimo-annotation_1.2_spec.version}</version>
741 <scope>provided</scope>
742 </dependency>
743 <dependency>
744 <groupId>org.jboss.weld.se</groupId>
745 <artifactId>weld-se</artifactId>
746 <version>${weld.version}</version>
747 <scope>test</scope>
748 </dependency>
749 <dependency>
750 <groupId>org.jboss.arquillian.container</groupId>
751 <artifactId>arquillian-weld-embedded</artifactId>
752 <version>${arquillian-weld-embedded.version}</version>
753 <scope>test</scope>
754 </dependency>
755 <dependency>
756 <groupId>org.jboss.arquillian.junit</groupId>
757 <artifactId>arquillian-junit-container</artifactId>
758 <version>${arquillian.version}</version>
759 <scope>test</scope>
760 </dependency>
761 <dependency>
762 <groupId>org.jboss.arquillian.junit</groupId>
763 <artifactId>arquillian-junit-core</artifactId>
764 <version>${arquillian.version}</version>
765 <scope>test</scope>
766 </dependency>
767 <dependency>
768 <groupId>org.jacoco</groupId>
769 <artifactId>org.jacoco.ant</artifactId>
770 <version>${version.org.jacoco}</version>
771 <scope>test</scope>
772 </dependency>
773 <dependency>
774 <groupId>org.jacoco</groupId>
775 <artifactId>org.jacoco.core</artifactId>
776 <version>${version.org.jacoco}</version>
777 <scope>test</scope>
778 </dependency>
779 <dependency>
780 <groupId>javax.enterprise</groupId>
781 <artifactId>cdi-api</artifactId>
782 <version>${cdi-api.version}</version>
783 <scope>provided</scope>
784 </dependency>
785 <!-- OSGi support -->
786 <dependency>
787 <groupId>org.osgi</groupId>
788 <artifactId>org.osgi.core</artifactId>
789 <version>6.0.0</version>
790 <scope>provided</scope>
791 <!-- License: Apache 2.0 -->
792 </dependency>
793 <dependency>
794 <groupId>org.osgi</groupId>
795 <artifactId>osgi.cmpn</artifactId>
796 <version>6.0.0</version>
797 <scope>provided</scope>
798 <!-- License: Apache 2.0 -->
799 </dependency>
800 </dependencies>
801 </dependencyManagement>
802
803 <profiles>
804 <profile>
805 <id>M2E</id>
806 <activation>
807 <property>
808 <name>m2e.version</name>
809 </property>
810 </activation>
811 <properties>
812 <javac-compiler-id>javac</javac-compiler-id>
813 </properties>
814 </profile>
815 <!-- Google Error Prone has issues with IBM JDK 8 -->
816 <!-- See ARTEMIS-861 -->
817 <profile>
818 <id>ibm-jdk8</id>
819 <activation>
820 <jdk>1.8</jdk>
821 <property>
822 <name>java.vendor</name>
823 <value>IBM Corporation</value>
824 </property>
825 </activation>
826 <build>
827 <plugins>
828 <plugin>
829 <groupId>org.apache.maven.plugins</groupId>
830 <artifactId>maven-javadoc-plugin</artifactId>
831 <configuration>
832 <additionalparam>-Xdoclint:none</additionalparam>
833 </configuration>
834 </plugin>
835 <plugin>
836 <groupId>org.apache.maven.plugins</groupId>
837 <artifactId>maven-compiler-plugin</artifactId>
838 <!-- version 3.2 is having problems with the APT processor resulting in
839 java.lang.IllegalStateException: endPosTable already set -->
840 <version>3.1</version>
841 <configuration combine.self="override" />
842 </plugin>
843 </plugins>
844 </build>
845 </profile>
846 <profile>
847 <id>jdk18</id>
848 <activation>
849 <jdk>1.8</jdk>
850 </activation>
851 <build>
852 <plugins>
853 <plugin>
854 <groupId>org.apache.maven.plugins</groupId>
855 <artifactId>maven-javadoc-plugin</artifactId>
856 <configuration>
857 <additionalparam>-Xdoclint:none</additionalparam>
858 </configuration>
859 </plugin>
860 </plugins>
861 </build>
862 </profile>
863 <profile>
864 <id>owasp</id>
865 <properties>
866 <skipOWASP>false</skipOWASP>
867 </properties>
868 </profile>
869 <profile>
870 <id>dev</id>
871 <modules>
872 <module>artemis-boot</module>
873 <module>artemis-dto</module>
874 <module>artemis-web</module>
875 <module>artemis-cli</module>
876 <module>artemis-commons</module>
877 <module>artemis-selector</module>
878 <module>artemis-core-client</module>
879 <module>artemis-server</module>
880 <module>artemis-jms-client</module>
881 <module>artemis-jms-server</module>
882 <module>artemis-native</module>
883 <module>artemis-protocols</module>
884 <module>artemis-journal</module>
885 <module>artemis-jdbc-store</module>
886 <module>artemis-ra</module>
887 <module>artemis-rest</module>
888 <module>artemis-service-extensions</module>
889 <module>artemis-maven-plugin</module>
890 <module>artemis-jdbc-store</module>
891 <module>integration/activemq-spring-integration</module>
892 <module>tests</module>
893 </modules>
894 <properties>
895 <skipStyleCheck>false</skipStyleCheck>
896 <skipLicenseCheck>false</skipLicenseCheck>
897 </properties>
898 </profile>
899 <profile>
900 <id>distro</id>
901 <activation>
902 <activeByDefault>true</activeByDefault>
903 </activation>
904 </profile>
905 <profile>
906 <id>release</id>
907 <modules>
908 <module>artemis-dto</module>
909 <module>artemis-web</module>
910 <module>artemis-website</module>
911 <module>artemis-cli</module>
912 <module>artemis-commons</module>
913 <module>artemis-selector</module>
914 <module>artemis-core-client</module>
915 <module>artemis-server</module>
916 <module>artemis-jms-client</module>
917 <module>artemis-jms-client-all</module>
918 <module>artemis-jms-server</module>
919 <module>artemis-native</module>
920 <module>artemis-journal</module>
921 <module>artemis-jdbc-store</module>
922 <module>artemis-ra</module>
923 <module>artemis-rest</module>
924 <module>artemis-service-extensions</module>
925 <module>artemis-maven-plugin</module>
926 <module>integration/activemq-spring-integration</module>
927 <module>examples</module>
928 <module>tests</module>
929 <module>artemis-distribution</module>
930 </modules>
931 <properties>
932 <skipStyleCheck>false</skipStyleCheck>
933 <skipLicenseCheck>false</skipLicenseCheck>
934 </properties>
935 <build>
936 <plugins>
937 <plugin>
938 <groupId>org.apache.maven.plugins</groupId>
939 <artifactId>maven-enforcer-plugin</artifactId>
940 <version>1.4</version>
941 <executions>
942 <execution>
943 <id>enforce-java</id>
944 <goals>
945 <goal>enforce</goal>
946 </goals>
947 <configuration>
948 <rules>
949 <!-- we need java8 when building the release -->
950 <requireJavaVersion>
951 <version>1.8.0</version>
952 </requireJavaVersion>
953 </rules>
954 </configuration>
955 </execution>
956 </executions>
957 </plugin>
958 </plugins>
959 </build>
960 </profile>
961 <profile>
962 <!-- tests is the profile we use to run the entire testsuite
963 Running this entire build could take up to 2 hours -->
964 <id>tests</id>
965 <modules>
966 <module>artemis-dto</module>
967 <module>artemis-web</module>
968 <module>artemis-website</module>
969 <module>artemis-cli</module>
970 <module>artemis-commons</module>
971 <module>artemis-selector</module>
972 <module>artemis-core-client</module>
973 <module>artemis-server</module>
974 <module>artemis-jms-client</module>
975 <module>artemis-jms-server</module>
976 <module>artemis-native</module>
977 <module>artemis-journal</module>
978 <module>artemis-jdbc-store</module>
979 <module>artemis-ra</module>
980 <module>artemis-rest</module>
981 <module>artemis-service-extensions</module>
982 <module>artemis-maven-plugin</module>
983 <module>integration/activemq-spring-integration</module>
984 <module>tests</module>
985 </modules>
986 <properties>
987 <skipUnitTests>false</skipUnitTests>
988 <skipJmsTests>false</skipJmsTests>
989 <skipJoramTests>false</skipJoramTests>
990 <skipIntegrationTests>false</skipIntegrationTests>
991 <skipCompatibilityTests>false</skipCompatibilityTests>
992 <skipSmokeTests>false</skipSmokeTests>
993 <skipTimingTests>true</skipTimingTests>
994 <skipConcurrentTests>false</skipConcurrentTests>
995 <skipRestTests>false</skipRestTests>
996 <skipStressTests>true</skipStressTests>
997 <skipSoakTests>true</skipSoakTests>
998 <skipPerformanceTests>true</skipPerformanceTests>
999 <skipExtraTests>false</skipExtraTests>
1000 <skipStyleCheck>false</skipStyleCheck>
1001 <skipLicenseCheck>false</skipLicenseCheck>
1002 </properties>
1003 </profile>
1004 <profile>
1005 <!-- This will represent a subset of the tests
1006 This is used on PR checks -->
1007 <id>fast-tests</id>
1008 <modules>
1009 <module>artemis-dto</module>
1010 <module>artemis-cli</module>
1011 <module>artemis-commons</module>
1012 <module>artemis-selector</module>
1013 <module>artemis-core-client</module>
1014 <module>artemis-server</module>
1015 <module>artemis-jms-client</module>
1016 <module>artemis-jms-server</module>
1017 <module>artemis-native</module>
1018 <module>artemis-journal</module>
1019 <module>artemis-jdbc-store</module>
1020 <module>artemis-ra</module>
1021 <module>artemis-service-extensions</module>
1022 <module>artemis-maven-plugin</module>
1023 <module>integration/activemq-spring-integration</module>
1024 <module>tests</module>
1025 </modules>
1026 <properties>
1027 <skipUnitTests>false</skipUnitTests>
1028 <skipJmsTests>false</skipJmsTests>
1029 <skipJoramTests>false</skipJoramTests>
1030 <skipConcurrentTests>false</skipConcurrentTests>
1031 <skipStyleCheck>false</skipStyleCheck>
1032 <skipLicenseCheck>false</skipLicenseCheck>
1033 <skipCompatibilityTests>false</skipCompatibilityTests>
1034 <testFailureIgnore>false</testFailureIgnore>
1035 </properties>
1036 </profile>
1037 <profile>
1038 <id>examples</id>
1039 <modules>
1040 <module>artemis-dto</module>
1041 <module>artemis-web</module>
1042 <module>artemis-cli</module>
1043 <module>artemis-commons</module>
1044 <module>artemis-selector</module>
1045 <module>artemis-core-client</module>
1046 <module>artemis-server</module>
1047 <module>artemis-jms-client</module>
1048 <module>artemis-jms-server</module>
1049 <module>artemis-native</module>
1050 <module>artemis-journal</module>
1051 <module>artemis-jdbc-store</module>
1052 <module>artemis-ra</module>
1053 <module>artemis-rest</module>
1054 <module>artemis-service-extensions</module>
1055 <module>artemis-maven-plugin</module>
1056 <module>integration/activemq-spring-integration</module>
1057 <module>tests</module>
1058 <module>examples</module>
1059 </modules>
1060 <properties>
1061 <skipTests>true</skipTests>
1062 </properties>
1063 </profile>
1064 <!-- This profile generates jacoco coverage files. To generate html report use "-Pjacoco-generate-report" -->
1065 <profile>
1066 <id>jacoco</id>
1067 <dependencies>
1068 <dependency>
1069 <groupId>org.jacoco</groupId>
1070 <artifactId>org.jacoco.core</artifactId>
1071 </dependency>
1072 </dependencies>
1073 <properties>
1074
1075 <!-- Property set by Jacoco plugin -->
1076 <jacoco.agent />
1077
1078 <activemq-surefire-argline>-Djava.util.logging.manager=org.jboss.logmanager.LogManager
1079 -Dlogging.configuration="file:${activemq.basedir}/tests/config/logging.properties"
1080 -Djava.library.path="${activemq.basedir}/artemis-native/bin" -Djgroups.bind_addr=localhost -Dorg.apache.activemq.artemis.api.core.UDPBroadcastEndpointFactory.localBindAddress=localhost
1081 -Djava.net.preferIPv4Stack=true -Dbasedir=${basedir}
1082 @{jacoco.agent} -Djacoco.agent=@{jacoco.agent}
1083 </activemq-surefire-argline>
1084 </properties>
1085 <build>
1086 <plugins>
1087 <plugin>
1088 <groupId>org.jacoco</groupId>
1089 <artifactId>jacoco-maven-plugin</artifactId>
1090 <executions>
1091 <execution>
1092 <id>jacoco-prepare</id>
1093 <phase>validate</phase>
1094 <goals>
1095 <goal>prepare-agent</goal>
1096 </goals>
1097 <configuration>
1098 <destFile>${project.build.directory}/jacoco.exec</destFile>
1099 <!-- Jacoco sets this property with agent configuration.
1100 This property is passed to maven-surefire-plugin -->
1101 <propertyName>jacoco.agent</propertyName>
1102 </configuration>
1103 </execution>
1104 <execution>
1105 <id>merge</id>
1106 <phase>none</phase>
1107 <goals>
1108 <goal>merge</goal>
1109 </goals>
1110 </execution>
1111 </executions>
1112 <configuration>
1113 <fileSets>
1114 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">
1115 <directory>${activemq.basedir}</directory>
1116 <includes>
1117 <include>**/*.exec</include>
1118 </includes>
1119 </fileSet>
1120 </fileSets>
1121 </configuration>
1122 </plugin>
1123 </plugins>
1124 </build>
1125 </profile>
1126 <!-- This profile generates html report from jacoco coverage files. Use "-Pjacoco" profile to generate coverage. -->
1127 <profile>
1128 <id>jacoco-generate-report</id>
1129 <build>
1130 <plugins>
1131 <plugin>
1132 <groupId>org.apache.maven.plugins</groupId>
1133 <artifactId>maven-dependency-plugin</artifactId>
1134 <executions>
1135 <!-- Copy jacoco ant jar. This is needed to generate jacoco report with maven-antrun-plugin -->
1136 <execution>
1137 <goals>
1138 <goal>copy</goal>
1139 </goals>
1140 <phase>process-test-resources</phase>
1141 <inherited>false</inherited>
1142 <configuration>
1143 <artifactItems>
1144 <artifactItem>
1145 <groupId>org.jacoco</groupId>
1146 <artifactId>org.jacoco.ant</artifactId>
1147 <version>${version.org.jacoco.plugin}</version>
1148 </artifactItem>
1149 </artifactItems>
1150 <stripVersion>true</stripVersion>
1151 <outputDirectory>${project.build.directory}/jacoco-jars</outputDirectory>
1152 </configuration>
1153 </execution>
1154 </executions>
1155 </plugin>
1156 <plugin>
1157 <groupId>org.apache.maven.plugins</groupId>
1158 <artifactId>maven-antrun-plugin</artifactId>
1159 <executions>
1160 <execution>
1161 <phase>post-integration-test</phase>
1162 <goals><goal>run</goal></goals>
1163 <inherited>false</inherited>
1164 <configuration>
1165 <target>
1166 <property name="result.report.dir" location="target/jacoco-report" />
1167 <taskdef name="report" classname="org.jacoco.ant.ReportTask">
1168 <classpath path="${project.build.directory}/jacoco-jars/org.jacoco.ant.jar" />
1169 </taskdef>
1170 <echo>Creating JaCoCo ActiveMQ Artemis test coverage reports...</echo>
1171 <report>
1172 <executiondata>
1173 <fileset dir="${basedir}">
1174 <include name="**/target/jacoco.exec" />
1175 </fileset>
1176 </executiondata>
1177 <structure name="JaCoCo ActiveMQ Artemis">
1178 <classfiles>
1179 <fileset dir="${activemq.basedir}/artemis-boot/target/classes" />
1180 <fileset dir="${activemq.basedir}/artemis-cdi-client/target/classes" />
1181 <fileset dir="${activemq.basedir}/artemis-cli/target/classes" />
1182 <fileset dir="${activemq.basedir}/artemis-commons/target/classes" />
1183 <fileset dir="${activemq.basedir}/artemis-core-client/target/classes" />
1184 <fileset dir="${activemq.basedir}/artemis-dto/target/classes" />
1185 <fileset dir="${activemq.basedir}/artemis-jdbc-store/target/classes" />
1186 <fileset dir="${activemq.basedir}/artemis-jms-client/target/classes" />
1187 <fileset dir="${activemq.basedir}/artemis-jms-server/target/classes" />
1188 <fileset dir="${activemq.basedir}/artemis-journal/target/classes" />
1189 <fileset dir="${activemq.basedir}/artemis-native/target/classes" />
1190 <fileset dir="${activemq.basedir}/artemis-ra/target/classes" />
1191 <fileset dir="${activemq.basedir}/artemis-rest/target/classes" />
1192 <fileset dir="${activemq.basedir}/artemis-selector/target/classes" />
1193 <fileset dir="${activemq.basedir}/artemis-server/target/classes" />
1194 <fileset dir="${activemq.basedir}/artemis-server-osgi/target/classes" />
1195 <fileset dir="${activemq.basedir}/artemis-service-extensions/target" />
1196 <fileset dir="${activemq.basedir}/artemis-tools/target/classes" />
1197 <fileset dir="${activemq.basedir}/artemis-web/target/classes" />
1198 </classfiles>
1199 <sourcefiles encoding="UTF-8">
1200 <fileset dir="${activemq.basedir}/artemis-boot/src/main/java" />
1201 <fileset dir="${activemq.basedir}/artemis-cdi-client/src/main/java" />
1202 <fileset dir="${activemq.basedir}/artemis-cli/src/main/java" />
1203 <fileset dir="${activemq.basedir}/artemis-commons/src/main/java" />
1204 <fileset dir="${activemq.basedir}/artemis-core-client/src/main/java" />
1205 <fileset dir="${activemq.basedir}/artemis-dto/src/main/java" />
1206 <fileset dir="${activemq.basedir}/artemis-jdbc-store/src/main/java" />
1207 <fileset dir="${activemq.basedir}/artemis-jms-client/src/main/java" />
1208 <fileset dir="${activemq.basedir}/artemis-jms-server/src/main/java" />
1209 <fileset dir="${activemq.basedir}/artemis-journal/src/main/java" />
1210 <fileset dir="${activemq.basedir}/artemis-native/src/main/java" />
1211 <fileset dir="${activemq.basedir}/artemis-ra/src/main/java" />
1212 <fileset dir="${activemq.basedir}/artemis-rest/src/main/java" />
1213 <fileset dir="${activemq.basedir}/artemis-selector/src/main/java" />
1214 <fileset dir="${activemq.basedir}/artemis-server/src/main/java" />
1215 <fileset dir="${activemq.basedir}/artemis-server-osgi/src/main/java" />
1216 <fileset dir="${activemq.basedir}/artemis-service-extensions/src/main/java" />
1217 <fileset dir="${activemq.basedir}/artemis-tools/src/main/java" />
1218 <fileset dir="${activemq.basedir}/artemis-web/src/main/java" />
1219 </sourcefiles>
1220 </structure>
1221 <html destdir="\${result.report.dir}" />
1222 <xml destfile="\${result.report.dir}/report.xml" />
1223 </report>
1224 </target>
1225 </configuration>
1226 </execution>
1227 </executions>
1228 <dependencies>
1229 <dependency>
1230 <groupId>org.jacoco</groupId>
1231 <artifactId>org.jacoco.ant</artifactId>
1232 <version>${version.org.jacoco.plugin}</version>
1233 </dependency>
1234 </dependencies>
1235 </plugin>
1236 </plugins>
1237 </build>
1238 </profile>
1239 </profiles>
1240
1241 <build>
1242 <pluginManagement>
1243 <plugins>
1244 <plugin>
1245 <groupId>org.eclipse.m2e</groupId>
1246 <artifactId>lifecycle-mapping</artifactId>
1247 <version>1.0.0</version>
1248 <configuration>
1249 <lifecycleMappingMetadata>
1250 <pluginExecutions>
1251 <pluginExecution>
1252 <pluginExecutionFilter>
1253 <groupId>org.apache.rat</groupId>
1254 <artifactId>apache-rat-plugin</artifactId>
1255 <versionRange>[0.12,)</versionRange>
1256 <goals>
1257 <goal>check</goal>
1258 </goals>
1259 </pluginExecutionFilter>
1260 <action>
1261 <ignore />
1262 </action>
1263 </pluginExecution>
1264 <pluginExecution>
1265 <pluginExecutionFilter>
1266 <groupId>
1267 org.apache.servicemix.tooling
1268 </groupId>
1269 <artifactId>
1270 depends-maven-plugin
1271 </artifactId>
1272 <versionRange>
1273 [1.2,)
1274 </versionRange>
1275 <goals>
1276 <goal>
1277 generate-depends-file
1278 </goal>
1279 </goals>
1280 </pluginExecutionFilter>
1281 <action>
1282 <ignore />
1283 </action>
1284 </pluginExecution>
1285 </pluginExecutions>
1286 </lifecycleMappingMetadata>
1287 </configuration>
1288 </plugin>
1289 <plugin>
1290 <groupId>org.apache.maven.plugins</groupId>
1291 <artifactId>maven-enforcer-plugin</artifactId>
1292 <version>1.4.1</version>
1293 <executions>
1294 <execution>
1295 <id>enforce-maven</id>
1296 <goals>
1297 <goal>enforce</goal>
1298 </goals>
1299 <configuration>
1300 <rules>
1301 <requireMavenVersion>
1302 <version>3.1</version>
1303 </requireMavenVersion>
1304 </rules>
1305 </configuration>
1306 </execution>
1307 </executions>
1308 </plugin>
1309 <plugin>
1310 <groupId>org.codehaus.mojo</groupId>
1311 <artifactId>javacc-maven-plugin</artifactId>
1312 <version>2.6</version>
1313 <executions>
1314 <execution>
1315 <id>javacc</id>
1316 <goals>
1317 <goal>javacc</goal>
1318 </goals>
1319 </execution>
1320 </executions>
1321 </plugin>
1322 <plugin>
1323 <groupId>org.apache.maven.plugins</groupId>
1324 <artifactId>maven-compiler-plugin</artifactId>
1325 <!-- version 3.2 is having problems with the APT processor resulting in
1326 java.lang.IllegalStateException: endPosTable already set -->
1327 <version>3.1</version>
1328 <!-- Enable Google's Error-Prone https://github.com/google/error-prone -->
1329 <configuration>
1330 <showWarnings>true</showWarnings>
1331 <forceJavacCompilerUse>true</forceJavacCompilerUse>
1332 <compilerId>${javac-compiler-id}</compilerId>
1333 <compilerArgs>
1334 <arg>-Xep:MissingOverride:ERROR</arg>
1335 <arg>-Xep:NonAtomicVolatileUpdate:ERROR</arg>
1336 <arg>-Xep:SynchronizeOnNonFinalField:ERROR</arg>
1337 <arg>-Xep:StaticAccessedFromInstance:ERROR</arg>
1338 <arg>-Xep:SynchronizeOnNonFinalField:ERROR</arg>
1339 <arg>-Xep:WaitNotInLoop:ERROR</arg>
1340 <arg>-Xdiags:verbose</arg>
1341 </compilerArgs>
1342 </configuration>
1343 <dependencies>
1344 <dependency>
1345 <groupId>org.codehaus.plexus</groupId>
1346 <artifactId>plexus-compiler-javac-errorprone</artifactId>
1347 <version>2.8</version>
1348 </dependency>
1349 <dependency>
1350 <groupId>com.google.errorprone</groupId>
1351 <artifactId>error_prone_core</artifactId>
1352 <version>2.0.9</version>
1353 </dependency>
1354 </dependencies>
1355 </plugin>
1356 <plugin>
1357 <groupId>org.apache.maven.plugins</groupId>
1358 <artifactId>maven-clean-plugin</artifactId>
1359 <version>2.5</version>
1360 </plugin>
1361 <plugin>
1362 <groupId>org.apache.maven.plugins</groupId>
1363 <artifactId>maven-javadoc-plugin</artifactId>
1364
1365 <version>2.9</version>
1366 </plugin>
1367 <plugin>
1368 <groupId>org.apache.maven.plugins</groupId>
1369 <artifactId>maven-rar-plugin</artifactId>
1370 <version>2.3</version>
1371 </plugin>
1372 <plugin>
1373 <groupId>org.apache.maven.plugins</groupId>
1374 <artifactId>maven-jar-plugin</artifactId>
1375 <version>2.4</version>
1376 </plugin>
1377 <plugin>
1378 <groupId>net.sf.maven-sar</groupId>
1379 <artifactId>maven-sar-plugin</artifactId>
1380 <version>1.0</version>
1381 </plugin>
1382 <plugin>
1383 <groupId>org.apache.maven.plugins</groupId>
1384 <artifactId>maven-site-plugin</artifactId>
1385 <version>3.3</version>
1386 </plugin>
1387 <plugin>
1388 <groupId>org.apache.maven.plugins</groupId>
1389 <artifactId>maven-shade-plugin</artifactId>
1390 <version>2.1</version>
1391 </plugin>
1392 <plugin>
1393 <groupId>org.eclipse.jetty</groupId>
1394 <artifactId>jetty-maven-plugin</artifactId>
1395 <version>${jetty.version}</version>
1396 </plugin>
1397 <plugin>
1398 <groupId>org.apache.maven.plugins</groupId>
1399 <artifactId>maven-deploy-plugin</artifactId>
1400 <version>2.7</version>
1401 </plugin>
1402
1403 <plugin>
1404 <inherited>true</inherited>
1405 <groupId>org.apache.maven.plugins</groupId>
1406 <artifactId>maven-source-plugin</artifactId>
1407 <version>2.2.1</version>
1408 <executions>
1409 <execution>
1410 <id>attach-sources</id>
1411 <goals>
1412 <goal>jar</goal>
1413 </goals>
1414 </execution>
1415 </executions>
1416 </plugin>
1417 <plugin>
1418 <groupId>org.apache.maven.plugins</groupId>
1419 <artifactId>maven-surefire-plugin</artifactId>
1420 <version>2.18.1</version>
1421 <configuration>
1422 <forkMode>once</forkMode>
1423 <testFailureIgnore>${testFailureIgnore}</testFailureIgnore>
1424 <runOrder>alphabetical</runOrder>
1425 <redirectTestOutputToFile>false</redirectTestOutputToFile>
1426 <argLine>${activemq-surefire-argline}</argLine>
1427 </configuration>
1428 </plugin>
1429 <plugin>
1430 <groupId>org.apache.maven.plugins</groupId>
1431 <artifactId>maven-surefire-report-plugin</artifactId>
1432 <version>2.18.1</version>
1433 </plugin>
1434 <plugin>
1435 <groupId>org.apache.maven.plugins</groupId>
1436 <artifactId>maven-install-plugin</artifactId>
1437 <version>2.4</version>
1438 <configuration>
1439 <createChecksum>true</createChecksum>
1440 </configuration>
1441 </plugin>
1442 <plugin>
1443 <groupId>org.apache.maven.plugins</groupId>
1444 <artifactId>maven-pmd-plugin</artifactId>
1445 <version>3.6</version>
1446 <configuration>
1447 <linkXRef>true</linkXRef>
1448 <minimumTokens>100</minimumTokens>
1449 </configuration>
1450 </plugin>
1451 <plugin>
1452 <groupId>org.codehaus.mojo</groupId>
1453 <artifactId>build-helper-maven-plugin</artifactId>
1454 <version>1.8</version>
1455 </plugin>
1456 <plugin>
1457 <groupId>org.codehaus.mojo</groupId>
1458 <artifactId>xml-maven-plugin</artifactId>
1459 <version>1.0</version>
1460 </plugin>
1461 <plugin>
1462 <groupId>org.codehaus.mojo</groupId>
1463 <artifactId>cobertura-maven-plugin</artifactId>
1464 <configuration />
1465 <executions>
1466 <execution>
1467 <goals>
1468 <goal>clean</goal>
1469 </goals>
1470 </execution>
1471 </executions>
1472 </plugin>
1473 <plugin>
1474 <groupId>org.apache.maven.plugins</groupId>
1475 <artifactId>maven-resources-plugin</artifactId>
1476 <version>2.6</version>
1477 </plugin>
1478 <!-- Many examples use it -->
1479 <plugin>
1480 <groupId>org.apache.activemq</groupId>
1481 <artifactId>artemis-maven-plugin</artifactId>
1482 <version>${project.version}</version>
1483 </plugin>
1484 <plugin>
1485 <groupId>org.jacoco</groupId>
1486 <artifactId>jacoco-maven-plugin</artifactId>
1487 <version>${version.org.jacoco.plugin}</version>
1488 </plugin>
1489 </plugins>
1490 </pluginManagement>
1491
1492 <plugins>
1493 <plugin>
1494 <groupId>org.apache.maven.plugins</groupId>
1495 <artifactId>maven-enforcer-plugin</artifactId>
1496 <version>1.4</version>
1497 <executions>
1498 <execution>
1499 <id>enforce-java</id>
1500 <goals>
1501 <goal>enforce</goal>
1502 </goals>
1503 <configuration>
1504 <rules>
1505 <requireJavaVersion>
1506 <version>1.8.0</version>
1507 </requireJavaVersion>
1508 </rules>
1509 </configuration>
1510 </execution>
1511 </executions>
1512 </plugin>
1513 <plugin>
1514 <groupId>org.apache.maven.plugins</groupId>
1515 <artifactId>maven-javadoc-plugin</artifactId>
1516 </plugin>
1517 <plugin>
1518 <groupId>org.apache.maven.plugins</groupId>
1519 <artifactId>maven-install-plugin</artifactId>
1520 <configuration>
1521 <createChecksum>true</createChecksum>
1522 </configuration>
1523 </plugin>
1524 <plugin>
1525 <artifactId>maven-source-plugin</artifactId>
1526 <executions>
1527 <execution>
1528 <phase>verify</phase>
1529 <goals>
1530 <goal>jar</goal>
1531 </goals>
1532 </execution>
1533 </executions>
1534 </plugin>
1535 <plugin>
1536 <groupId>org.apache.maven.plugins</groupId>
1537 <artifactId>maven-help-plugin</artifactId>
1538 <version>2.2</version>
1539 </plugin>
1540 <plugin>
1541 <groupId>org.apache.maven.plugins</groupId>
1542 <artifactId>maven-checkstyle-plugin</artifactId>
1543 <version>2.17</version>
1544 <dependencies>
1545 <dependency>
1546 <groupId>com.github.sevntu-checkstyle</groupId>
1547 <artifactId>sevntu-checkstyle-maven-plugin</artifactId>
1548 <version>1.24.0</version>
1549 </dependency>
1550 <dependency>
1551 <groupId>com.puppycrawl.tools</groupId>
1552 <artifactId>checkstyle</artifactId>
1553 <version>7.7</version>
1554 </dependency>
1555 </dependencies>
1556 <configuration>
1557 <skip>${skipStyleCheck}</skip>
1558 <configLocation>${activemq.basedir}/etc/checkstyle.xml</configLocation>
1559 <suppressionsLocation>${activemq.basedir}/etc/checkstyle-suppressions.xml</suppressionsLocation>
1560 <failsOnError>false</failsOnError>
1561 <failOnViolation>true</failOnViolation>
1562 <consoleOutput>true</consoleOutput>
1563 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1564 </configuration>
1565 <executions>
1566 <execution>
1567 <phase>compile</phase>
1568 <goals>
1569 <goal>check</goal>
1570 </goals>
1571 </execution>
1572 </executions>
1573 </plugin>
1574
1575 <plugin>
1576 <groupId>org.codehaus.mojo</groupId>
1577 <artifactId>findbugs-maven-plugin</artifactId>
1578 <version>2.5.2</version>
1579 <configuration>
1580 <excludeFilterFile>${user.dir}/etc/findbugs-exclude.xml</excludeFilterFile>
1581 <findbugsXmlOutput>true</findbugsXmlOutput>
1582 <xmlOutput>true</xmlOutput>
1583 <effort>Max</effort>
1584 <failOnError>false</failOnError>
1585 </configuration>
1586 </plugin>
1587 <plugin>
1588 <groupId>org.apache.rat</groupId>
1589 <artifactId>apache-rat-plugin</artifactId>
1590 <version>0.12</version>
1591 <configuration>
1592 <reportFile>${activemq.basedir}/ratReport.txt</reportFile>
1593 <skip>${skipLicenseCheck}</skip>
1594 <excludes>
1595 <exclude>.travis.yml</exclude>
1596 <exclude>**/footer.html</exclude>
1597 <exclude>**/*.txt</exclude>
1598 <exclude>**/*.md</exclude>
1599 <exclude>etc/ide-settings/**</exclude>
1600 <exclude>docs/**/*.json</exclude>
1601 <exclude>docs/**/_book/</exclude>
1602 <exclude>**/target/</exclude>
1603 <exclude>**/META-INF/services/*</exclude>
1604 <exclude>**/META-INF/MANIFEST.MF</exclude>
1605 <exclude>**/*.iml</exclude>
1606 <exclude>**/*.jceks</exclude>
1607 <exclude>**/*.jks</exclude>
1608 <exclude>**/xml.xsd</exclude>
1609 <exclude>**/org/apache/activemq/artemis/utils/json/**</exclude>
1610 <exclude>**/org/apache/activemq/artemis/utils/Base64.java</exclude>
1611 <exclude>**/.settings/**</exclude>
1612 <exclude>**/.project</exclude>
1613 <exclude>**/.classpath</exclude>
1614 <exclude>**/.editorconfig</exclude>
1615 <exclude>**/.checkstyle</exclude>
1616 <exclude>**/.factorypath</exclude>
1617 <exclude>**/org.apache.activemq.artemis.cfg</exclude>
1618 <exclude>**/nb-configuration.xml</exclude>
1619 <!-- activemq5 unit tests exclude -->
1620 <exclude>**/*.data</exclude>
1621 <exclude>**/*.bin</exclude>
1622 <exclude>**/src/test/resources/keystore</exclude>
1623 <exclude>**/*.log</exclude>
1624 <exclude>**/*.redo</exclude>
1625
1626 <!-- NPM files -->
1627 <exclude>**/node/**</exclude>
1628 <exclude>**/node_modules/**</exclude>
1629 <exclude>**/package.json</exclude>
1630 <exclude>**/npm-shrinkwrap.json</exclude>
1631
1632 <!-- Build time overlay folder -->
1633 <exclude>**/overlays/**</exclude>
1634
1635 <!-- things from cmake on the native build -->
1636 <exclude>**/CMakeFiles/</exclude>
1637 <exclude>**/Makefile</exclude>
1638 <exclude>**/cmake_install.cmake</exclude>
1639 <exclude>artemis-native/src/main/c/org_apache_activemq_artemis_jlibaio_LibaioContext.h</exclude>
1640 <exclude>**/dependency-reduced-pom.xml</exclude>
1641
1642 </excludes>
1643 </configuration>
1644 <executions>
1645 <execution>
1646 <phase>compile</phase>
1647 <goals>
1648 <goal>check</goal>
1649 </goals>
1650 </execution>
1651 </executions>
1652 </plugin>
1653 <plugin>
1654 <groupId>org.apache.felix</groupId>
1655 <artifactId>maven-bundle-plugin</artifactId>
1656 <version>3.0.0</version>
1657 <extensions>true</extensions>
1658 </plugin>
1659 <plugin>
1660 <groupId>org.owasp</groupId>
1661 <artifactId>dependency-check-maven</artifactId>
1662 <version>${owasp.version}</version>
1663 <configuration>
1664 <skip>${skipOWASP}</skip>
1665 <!-- <skipProvidedScope>true</skipProvidedScope>
1666 <skipRuntimeScope>true</skipRuntimeScope> -->
1667 </configuration>
1668 <executions>
1669 <execution>
1670 <goals>
1671 <goal>check</goal>
1672 </goals>
1673 </execution>
1674 </executions>
1675 </plugin>
1676
1677 </plugins>
1678 </build>
1679
1680 <reporting>
1681 <plugins>
1682 <plugin>
1683 <groupId>org.codehaus.mojo</groupId>
1684 <artifactId>cobertura-maven-plugin</artifactId>
1685 <version>2.5.2</version>
1686 <configuration>
1687 <check />
1688 <formats>
1689 <format>html</format>
1690 <format>xml</format>
1691 </formats>
1692 </configuration>
1693 </plugin>
1694 <plugin>
1695 <groupId>org.apache.maven.plugins</groupId>
1696 <artifactId>maven-checkstyle-plugin</artifactId>
1697 <version>2.17</version>
1698 <configuration>
1699 <configLocation>${activemq.basedir}/etc/checkstyle.xml</configLocation>
1700 <suppressionsLocation>${activemq.basedir}/etc/checkstyle-suppressions.xml</suppressionsLocation>
1701 <failsOnError>false</failsOnError>
1702 </configuration>
1703 </plugin>
1704 <plugin>
1705 <groupId>org.codehaus.mojo</groupId>
1706 <artifactId>findbugs-maven-plugin</artifactId>
1707 <version>2.5.2</version>
1708 <configuration>
1709 <excludeFilterFile>${user.dir}/etc/findbugs-exclude.xml</excludeFilterFile>
1710 <effort>Max</effort>
1711 <failOnError>false</failOnError>
1712 </configuration>
1713 </plugin>
1714 <plugin>
1715 <groupId>org.apache.maven.plugins</groupId>
1716 <artifactId>maven-javadoc-plugin</artifactId>
1717 <version>2.9</version>
1718 <configuration>
1719 <minmemory>128m</minmemory>
1720 <maxmemory>1024m</maxmemory>
1721 <quiet>false</quiet>
1722 <!-- XXX FIXME 'aggregate' is deprecated -->
1723 <aggregate>true</aggregate>
1724 <excludePackageNames>com.restfully.*:org.jboss.resteasy.examples.*:org.jboss.resteasy.tests.*
1725 </excludePackageNames>
1726 </configuration>
1727 </plugin>
1728 <plugin>
1729 <groupId>org.apache.maven.plugins</groupId>
1730 <artifactId>maven-project-info-reports-plugin</artifactId>
1731 <version>2.7</version>
1732 </plugin>
1733 <plugin>
1734 <groupId>org.apache.maven.plugins</groupId>
1735 <artifactId>maven-surefire-report-plugin</artifactId>
1736 <version>2.14.1</version>
1737 </plugin>
1738 <plugin>
1739 <groupId>org.owasp</groupId>
1740 <artifactId>dependency-check-maven</artifactId>
1741 <version>${owasp.version}</version>
1742 <reportSets>
1743 <reportSet>
1744 <reports>
1745 <report>aggregate</report>
1746 </reports>
1747 </reportSet>
1748 </reportSets>
1749 </plugin>
1750
1751 </plugins>
1752 </reporting>
1753
1754 </project>