update link to upper-constraints.txt
[dmaap/messagerouter/messageservice.git] / pom.xml
1 <!-- ============LICENSE_START====================================================
2         org.onap.dmaap
3         ================================================================================
4         Copyright © 2017 AT&T Intellectual Property. All rights reserved.
5         Licensed under the Apache License, Version 2.0 (the "License"); you may not
6         use this file except in compliance with the License. You may obtain a copy
7         of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
8         by applicable law or agreed to in writing, software distributed under the
9         License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
10         OF ANY KIND, either express or implied. See the License for the specific
11         language governing permissions and limitations under the License.
12         ============LICENSE_END=========================================================
13         ECOMP is a trademark and service mark of AT&T Intellectual Property. -->
14 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
15                  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
16         <modelVersion>4.0.0</modelVersion>
17
18         <parent>
19                 <groupId>org.onap.oparent</groupId>
20                 <artifactId>oparent</artifactId>
21                 <version>3.2.1</version>
22         </parent>
23
24         <groupId>org.onap.dmaap.messagerouter.messageservice</groupId>
25         <artifactId>dmaapMR1</artifactId>
26         <version>1.4.5-SNAPSHOT</version>
27         <name>dmaap-messagerouter-messageservice</name>
28         <description>Message Router - Restful interface built for kafka</description>
29         <licenses>
30                 <license>
31                         <name>Apache License Version 2.0</name>
32                 </license>
33         </licenses>
34         <properties>
35                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
36                 <dockerLocation>${basedir}/target/swm/package/nix/dist_files/</dockerLocation>
37                 <docker.image.prefix>simpledemo</docker.image.prefix>
38                 <module.ajsc.namespace.name>dmaap</module.ajsc.namespace.name>
39                 <module.ajsc.namespace.version>v1</module.ajsc.namespace.version>
40                 <ajscRuntimeVersion>3.0.11-oss</ajscRuntimeVersion>
41
42                 <!-- This will be the Absolute Root of the Project and should contain NO Versioning -->
43                 <absoluteDistFilesRoot>/appl/${project.artifactId}</absoluteDistFilesRoot>
44                 <!-- <absoluteDistFilesRoot>/opt/app/dmaap/${project.artifactId}</absoluteDistFilesRoot> -->
45                 <!-- For Versioning upon installation, add /${project.version} to distFilesRoot.
46                         For NO Versioning, leave as is -->
47                 <!-- example: /appl/${project.artifactId}/${project.version}. Also, add
48                         ${project.version} to ${runAjscHome} for running locally. -->
49                 <distFilesRoot>/appl/${project.artifactId}</distFilesRoot>
50                 <!-- <distFilesRoot>/opt/app/dmaap/${project.artifactId}</distFilesRoot> -->
51                 <runAjscHome>${basedir}/target/swm/package/nix/dist_files${distFilesRoot}</runAjscHome>
52                 <serverPort>3904</serverPort>
53                 <sslport>3905</sslport>
54                 <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
55                 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
56                 <camel.version>2.21.5</camel.version>
57                 <camel.version.latest>3.17.0</camel.version.latest>
58                 <skip.docker.build>false</skip.docker.build>
59                 <skip.docker.tag>false</skip.docker.tag>
60                 <skip.docker.push>false</skip.docker.push>
61                 <docker.push.registry>nexus3.onap.org:10003</docker.push.registry>
62                 <nexusproxy>https://nexus.onap.org</nexusproxy>
63                 <spring.version>5.3.20</spring.version>
64                 <sonar.language>java</sonar.language>
65                 <sonar.skip>false</sonar.skip>
66                 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
67                 <sonar.projectVersion>${project.version}</sonar.projectVersion>
68                 <log4j.version>2.17.1</log4j.version>
69                 <maven.compiler.target>8</maven.compiler.target>
70                 <maven.compiler.source>8</maven.compiler.source>
71                 <skip.deploy>false</skip.deploy>
72         </properties>
73
74         <build>
75                 <plugins>
76                         <plugin>
77                         <artifactId>maven-checkstyle-plugin</artifactId>
78                         <executions>
79                                 <execution>
80                                         <id>onap-java-style</id>
81                                         <configuration>
82                                                 <consoleOutput>false</consoleOutput>
83                                         </configuration>
84                                 </execution>
85                         </executions>
86                 </plugin>
87                         <plugin>
88                                 <groupId>org.apache.maven.plugins</groupId>
89                                 <artifactId>maven-site-plugin</artifactId>
90                         </plugin>
91                         <plugin>
92                                 <groupId>org.apache.maven.plugins</groupId>
93                                 <artifactId>maven-jar-plugin</artifactId>
94                                 <version>3.0.2</version>
95                         </plugin>
96                         <plugin>
97                                 <groupId>org.apache.maven.plugins</groupId>
98                                 <artifactId>maven-source-plugin</artifactId>
99                                 <version>3.0.0</version>
100                                 <executions>
101                                         <execution>
102                                                 <id>attach-sources</id>
103                                                 <goals>
104                                                         <goal>jar-no-fork</goal>
105                                                 </goals>
106                                         </execution>
107                                 </executions>
108                         </plugin>
109                         <plugin>
110                                 <groupId>org.apache.maven.plugins</groupId>
111                                 <artifactId>maven-release-plugin</artifactId>
112                                 <version>2.5.3</version>
113                                 <configuration>
114                                         <autoVersionSubmodules>true</autoVersionSubmodules>
115                                         <checkModificationExcludes>
116                                         </checkModificationExcludes>
117                                 </configuration>
118                                 <dependencies>
119                                         <dependency>
120                                                 <groupId>org.apache.maven.scm</groupId>
121                                                 <artifactId>maven-scm-provider-gitexe</artifactId>
122                                                 <version>1.9.4</version>
123                                         </dependency>
124                                 </dependencies>
125                         </plugin>
126                         <plugin>
127                                 <groupId>com.blackducksoftware.integration</groupId>
128                                 <artifactId>hub-maven-plugin</artifactId>
129                                 <version>1.0.4</version>
130                                 <inherited>false</inherited>
131                                 <configuration>
132                                         <target>${project.basedir}</target>
133                                 </configuration>
134                                 <executions>
135                                         <execution>
136                                                 <id>create-bdio-file</id>
137                                                 <phase>package</phase>
138                                                 <goals>
139                                                         <goal>createHubOutput</goal>
140                                                 </goals>
141                                         </execution>
142                                 </executions>
143                         </plugin>
144                         <plugin>
145                                 <groupId>org.codehaus.groovy</groupId>
146                                 <artifactId>groovy-eclipse-compiler</artifactId>
147                                 <version>2.8.0-01</version>
148                                 <extensions>true</extensions>
149                         </plugin>
150                         <plugin>
151                                 <artifactId>maven-deploy-plugin</artifactId>
152                                 <version>3.0.0-M1</version>
153                                 <configuration>
154                                         <skip>${skip.deploy}</skip>
155                                 </configuration>
156                         </plugin>
157                 </plugins>
158         </build>
159
160         <!-- Distribution management -->
161         <distributionManagement>
162                 <site>
163                         <id>ecomp-site</id>
164                         <url>dav:${nexusproxy}${sitePath}</url>
165                 </site>
166         </distributionManagement>
167
168         <!-- End Distribution management -->
169
170         <!-- The standard build tasks for this project are inherited from the parent.
171                 Please do not override the build tasks. However tasks and/or profiles can
172                 be included here as well as additional dependencies for your service. Any
173                 runtime or compile scope dependencies will be copied to the INSTALLATION_PATH/extJars
174                 folder and will be made available on the AJSC classpath for your service.
175                 Please, NOTE: DME2 and CSM related dependencies are EXTERNALIZED within the
176                 CSI environment. Therefore, they are provided within this project as "provided"
177                 dependencies. In order for the AJSC to run properly, locally, the CSM and
178                 DME2 dependencies will be copied into the target/commonLibs folder and will
179                 be made available to the classpath of the AJSC through the use of the system
180                 property, "AJSC_EXTERNAL_LIB_FOLDERS". This system property needs to be set
181                 in the "runAjsc" maven profile within the pom.xml (and, is defaulted to do
182                 so). If you have a startup failure related to a missing dme2 class not found
183                 exception, please contact the AJSC team for assistance. You can email support
184                 at ajsc-Support <DL-ajsc-Support@att.com>. For more information regarding
185                 the usage of the AJSC service pom.xml and management of dependencies, -->
186         <dependencies>
187                 <dependency>
188                         <groupId>org.springframework.boot</groupId>
189                         <artifactId>spring-boot-starter-actuator</artifactId>
190                         <version>2.4.0</version>
191                         <exclusions>
192                                 <exclusion>
193                                         <artifactId>logback-classic</artifactId>
194                                         <groupId>ch.qos.logback</groupId>
195                                 </exclusion>
196                         </exclusions>
197                 </dependency>
198                 <!-- Micormeter core dependecy  -->
199                 <dependency>
200                         <groupId>io.micrometer</groupId>
201                         <artifactId>micrometer-core</artifactId>
202                         <version>1.7.1</version>
203                 </dependency>
204                 <!-- Micrometer Prometheus registry  -->
205                 <dependency>
206                         <groupId>io.micrometer</groupId>
207                         <artifactId>micrometer-registry-prometheus</artifactId>
208                         <version>1.6.1</version>
209                 </dependency>
210                 <dependency>
211                         <groupId>com.sun.mail</groupId>
212                         <artifactId>javax.mail</artifactId>
213                         <version>1.6.0</version>
214                         <exclusions>
215                                 <!-- javax activation is part of the JDK now -->
216                                 <exclusion>
217                                         <groupId>javax.activation</groupId>
218                                         <artifactId>activation</artifactId>
219                                 </exclusion>
220                         </exclusions>
221                 </dependency>
222                 <dependency>
223                         <groupId>com.sun.xml.bind</groupId>
224                         <artifactId>jaxb-core</artifactId>
225                         <version>2.3.0.1</version>
226                         <scope>compile</scope>
227                 </dependency>
228                 <dependency>
229                         <groupId>com.sun.xml.bind</groupId>
230                         <artifactId>jaxb-impl</artifactId>
231                         <version>2.3.0.1</version>
232                         <scope>compile</scope>
233                         <exclusions>
234                                 <exclusion>
235                                         <artifactId>jsr181-api</artifactId>
236                                         <groupId>javax.jws</groupId>
237                                 </exclusion>
238                         </exclusions>
239                 </dependency>
240                 <dependency>
241                         <groupId>org.apache.cxf</groupId>
242                         <artifactId>cxf-rt-transports-http</artifactId>
243                         <version>3.2.5</version>
244                 </dependency>
245                 <dependency>
246                         <groupId>com.att.aft</groupId>
247                         <artifactId>dme2</artifactId>
248                         <version>3.1.200-oss</version>
249                         <exclusions>
250                                 <exclusion>
251                                         <groupId>javax.jms</groupId>
252                                         <artifactId>jms</artifactId>
253                                 </exclusion>
254                         </exclusions>
255                 </dependency>
256                 <dependency>
257                         <groupId>org.springframework</groupId>
258                         <artifactId>spring-test</artifactId>
259                         <version>3.2.12.RELEASE</version>
260                         <scope>test</scope>
261                 </dependency>
262                 <dependency>
263                         <groupId>org.springframework</groupId>
264                         <artifactId>spring-expression</artifactId>
265                         <version>4.3.18.RELEASE</version>
266                 </dependency>
267                 <dependency>
268                         <groupId>org.springframework</groupId>
269                         <artifactId>spring-messaging</artifactId>
270                         <version>4.1.9.RELEASE</version>
271                 </dependency>
272                 <dependency>
273                         <groupId>org.apache.zookeeper</groupId>
274                         <artifactId>zookeeper</artifactId>
275                         <version>3.7.0</version>
276                         <exclusions>
277                                 <exclusion>
278                                         <artifactId>slf4j-log4j12</artifactId>
279                                         <groupId>org.slf4j</groupId>
280                                 </exclusion>
281                         </exclusions>
282                 </dependency>
283                 <dependency>
284                         <groupId>com.101tec</groupId>
285                         <artifactId>zkclient</artifactId>
286                         <version>0.11</version>
287                 </dependency>
288                 <!-- Log4j2 logger -->
289                 <dependency>
290                         <groupId>org.apache.logging.log4j</groupId>
291                         <artifactId>log4j-api</artifactId>
292                         <version>${log4j.version}</version>
293                 </dependency>
294                 <dependency>
295                         <groupId>org.apache.logging.log4j</groupId>
296                         <artifactId>log4j-core</artifactId>
297                         <version>${log4j.version}</version>
298                 </dependency>
299                 <dependency>
300                         <groupId>org.slf4j</groupId>
301                         <artifactId>slf4j-log4j12</artifactId>
302                         <version>1.7.32</version>
303                         <exclusions>
304                                 <exclusion>
305                                         <groupId>*</groupId>
306                                         <artifactId>*</artifactId>
307                                 </exclusion>
308                         </exclusions>
309                 </dependency>
310                 <dependency>
311                         <groupId>org.hamcrest</groupId>
312                         <artifactId>hamcrest-library</artifactId>
313                         <version>1.3</version>
314                         <scope>test</scope>
315                 </dependency>
316                 <dependency>
317                         <groupId>org.apache.kafka</groupId>
318                         <artifactId>kafka_2.13</artifactId>
319                         <version>2.8.0</version>
320                 </dependency>
321                 <dependency>
322                         <groupId>commons-codec</groupId>
323                         <artifactId>commons-codec</artifactId>
324                         <version>1.14</version>
325                 </dependency>
326                 <dependency>
327                         <groupId>jline</groupId>
328                         <artifactId>jline</artifactId>
329                         <version>2.12.1</version>
330                 </dependency>
331                 <dependency>
332                         <groupId>org.quartz-scheduler</groupId>
333                         <artifactId>quartz</artifactId>
334                         <version>2.3.2</version>
335                 </dependency>
336                 <dependency>
337                         <groupId>com.fasterxml.woodstox</groupId>
338                         <artifactId>woodstox-core</artifactId>
339                         <version>6.2.8</version>
340                 </dependency>
341                 <dependency>
342                         <groupId>org.grails</groupId>
343                         <artifactId>grails-bootstrap</artifactId>
344                         <version>4.0.1</version>
345                         <scope>compile</scope>
346                         <exclusions>
347                                 <exclusion>
348                                         <artifactId>ant</artifactId>
349                                         <groupId>org.apache.ant</groupId>
350                                 </exclusion>
351                                 <exclusion>
352                                         <artifactId>jna</artifactId>
353                                         <groupId>net.java.dev.jna</groupId>
354                                 </exclusion>
355                                 <exclusion>
356                                         <artifactId>ant-trax</artifactId>
357                                         <groupId>org.apache.ant</groupId>
358                                 </exclusion>
359                                 <exclusion>
360                                         <artifactId>gant_groovy1.8</artifactId>
361                                         <groupId>org.codehaus.gant</groupId>
362                                 </exclusion>
363                                 <exclusion>
364                                         <artifactId>ant-launcher</artifactId>
365                                         <groupId>org.apache.ant</groupId>
366                                 </exclusion>
367                                 <exclusion>
368                                         <artifactId>jline</artifactId>
369                                         <groupId>jline</groupId>
370                                 </exclusion>
371                                 <exclusion>
372                                         <artifactId>ivy</artifactId>
373                                         <groupId>org.apache.ivy</groupId>
374                                 </exclusion>
375                                 <exclusion>
376                                         <artifactId>jansi</artifactId>
377                                         <groupId>org.fusesource.jansi</groupId>
378                                 </exclusion>
379                                 <exclusion>
380                                         <artifactId>commons-logging</artifactId>
381                                         <groupId>commons-logging</groupId>
382                                 </exclusion>
383                                 <exclusion>
384                                         <artifactId>ant-junit</artifactId>
385                                         <groupId>org.apache.ant</groupId>
386                                 </exclusion>
387                         </exclusions>
388                 </dependency>
389                 <dependency>
390                         <groupId>commons-fileupload</groupId>
391                         <artifactId>commons-fileupload</artifactId>
392                         <version>1.4</version>
393                 </dependency>
394                 <dependency>
395                         <groupId>org.springframework</groupId>
396                         <artifactId>spring-context</artifactId>
397                         <version>${spring.version}</version>
398                 </dependency>
399                 <dependency>
400                         <groupId>org.springframework</groupId>
401                         <artifactId>spring-webmvc</artifactId>
402                         <version>${spring.version}</version>
403                 </dependency>
404                 <dependency>
405                         <groupId>org.springframework</groupId>
406                         <artifactId>spring-core</artifactId>
407                         <version>${spring.version}</version>
408                 </dependency>
409                 <dependency>
410                         <groupId>org.springframework</groupId>
411                         <artifactId>spring-beans</artifactId>
412                         <version>${spring.version}</version>
413                 </dependency>
414                 <dependency>
415                         <groupId>commons-io</groupId>
416                         <artifactId>commons-io</artifactId>
417                         <version>2.11.0</version>
418                 </dependency>
419                 <dependency>
420                         <groupId>com.att.eelf</groupId>
421                         <artifactId>eelf-core</artifactId>
422                         <version>2.0.0-oss</version>
423                         <exclusions>
424                                 <exclusion>
425                                         <groupId>org.mockito</groupId>
426                                         <artifactId>mockito-core</artifactId>
427                                 </exclusion>
428                                 <exclusion>
429                                         <groupId>org.powermock</groupId>
430                                         <artifactId>powermock-module-junit4</artifactId>
431                                 </exclusion>
432                                 <exclusion>
433                                         <groupId>org.powermock</groupId>
434                                         <artifactId>powermock-api-mockito</artifactId>
435                                 </exclusion>
436                         </exclusions>
437                 </dependency>
438                 <!-- our NSA server library -->
439                 <dependency>
440                         <groupId>com.att.nsa</groupId>
441                         <artifactId>nsaServerLibrary</artifactId>
442                         <version>1.0.10</version>
443                         <exclusions>
444                                 <exclusion>
445                                         <groupId>org.apache.tomcat</groupId>
446                                         <artifactId>tomcat-catalina</artifactId>
447                                 </exclusion>
448                                 <exclusion>
449                                         <groupId>org.apache.tomcat.embed</groupId>
450                                         <artifactId>tomcat-embed-core</artifactId>
451                                 </exclusion>
452                                 <exclusion>
453                                         <groupId>org.apache.tomcat</groupId>
454                                         <artifactId>tomcat-util</artifactId>
455                                 </exclusion>
456                                 <exclusion>
457                                         <groupId>javax.mail</groupId>
458                                         <artifactId>mail</artifactId>
459                                 </exclusion>
460                         </exclusions>
461                 </dependency>
462                 <dependency>
463                         <groupId>com.att.nsa</groupId>
464                         <artifactId>saToolkit</artifactId>
465                         <version>1.2.0-oss</version>
466                 </dependency>
467                 <dependency>
468                         <groupId>org.apache.curator</groupId>
469                         <artifactId>curator-recipes</artifactId>
470                         <version>4.0.1</version>
471                 </dependency>
472                 <dependency>
473                         <groupId>org.apache.curator</groupId>
474                         <artifactId>curator-test</artifactId>
475                         <version>4.0.1</version>
476                 </dependency>
477                 <dependency>
478                         <groupId>javax.inject</groupId>
479                         <artifactId>javax.inject</artifactId>
480                         <version>1</version>
481                 </dependency>
482                 <dependency>
483                         <groupId>org.mockito</groupId>
484                         <artifactId>mockito-core</artifactId>
485                         <version>3.9.0</version>
486                         <scope>test</scope>
487                 </dependency>
488                 <dependency>
489                         <groupId>org.powermock</groupId>
490                         <artifactId>powermock-core</artifactId>
491                         <version>2.0.7</version>
492                         <scope>test</scope>
493                 </dependency>
494                 <dependency>
495                         <groupId>org.powermock</groupId>
496                         <artifactId>powermock-module-junit4</artifactId>
497                         <version>2.0.7</version>
498                         <scope>test</scope>
499                 </dependency>
500                 <dependency>
501                         <groupId>org.powermock</groupId>
502                         <artifactId>powermock-module-junit4-rule</artifactId>
503                         <version>2.0.7</version>
504                         <scope>test</scope>
505                 </dependency>
506                 <dependency>
507                         <groupId>org.powermock</groupId>
508                         <artifactId>powermock-api-support</artifactId>
509                         <version>2.0.7</version>
510                         <scope>test</scope>
511                 </dependency>
512                 <dependency>
513                         <groupId>org.powermock</groupId>
514                         <artifactId>powermock-api-mockito2</artifactId>
515                         <version>2.0.7</version>
516                 </dependency>
517                 <dependency>
518                         <groupId>com.fasterxml.jackson.jaxrs</groupId>
519                         <artifactId>jackson-jaxrs-json-provider</artifactId>
520                         <version>2.2.3</version>
521                 </dependency>
522                 <dependency>
523                         <groupId>com.fasterxml.jackson.core</groupId>
524                         <artifactId>jackson-core</artifactId>
525                 </dependency>
526                 <dependency>
527                         <groupId>com.fasterxml.jackson.core</groupId>
528                         <artifactId>jackson-databind</artifactId>
529                         <version>2.13.4</version>
530                 </dependency>
531                 <dependency>
532                         <groupId>org.grails</groupId>
533                         <artifactId>grails-web</artifactId>
534                         <version>2.5.4</version>
535                         <exclusions>
536                                 <exclusion>
537                                         <groupId>org.grails</groupId>
538                                         <artifactId>grails-web-jsp</artifactId>
539                                 </exclusion>
540                         </exclusions>
541                 </dependency>
542                 <dependency>
543                         <groupId>org.codehaus.groovy</groupId>
544                         <artifactId>groovy-all</artifactId>
545                         <version>3.0.8</version>
546                         <type>pom</type>
547                         <exclusions>
548                                 <exclusion>
549                                         <artifactId>jline</artifactId>
550                                         <groupId>jline</groupId>
551                                 </exclusion>
552                                 <exclusion>
553                                         <artifactId>testng</artifactId>
554                                         <groupId>org.testng</groupId>
555                                 </exclusion>
556                         </exclusions>
557                 </dependency>
558                 <dependency>
559                         <groupId>junit</groupId>
560                         <artifactId>junit</artifactId>
561                         <version>4.13.2</version>
562                         <scope>test</scope>
563                 </dependency>
564                 <dependency>
565                         <groupId>org.json</groupId>
566                         <artifactId>json</artifactId>
567                         <version>20131018</version>
568                 </dependency>
569                 <!-- CXF JAX-RS extension -->
570                 <dependency>
571                         <groupId>org.apache.cxf</groupId>
572                         <artifactId>cxf-rt-rs-extension-providers</artifactId>
573                         <version>3.2.2</version>
574                         <exclusions>
575                                 <exclusion>
576                                         <groupId>org.apache.cxf</groupId>
577                                         <artifactId>cxf-core</artifactId>
578                                 </exclusion>
579                         </exclusions>
580                 </dependency>
581                 <dependency>
582                         <groupId>org.codehaus.jettison</groupId>
583                         <artifactId>jettison</artifactId>
584                         <version>1.3.7</version>
585                 </dependency>
586                 <dependency>
587                         <groupId>com.att.ajsc</groupId>
588                         <artifactId>ajsc-archetype-parent</artifactId>
589                         <version>3.0.11-oss</version>
590                         <type>pom</type>
591                 </dependency>
592                 <dependency>
593                         <groupId>org.onap.aaf.authz</groupId>
594                         <artifactId>aaf-cadi-aaf</artifactId>
595                         <version>2.7.4</version>
596                         <exclusions>
597                                 <exclusion>
598                                         <artifactId>log4j</artifactId>
599                                         <groupId>log4j</groupId>
600                                 </exclusion>
601                         </exclusions>
602                 </dependency>
603                 <dependency>
604                         <groupId>backport-util-concurrent</groupId>
605                         <artifactId>backport-util-concurrent</artifactId>
606                         <version>3.1</version>
607                 </dependency>
608                 <dependency>
609                         <groupId>org.apache.camel</groupId>
610                         <artifactId>camel-core</artifactId>
611                         <version>3.4.0</version>
612                 </dependency>
613                 <dependency>
614                         <groupId>org.apache.camel</groupId>
615                         <artifactId>camel-quartz</artifactId>
616                         <version>${camel.version}</version>
617                 </dependency>
618                 <dependency>
619                         <groupId>org.apache.camel</groupId>
620                         <artifactId>camel-spring</artifactId>
621                         <version>${camel.version.latest}</version>
622                 </dependency>
623                 <dependency>
624                         <groupId>org.apache.camel</groupId>
625                         <artifactId>camel-restlet</artifactId>
626                         <version>${camel.version}</version>
627                         <exclusions>
628                                 <exclusion>
629                                         <artifactId>org.restlet</artifactId>
630                                         <groupId>org.restlet.jse</groupId>
631                                 </exclusion>
632                         </exclusions>
633                 </dependency>
634                 <dependency>
635                         <groupId>org.apache.camel</groupId>
636                         <artifactId>camel-servlet</artifactId>
637                         <version>${camel.version}</version>
638                 </dependency>
639                 <dependency>
640                         <groupId>org.apache.httpcomponents</groupId>
641                         <artifactId>httpcore</artifactId>
642                         <version>4.4.1</version>
643                 </dependency>
644                 <dependency>
645                         <groupId>org.apache.camel</groupId>
646                         <artifactId>camel-http4</artifactId>
647                         <version>${camel.version}</version>
648                         <exclusions>
649                                 <exclusion>
650                                         <groupId>org.apache.geronimo.specs</groupId>
651                                         <artifactId>geronimo-servlet_2.5_spec</artifactId>
652                                 </exclusion>
653                         </exclusions>
654                 </dependency>
655                 <dependency>
656                         <groupId>org.apache.camel</groupId>
657                         <artifactId>camel-groovy</artifactId>
658                         <version>${camel.version.latest}</version>
659                 </dependency>
660                 <dependency>
661                         <groupId>org.apache.camel</groupId>
662                         <artifactId>camel-twitter</artifactId>
663                         <version>${camel.version}</version>
664                 </dependency>
665                 <dependency>
666                         <groupId>org.apache.camel</groupId>
667                         <artifactId>camel-mail</artifactId>
668                         <version>${camel.version}</version>
669                 </dependency>
670                 <dependency>
671                         <groupId>org.apache.camel</groupId>
672                         <artifactId>camel-smpp</artifactId>
673                         <version>${camel.version}</version>
674                 </dependency>
675                 <dependency>
676                         <groupId>org.apache.camel</groupId>
677                         <artifactId>camel-jms</artifactId>
678                         <version>${camel.version}</version>
679                 </dependency>
680                 <dependency>
681                         <groupId>org.apache.camel</groupId>
682                         <artifactId>camel-script</artifactId>
683                         <version>${camel.version}</version>
684                 </dependency>
685                 <dependency>
686                         <groupId>org.apache.camel</groupId>
687                         <artifactId>camel-xmpp</artifactId>
688                         <version>${camel.version}</version>
689                 </dependency>
690                 <dependency>
691                         <groupId>org.igniterealtime.smack</groupId>
692                         <artifactId>smack-tcp</artifactId>
693                         <version>4.4.2</version>
694                 </dependency>
695                 <dependency>
696                         <groupId>org.apache.camel</groupId>
697                         <artifactId>camel-velocity</artifactId>
698                         <version>${camel.version.latest}</version>
699                 </dependency>
700                 <dependency>
701                         <groupId>com.att.ajsc</groupId>
702                         <artifactId>ajsc-runner</artifactId>
703                         <version>3.0.11-oss</version>
704                         <scope>runtime</scope>
705                 </dependency>
706                 <dependency>
707                         <groupId>com.att.ajsc</groupId>
708                         <artifactId>ajsc-core</artifactId>
709                         <version>3.0.11-oss</version>
710                         <scope>provided</scope>
711                 </dependency>
712                 <dependency>
713                         <groupId>io.dropwizard.metrics</groupId>
714                         <artifactId>metrics-core</artifactId>
715                         <version>4.2.3</version>
716                         <scope>test</scope>
717                 </dependency>
718                 <dependency>
719                         <groupId>org.slf4j</groupId>
720                         <artifactId>slf4j-api</artifactId>
721                         <version>1.7.32</version>
722                 </dependency>
723                 <dependency>
724                         <groupId>com.github.stefanbirkner</groupId>
725                         <artifactId>system-rules</artifactId>
726                         <version>1.17.2</version>
727                         <scope>test</scope>
728                 </dependency>
729         </dependencies>
730         <profiles>
731                 <!-- Use this profile to run the AJSC locally. This profile can be successfully
732                         shutdown WITHIN eclipse even in a Windows environment. Debugging is also
733                         available with this profile. -->
734                 <profile>
735                         <id>docker</id>
736                         <properties>
737                                 <skipTests>true</skipTests>
738                         </properties>
739                         <build>
740                                 <plugins>
741                                         <plugin>
742                                                 <groupId>org.codehaus.groovy.maven</groupId>
743                                                 <artifactId>gmaven-plugin</artifactId>
744                                                 <executions>
745                                                         <execution>
746                                                                 <phase>validate</phase>
747                                                                 <goals>
748                                                                         <goal>execute</goal>
749                                                                 </goals>
750                                                                 <configuration>
751                                                                         <properties>
752                                                                                 <ver>${project.version}</ver>
753                                                                                 <timestamp>${maven.build.timestamp}</timestamp>
754                                                                         </properties>
755                                                                         <source>
756                                                                                 println project.properties['ver'];
757                                                                                 if ( project.properties['ver'].endsWith("-SNAPSHOT") ) {
758                                                                                         project.properties['dockertag1']=project.properties['ver'] + "-latest";
759                                                                                         project.properties['dockertag2']=project.properties['ver'] + "-" + project.properties['timestamp'];
760                                                                                 } else {
761                                                                                         project.properties['dockertag1']=project.properties['ver'] + "-STAGING-latest";
762                                                                                         project.properties['dockertag2']=project.properties['ver'] + "-STAGING-" + project.properties['timestamp'];
763                                                                                 }
764                                                                                 println 'docker tag 1: ' + project.properties['dockertag1'];
765                                                                                 println 'docker tag 2: ' + project.properties['dockertag2'];
766                                                                         </source>
767                                                                 </configuration>
768                                                         </execution>
769                                                 </executions>
770                                         </plugin>
771                                         <plugin>
772                                                 <groupId>io.fabric8</groupId>
773                                                 <artifactId>docker-maven-plugin</artifactId>
774                                                 <version>0.33.0</version>
775                                                 <configuration>
776                                                         <skipBuild>${skip.docker.build}</skipBuild>
777                                                         <skipPush>${skip.docker.push}</skipPush>
778                                                         <pullRegistry>${docker.pull.registry}</pullRegistry>
779                                                         <pushRegistry>${docker.push.registry}</pushRegistry>
780                                                         <images>
781                                                                 <image>
782                                                                         <name>onap/dmaap/dmaap-mr</name>
783                                                                         <build>
784                                                                                 <cleanup>try</cleanup>
785                                                                                 <dockerFileDir>${dockerLocation}</dockerFileDir>
786                                                                                 <dockerFile>Dockerfile</dockerFile>
787                                                                                 <tags>
788                                                                                         <tag>${dockertag1}</tag>
789                                                                                         <tag>${dockertag2}</tag>
790                                                                                 </tags>
791                                                                         </build>
792                                                                 </image>
793                                                         </images>
794                                                 </configuration>
795                                                 <executions>
796                                                         <execution>
797                                                                 <id>generate-images</id>
798                                                                 <phase>install</phase>
799                                                                 <goals>
800                                                                         <goal>build</goal>
801                                                                 </goals>
802                                                         </execution>
803                                                         <execution>
804                                                                 <id>push-images</id>
805                                                                 <phase>deploy</phase>
806                                                                 <goals>
807                                                                         <goal>push</goal>
808                                                                 </goals>
809                                                         </execution>
810                                                 </executions>
811                                         </plugin>
812                                 </plugins>
813                         </build>
814                 </profile>
815                 <profile>
816                         <id>standardbuild</id>
817                         <activation>
818                                 <file>
819                                         <exists>src</exists>
820                                 </file>
821                         </activation>
822                         <build>
823                                 <resources>
824                                         <resource>
825                                                 <directory>src/main/resources</directory>
826                                                 <excludes>
827                                                         <exclude>extApps/*.*</exclude>
828                                                         <exclude>${module.ajsc.namespace.name}/**</exclude>
829                                                 </excludes>
830                                         </resource>
831                                         <resource>
832                                                 <directory>src/main/ajsc/\${namespace}_${namespaceVersion}/\${namespace}/\${namespaceVersion}</directory>
833                                                 <excludes>
834                                                         <exclude>**/*.route</exclude>
835                                                         <exclude>**/*.props</exclude>
836                                                         <exclude>**/*.xslt</exclude>
837                                                         <exclude>**/*.vm</exclude>
838                                                         <exclude>**/*.jar</exclude>
839                                                         <exclude>**/*.xml</exclude>
840                                                 </excludes>
841                                         </resource>
842                                 </resources>
843                                 <plugins>
844                                         <plugin>
845                                                 <groupId>org.apache.maven.plugins</groupId>
846                                                 <artifactId>maven-compiler-plugin</artifactId>
847                                                 <version>3.1</version>
848                                         </plugin>
849                                         <plugin>
850                                                 <groupId>org.codehaus.groovy</groupId>
851                                                 <artifactId>groovy-eclipse-compiler</artifactId>
852                                                 <version>2.8.0-01</version>
853                                                 <extensions>true</extensions>
854                                         </plugin>
855                                         <plugin>
856                                                 <groupId>org.codehaus.mojo</groupId>
857                                                 <artifactId>exec-maven-plugin</artifactId>
858                                                 <version>1.2.1</version>
859                                                 <executions>
860                                                         <execution>
861                                                                 <goals>
862                                                                         <goal>exec</goal>
863                                                                 </goals>
864                                                         </execution>
865                                                 </executions>
866                                                 <configuration>
867                                                         <executable>bash</executable>
868                                                         <arguments>
869                                                                 <argument>runServer.sh</argument>
870                                                         </arguments>
871                                                 </configuration>
872                                         </plugin>
873                                         <plugin>
874                                                 <groupId>org.codehaus.mojo</groupId>
875                                                 <artifactId>build-helper-maven-plugin</artifactId>
876                                                 <version>1.9</version>
877                                                 <executions>
878                                                         <execution>
879                                                                 <id>add-source-groovy-ajsc-arch-parent</id>
880                                                                 <phase>generate-sources</phase>
881                                                                 <goals>
882                                                                         <goal>add-source</goal>
883                                                                 </goals>
884                                                                 <configuration>
885                                                                         <sources>
886                                                                                 <source>src/main/groovy</source>
887                                                                         </sources>
888                                                                 </configuration>
889                                                         </execution>
890                                                         <execution>
891                                                                 <id>add-test-source-groovy-ajsc-arch-parent</id>
892                                                                 <phase>generate-test-sources</phase>
893                                                                 <goals>
894                                                                         <goal>add-test-source</goal>
895                                                                 </goals>
896                                                                 <configuration>
897                                                                         <sources>
898                                                                                 <source>src/test/groovy</source>
899                                                                         </sources>
900                                                                 </configuration>
901                                                         </execution>
902                                                         <execution>
903                                                                 <id>regex-properties-ajsc-arch-parent</id>
904                                                                 <phase>initialize</phase>
905                                                                 <goals>
906                                                                         <goal>regex-properties</goal>
907                                                                 </goals>
908                                                                 <configuration>
909                                                                         <regexPropertySettings>
910                                                                                 <regexPropertySetting>
911                                                                                         <name>replaceWinFilePath</name>
912                                                                                         <value>${runAjscHome}</value>
913                                                                                         <regex>\\</regex>
914                                                                                         <replacement>/</replacement>
915                                                                                         <failIfNoMatch>false</failIfNoMatch>
916                                                                                 </regexPropertySetting>
917                                                                                 <regexPropertySetting>
918                                                                                         <name>replaceWinBasedirPath</name>
919                                                                                         <value>${basedir}</value>
920                                                                                         <regex>\\</regex>
921                                                                                         <replacement>/</replacement>
922                                                                                         <failIfNoMatch>false</failIfNoMatch>
923                                                                                 </regexPropertySetting>
924                                                                         </regexPropertySettings>
925                                                                 </configuration>
926                                                         </execution>
927                                                 </executions>
928                                         </plugin>
929                                         <plugin>
930                                                 <groupId>org.codehaus.mojo</groupId>
931                                                 <artifactId>properties-maven-plugin</artifactId>
932                                                 <version>1.0-alpha-2</version>
933                                                 <executions>
934                                                         <execution>
935                                                                 <id>write-project-properties-ajsc-arch-parent</id>
936                                                                 <phase>generate-resources</phase>
937                                                                 <goals>
938                                                                         <goal>write-project-properties</goal>
939                                                                 </goals>
940                                                                 <configuration>
941                                                                         <outputFile>
942                                                                                 ${project.build.outputDirectory}/build.properties
943                                                                         </outputFile>
944                                                                 </configuration>
945                                                         </execution>
946                                                 </executions>
947                                         </plugin>
948                                         <plugin>
949                                                 <groupId>org.apache.maven.plugins</groupId>
950                                                 <artifactId>maven-assembly-plugin</artifactId>
951                                                 <version>2.4</version>
952                                                 <executions>
953                                                         <execution>
954                                                                 <id>make-assembly-ajsc-arch-parent</id>
955                                                                 <phase>package</phase>
956                                                                 <goals>
957                                                                         <goal>single</goal>
958                                                                 </goals>
959                                                         </execution>
960                                                 </executions>
961                                                 <configuration>
962                                                         <finalName>${project.artifactId}</finalName>
963                                                         <descriptors>
964                                                                 <descriptor>src/main/assemble/ajsc_runtime_assembly.xml</descriptor>
965                                                         </descriptors>
966                                                 </configuration>
967                                         </plugin>
968                                         <plugin>
969                                                 <groupId>org.codehaus.groovy.maven</groupId>
970                                                 <artifactId>gmaven-plugin</artifactId>
971                                                 <version>1.0</version>
972                                                 <executions>
973                                                         <execution>
974                                                                 <id>gmaven-ajsc-arch-parent</id>
975                                                                 <phase>package</phase>
976                                                                 <goals>
977                                                                         <goal>execute</goal>
978                                                                 </goals>
979                                                                 <configuration>
980                                                                         <sourcepath>src/main/groovy</sourcepath>
981                                                                         <source>
982                                                                                 import ajsc.AssemblyService;
983                                                                                 ajsc.AssemblyService.getBasedir(project.basedir.getAbsolutePath(),"${distFilesRoot}")
984                                                                         </source>
985                                                                 </configuration>
986                                                         </execution>
987                                                 </executions>
988                                         </plugin>
989                                         <plugin>
990                                                 <groupId>org.apache.maven.plugins</groupId>
991                                                 <artifactId>maven-antrun-plugin</artifactId>
992                                                 <version>1.7</version>
993                                                 <executions>
994                                                         <execution>
995                                                                 <id>prep_service_runtime-ajsc-arch-parent</id>
996                                                                 <phase>generate-resources</phase>
997                                                                 <configuration>
998                                                                         <target name="prep_service_runtime">
999                                                                                 <echo message="ENTERING 'copy_services_template' ant tasks" />
1000                                                                                 <!-- <filter token="basedir" value="${basedir}" /> -->
1001                                                                                 <!-- delete any prior stating stuff before package phase -->
1002                                                                                 <delete dir="target/versioned-ajsc" includes="**/*" />
1003                                                                                 <delete dir="target/versioned-runtime" includes="**/*" />
1004                                                                                 <delete dir="target/CDP" includes="**/*" />
1005
1006                                                                                 <!-- This is where replacer plugin replaces tokens (Example: __module_ajsc_namespace_name__
1007                                                                                         is replaced by module.ajsc.namespace.name) -->
1008                                                                                 <copy todir="target/versioned-ajsc">
1009                                                                                         <fileset dir="src/main/ajsc" includes="**/*" />
1010                                                                                 </copy>
1011
1012                                                                                 <!-- Copying the CDP, bundleconfig, and StaticContent to the target
1013                                                                                         directory for future use by replacer plugin -->
1014                                                                                 <copy todir="target/CDP" failonerror="false">
1015                                                                                         <fileset dir="CDP" includes="**/*.sh" />
1016                                                                                 </copy>
1017                                                                                 <copy flatten="true" file="CDP/SampleBlueprint.xml"
1018                                                                                           failonerror="false"
1019                                                                                           tofile="target/CDP/${module.ajsc.namespace.name}Blueprint.xml" />
1020                                                                                 <copy todir="target/staticContent" failonerror="false">
1021                                                                                         <fileset dir="staticContent" includes="**/*" />
1022                                                                                 </copy>
1023                                                                                 <copy todir="target/bundleconfig" failonerror="false">
1024                                                                                         <!-- filtering="true"> -->
1025                                                                                         <fileset dir="bundleconfig" />
1026                                                                                 </copy>
1027
1028                                                                                 <echo message="EXITING 'copy_services_template' ant tasks" />
1029                                                                                 <echo message="ENTERING 'copy_runtime_template' ant tasks" />
1030                                                                                 <copy todir="target/versioned-runtime">
1031                                                                                         <fileset dir="src/main/runtime" includes="**/*" />
1032                                                                                 </copy>
1033                                                                                 <delete
1034                                                                                                 file="target/versioned-runtime/context/__module.ajsc.namespace.name__#__module.ajsc.namespace.version__.context" />
1035                                                                                 <copy flatten="true"
1036                                                                                           file="src/main/runtime/context/__module.ajsc.namespace.name__#__module.ajsc.namespace.version__.context"
1037                                                                                           tofile="target/versioned-runtime/context/${module.ajsc.namespace.name}#${module.ajsc.namespace.version}.context" />
1038                                                                                 <delete
1039                                                                                                 file="target/versioned-runtime/deploymentPackage/__module.ajsc.namespace.name__#__module.ajsc.namespace.version__.json" />
1040                                                                                 <copy flatten="true"
1041                                                                                           file="src/main/runtime/deploymentPackage/__module.ajsc.namespace.name__#__module.ajsc.namespace.version__.json"
1042                                                                                           tofile="target/versioned-runtime/deploymentPackage/${module.ajsc.namespace.name}#${module.ajsc.namespace.version}.json" />
1043                                                                                 <delete
1044                                                                                                 file="target/versioned-runtime/shiroRole/contextadmin#__module.ajsc.namespace.name__.json" />
1045                                                                                 <copy flatten="true"
1046                                                                                           file="src/main/runtime/shiroRole/contextadmin#__module.ajsc.namespace.name__.json"
1047                                                                                           tofile="target/versioned-runtime/shiroRole/contextadmin#${module.ajsc.namespace.name}.json" />
1048                                                                                 <delete
1049                                                                                                 file="target/versioned-runtime/shiroUserRole/ajsc#contextAdmin#__module.ajsc.namespace.name__.json" />
1050                                                                                 <copy flatten="true"
1051                                                                                           file="src/main/runtime/shiroUserRole/ajsc#contextadmin#__module.ajsc.namespace.name__.json"
1052                                                                                           tofile="target/versioned-runtime/shiroUserRole/ajsc#contextadmin#${module.ajsc.namespace.name}.json" />
1053                                                                                 <echo message="EXITING 'copy_runtime_template' ant tasks" />
1054                                                                         </target>
1055                                                                 </configuration>
1056                                                                 <goals>
1057                                                                         <goal>run</goal>
1058                                                                 </goals>
1059                                                         </execution>
1060                                                         <execution>
1061                                                                 <id>clrf</id>
1062                                                                 <phase>package</phase>
1063                                                                 <configuration>
1064                                                                         <tasks>
1065                                                                                 <fixcrlf
1066                                                                                                 srcdir="${basedir}/target/swm/package/nix/dist_files${distFilesRoot}"
1067                                                                                                 includes="**/*.sh,**/*.xml,**/*.properties,**/*.xsd" />
1068                                                                         </tasks>
1069                                                                 </configuration>
1070                                                                 <goals>
1071                                                                         <goal>run</goal>
1072                                                                 </goals>
1073                                                         </execution>
1074                                                         <execution>
1075                                                                 <id>prep_home_directory_for_swm_pkgcreate-ajsc-arch-parent</id>
1076                                                                 <phase>package</phase>
1077                                                                 <configuration>
1078                                                                         <target name="prep_home_directory_for_swm_pkgcreate">
1079                                                                                 <ant antfile="${basedir}/antBuild/build.xml" target="prep_home_directory_for_swm_pkgcreate" />
1080                                                                         </target>
1081                                                                 </configuration>
1082                                                                 <goals>
1083                                                                         <goal>run</goal>
1084                                                                 </goals>
1085                                                         </execution>
1086                                                 </executions>
1087                                         </plugin>
1088                                         <plugin>
1089                                                 <groupId>org.apache.maven.plugins</groupId>
1090                                                 <artifactId>maven-dependency-plugin</artifactId>
1091                                                 <version>2.8</version>
1092                                                 <executions>
1093                                                         <execution>
1094                                                                 <id>copy-dependencies-ajsc-arch-parent</id>
1095                                                                 <phase>prepare-package</phase>
1096                                                                 <goals>
1097                                                                         <goal>copy-dependencies</goal>
1098                                                                 </goals>
1099                                                                 <configuration>
1100                                                                         <includeScope>runtime</includeScope>
1101                                                                         <excludeArtifactIds>ajsc-bom,ajsc-core,ajsc-runner,ajsc-war</excludeArtifactIds>
1102                                                                         <outputDirectory>${project.build.directory}/userjars</outputDirectory>
1103                                                                         <silent>true</silent>
1104                                                                 </configuration>
1105                                                         </execution>
1106                                                         <execution>
1107                                                                 <id>copyrunner</id>
1108                                                                 <phase>prepare-package</phase>
1109                                                                 <goals>
1110                                                                         <goal>copy-dependencies</goal>
1111                                                                 </goals>
1112                                                                 <configuration>
1113                                                                         <includeArtifactIds>ajsc-runner</includeArtifactIds>
1114                                                                         <outputDirectory>${basedir}/target/swm/package/nix/dist_files${distFilesRoot}/lib</outputDirectory>
1115                                                                 </configuration>
1116                                                         </execution>
1117                                                 </executions>
1118                                         </plugin>
1119                                         <plugin>
1120                                                 <artifactId>maven-resources-plugin</artifactId>
1121                                                 <version>2.7</version>
1122                                                 <executions>
1123                                                         <execution>
1124                                                                 <id>copyconfig</id>
1125                                                                 <phase>package</phase>
1126                                                                 <goals>
1127                                                                         <goal>copy-resources</goal>
1128                                                                 </goals>
1129                                                                 <configuration>
1130                                                                         <outputDirectory>${basedir}/target/swm/package/nix/dist_files${distFilesRoot}/etc</outputDirectory>
1131                                                                         <resources>
1132                                                                                 <resource>
1133                                                                                         <directory>src/main/config</directory>
1134                                                                                 </resource>
1135                                                                         </resources>
1136                                                                 </configuration>
1137                                                         </execution>
1138                                                         <execution>
1139                                                                 <id>copy-docker-file</id>
1140                                                                 <phase>prepare-package</phase>
1141                                                                 <goals>
1142                                                                         <goal>copy-resources</goal>
1143                                                                 </goals>
1144                                                                 <configuration>
1145                                                                         <outputDirectory>${dockerLocation}</outputDirectory>
1146                                                                         <overwrite>true</overwrite>
1147                                                                         <resources>
1148                                                                                 <resource>
1149                                                                                         <directory>${basedir}/src/main/resources/docker</directory>
1150                                                                                         <filtering>true</filtering>
1151                                                                                         <includes>
1152                                                                                                 <include>**/*</include>
1153                                                                                         </includes>
1154                                                                                 </resource>
1155                                                                         </resources>
1156                                                                 </configuration>
1157                                                         </execution>
1158                                                 </executions>
1159                                         </plugin>
1160                                 </plugins>
1161                                 <pluginManagement>
1162                                         <plugins>
1163                                                 <plugin>
1164                                                         <groupId>org.apache.maven.plugins</groupId>
1165                                                         <artifactId>maven-surefire-plugin</artifactId>
1166                                                         <version>2.19.1</version>
1167                                                         <configuration>
1168                                                                 <excludes>
1169                                                                         <exclude>**/AbstractTest.java</exclude>
1170                                                                 </excludes>
1171                                                                         <argLine>
1172                                                                                 ${surefireArgLine} --illegal-access=permit
1173                                                                         </argLine>
1174                                                         </configuration>
1175                                                 </plugin>
1176                                         </plugins>
1177                                 </pluginManagement>
1178                         </build>
1179                 </profile>
1180         </profiles>
1181 </project>