[DMAAP-MR] Fix vulnerabilities for rel I
[dmaap/messagerouter/messageservice.git] / pom.xml
1 <!-- ============LICENSE_START=======================================================
2         org.onap.dmaap ================================================================================
3         Copyright © 2017 AT&T Intellectual Property. All rights reserved. ================================================================================
4         Licensed under the Apache License, Version 2.0 (the "License"); you may not
5         use this file except in compliance with the License. You may obtain a copy
6         of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
7         by applicable law or agreed to in writing, software distributed under the
8         License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
9         OF ANY KIND, either express or implied. See the License for the specific
10         language governing permissions and limitations under the License. ============LICENSE_END=========================================================
11         ECOMP is a trademark and service mark of AT&T Intellectual Property. -->
12 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
13                  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
14         <modelVersion>4.0.0</modelVersion>
15
16         <parent>
17                 <groupId>org.onap.oparent</groupId>
18                 <artifactId>oparent</artifactId>
19                 <version>3.2.0</version>
20         </parent>
21
22         <groupId>org.onap.dmaap.messagerouter.messageservice</groupId>
23         <artifactId>dmaapMR1</artifactId>
24         <version>1.3.0-SNAPSHOT</version>
25         <name>dmaap-messagerouter-messageservice</name>
26         <description>Message Router - Restful interface built for kafka</description>
27         <licenses>
28                 <license>
29                         <name>Apache License Version 2.0</name>
30                 </license>
31         </licenses>
32
33         <developers>
34                 <developer>
35                         <name>Rajashree</name>
36                         <email></email>
37                         <organization>ATT</organization>
38                         <organizationUrl>www.att.com</organizationUrl>
39                 </developer>
40                 <developer>
41                         <name>Ramkumar</name>
42                         <email></email>
43                         <organization>ATT</organization>
44                         <organizationUrl>www.att.com</organizationUrl>
45                 </developer>
46         </developers>
47
48         <properties>
49                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
50                 <dockerLocation>${basedir}/target/swm/package/nix/dist_files/</dockerLocation>
51                 <docker.image.prefix>simpledemo</docker.image.prefix>
52                 <!-- <javax-mail-version>1.5.0</javax-mail-version> -->
53                 <module.ajsc.namespace.name>dmaap</module.ajsc.namespace.name>
54                 <module.ajsc.namespace.version>v1</module.ajsc.namespace.version>
55                 <ajscRuntimeVersion>3.0.11-oss</ajscRuntimeVersion>
56
57                 <!-- This will be the Absolute Root of the Project and should contain NO
58                         Versioning -->
59                 <absoluteDistFilesRoot>/appl/${project.artifactId}</absoluteDistFilesRoot>
60                 <!-- <absoluteDistFilesRoot>/opt/app/dmaap/${project.artifactId}</absoluteDistFilesRoot> -->
61                 <!-- For Versioning upon installation, add /${project.version} to distFilesRoot.
62                         For NO Versioning, leave as is -->
63                 <!-- example: /appl/${project.artifactId}/${project.version}. Also, add
64                         ${project.version} to ${runAjscHome} for running locally. -->
65                 <distFilesRoot>/appl/${project.artifactId}</distFilesRoot>
66                 <!-- <distFilesRoot>/opt/app/dmaap/${project.artifactId}</distFilesRoot> -->
67                 <runAjscHome>${basedir}/target/swm/package/nix/dist_files${distFilesRoot}</runAjscHome>
68
69                 <!-- For SOA Cloud Installation <installOwnerUser>aft</installOwnerUser>
70                         <installOwnerGroup>aft</installOwnerGroup> <ownerManagementGroup>com.att.acsi.saat.dt.dmaap.dev</ownerManagementGroup> -->
71                 <!-- For SOA Cloud Installation -->
72                 <installOwnerUser>msgrtr</installOwnerUser>
73                 <installOwnerGroup>dmaap</installOwnerGroup>
74                 <ownerManagementGroup>com.att.acsi.saat.dt.dmaap.dev</ownerManagementGroup>
75                 <!-- Port Selection. A value of 0 will allow for dynamic port selection.
76                         For local testing, you may choose to hardcode this value to something like
77                         8080 -->
78                 <serverPort>3904</serverPort>
79                 <sslport>3905</sslport>
80                 <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
81                 <testRouteOffer>workstation</testRouteOffer>
82                 <testEnv>DEV</testEnv>
83                 <!-- <dmaapImg>${project.version}</dmaapImg> -->
84                 <timestamp>${maven.build.timestamp}</timestamp>
85                 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
86                 <camel.version>2.21.5</camel.version>
87                 <camel.version.latest>3.5.0</camel.version.latest>
88                 <sitePath>/content/sites/site/org/onap/dmaap/messagerouter/messageservice/${project.artifactId}/${project.version}</sitePath>
89                 <skip.docker.build>false</skip.docker.build>
90                 <skip.docker.tag>false</skip.docker.tag>
91                 <skip.docker.push>false</skip.docker.push>
92                 <nexusproxy>https://nexus.onap.org</nexusproxy>
93                 <docker.push.registry>nexus3.onap.org:10003</docker.push.registry>
94                 <spring.version>3.2.18.RELEASE</spring.version>
95                 <sonar.language>java</sonar.language>
96                 <sonar.skip>false</sonar.skip>
97                 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
98                 <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
99                 <sonar.projectVersion>${project.version}</sonar.projectVersion>
100                 <log4j.version>2.13.3</log4j.version>
101                 <maven.compiler.target>8</maven.compiler.target>
102                 <maven.compiler.source>8</maven.compiler.source>
103                 <skip.deploy>false</skip.deploy>
104         </properties>
105
106         <build>
107                 <plugins>
108                         <plugin>
109                         <artifactId>maven-checkstyle-plugin</artifactId>
110                         <executions>
111                                 <execution>
112                                         <id>onap-java-style</id>
113                                         <configuration>
114                                                 <consoleOutput>false</consoleOutput>
115                                         </configuration>
116                                 </execution>
117                         </executions>
118                 </plugin>
119                         <plugin>
120                                 <groupId>org.apache.maven.plugins</groupId>
121                                 <artifactId>maven-site-plugin</artifactId>
122                         </plugin>
123                         <plugin>
124                                 <groupId>org.apache.maven.plugins</groupId>
125                                 <artifactId>maven-jar-plugin</artifactId>
126                                 <version>3.0.2</version>
127                         </plugin>
128                         <plugin>
129                                 <groupId>org.apache.maven.plugins</groupId>
130                                 <artifactId>maven-source-plugin</artifactId>
131                                 <version>3.0.0</version>
132                                 <executions>
133                                         <execution>
134                                                 <id>attach-sources</id>
135                                                 <goals>
136                                                         <goal>jar-no-fork</goal>
137                                                 </goals>
138                                         </execution>
139                                 </executions>
140                         </plugin>
141                         <plugin>
142                                 <groupId>org.apache.maven.plugins</groupId>
143                                 <artifactId>maven-release-plugin</artifactId>
144                                 <version>2.5.3</version>
145                                 <configuration>
146                                         <autoVersionSubmodules>true</autoVersionSubmodules>
147                                         <checkModificationExcludes>
148                                         </checkModificationExcludes>
149                                 </configuration>
150                                 <dependencies>
151                                         <dependency>
152                                                 <groupId>org.apache.maven.scm</groupId>
153                                                 <artifactId>maven-scm-provider-gitexe</artifactId>
154                                                 <version>1.9.4</version>
155                                         </dependency>
156                                 </dependencies>
157                         </plugin>
158                         <plugin>
159                                 <groupId>com.blackducksoftware.integration</groupId>
160                                 <artifactId>hub-maven-plugin</artifactId>
161                                 <version>1.0.4</version>
162                                 <inherited>false</inherited>
163                                 <configuration>
164                                         <target>${project.basedir}</target>
165                                 </configuration>
166                                 <executions>
167                                         <execution>
168                                                 <id>create-bdio-file</id>
169                                                 <phase>package</phase>
170                                                 <goals>
171                                                         <goal>createHubOutput</goal>
172                                                 </goals>
173                                         </execution>
174                                 </executions>
175                         </plugin>
176                         <plugin>
177                                 <groupId>org.codehaus.groovy</groupId>
178                                 <artifactId>groovy-eclipse-compiler</artifactId>
179                                 <version>2.8.0-01</version>
180                                 <extensions>true</extensions>
181                         </plugin>
182                         <plugin>
183                                 <artifactId>maven-deploy-plugin</artifactId>
184                                 <version>3.0.0-M1</version>
185                                 <configuration>
186                                         <skip>${skip.deploy}</skip>
187                                 </configuration>
188                         </plugin>
189                 </plugins>
190         </build>
191
192         <!-- Distribution management -->
193         <distributionManagement>
194                 <site>
195                         <id>ecomp-site</id>
196                         <url>dav:${nexusproxy}${sitePath}</url>
197                 </site>
198         </distributionManagement>
199
200         <!-- End Distribution management -->
201
202         <!-- The standard build tasks for this project are inherited from the parent.
203                 Please do not override the build tasks. However tasks and/or profiles can
204                 be included here as well as additional dependencies for your service. Any
205                 runtime or compile scope dependencies will be copied to the INSTALLATION_PATH/extJars
206                 folder and will be made available on the AJSC classpath for your service.
207                 Please, NOTE: DME2 and CSM related dependencies are EXTERNALIZED within the
208                 CSI environment. Therefore, they are provided within this project as "provided"
209                 dependencies. In order for the AJSC to run properly, locally, the CSM and
210                 DME2 dependencies will be copied into the target/commonLibs folder and will
211                 be made available to the classpath of the AJSC through the use of the system
212                 property, "AJSC_EXTERNAL_LIB_FOLDERS". This system property needs to be set
213                 in the "runAjsc" maven profile within the pom.xml (and, is defaulted to do
214                 so). If you have a startup failure related to a missing dme2 class not found
215                 exception, please contact the AJSC team for assistance. You can email support
216                 at ajsc-Support <DL-ajsc-Support@att.com>. For more information regarding
217                 the usage of the AJSC service pom.xml and management of dependencies, -->
218         <dependencies>
219
220                 <!-- cmn-CommonDataModel dependency added to resolve build issue not finding
221                         version 100.0.64 -->
222
223                 <!-- <dependency> <groupId>csi-schemas-source</groupId> <artifactId>cmn-CommonDataModel</artifactId>
224                         <version>112.0.50</version> </dependency> -->
225                 <!-- TODO: add open source version here -->
226                 <dependency>
227                         <groupId>org.springframework.boot</groupId>
228                         <artifactId>spring-boot-starter-actuator</artifactId>
229                         <version>2.4.0</version>
230                 </dependency>
231                 <!-- Micormeter core dependecy  -->
232                 <dependency>
233                         <groupId>io.micrometer</groupId>
234                         <artifactId>micrometer-core</artifactId>
235                         <version>1.7.1</version>
236                 </dependency>
237                 <!-- Micrometer Prometheus registry  -->
238                 <dependency>
239                         <groupId>io.micrometer</groupId>
240                         <artifactId>micrometer-registry-prometheus</artifactId>
241                         <version>1.6.1</version>
242                 </dependency>
243                 <dependency>
244                         <groupId>com.sun.mail</groupId>
245                         <artifactId>javax.mail</artifactId>
246                         <version>1.6.0</version>
247                         <exclusions>
248                                 <!-- javax activation is part of the JDK now -->
249                                 <exclusion>
250                                         <groupId>javax.activation</groupId>
251                                         <artifactId>activation</artifactId>
252                                 </exclusion>
253                         </exclusions>
254                 </dependency>
255                 <dependency>
256                         <groupId>com.sun.xml.bind</groupId>
257                         <artifactId>jaxb-core</artifactId>
258                         <version>2.3.0.1</version>
259                         <scope>compile</scope>
260                 </dependency>
261                 <dependency>
262                         <groupId>com.sun.xml.bind</groupId>
263                         <artifactId>jaxb-impl</artifactId>
264                         <version>2.3.0.1</version>
265                         <scope>compile</scope>
266                         <exclusions>
267                                 <exclusion>
268                                         <artifactId>jsr181-api</artifactId>
269                                         <groupId>javax.jws</groupId>
270                                 </exclusion>
271                         </exclusions>
272                 </dependency>
273                 <dependency>
274                         <groupId>org.apache.cxf</groupId>
275                         <artifactId>cxf-rt-transports-http</artifactId>
276                         <version>3.2.5</version>
277                 </dependency>
278                 <dependency>
279                         <groupId>com.att.aft</groupId>
280                         <artifactId>dme2</artifactId>
281                         <version>3.1.200-oss</version>
282                         <exclusions>
283                                 <exclusion>
284                                         <groupId>javax.jms</groupId>
285                                         <artifactId>jms</artifactId>
286                                 </exclusion>
287                         </exclusions>
288                 </dependency>
289                 <dependency>
290                         <groupId>org.springframework</groupId>
291                         <artifactId>spring-test</artifactId>
292                         <version>3.2.12.RELEASE</version>
293                         <scope>test</scope>
294                 </dependency>
295                 <dependency>
296                         <groupId>org.springframework</groupId>
297                         <artifactId>spring-expression</artifactId>
298                         <version>4.3.18.RELEASE</version>
299                 </dependency>
300                 <dependency>
301                         <groupId>org.springframework</groupId>
302                         <artifactId>spring-messaging</artifactId>
303                         <version>4.1.9.RELEASE</version>
304                 </dependency>
305                 <dependency>
306                         <groupId>org.apache.zookeeper</groupId>
307                         <artifactId>zookeeper</artifactId>
308                         <version>3.7.0</version>
309                 </dependency>
310                 <dependency>
311                         <groupId>com.101tec</groupId>
312                         <artifactId>zkclient</artifactId>
313                         <version>0.2</version>
314                 </dependency>
315                 <dependency>
316                         <groupId>org.slf4j</groupId>
317                         <artifactId>slf4j-api</artifactId>
318                         <version>1.6.1</version>
319                 </dependency>
320                 <!-- Log4j2 logger -->
321                 <dependency>
322                         <groupId>org.apache.logging.log4j</groupId>
323                         <artifactId>log4j-api</artifactId>
324                         <version>${log4j.version}</version>
325                 </dependency>
326                 <dependency>
327                         <groupId>org.apache.logging.log4j</groupId>
328                         <artifactId>log4j-core</artifactId>
329                         <version>${log4j.version}</version>
330                 </dependency>
331                 <dependency>
332                         <groupId>org.slf4j</groupId>
333                         <artifactId>slf4j-log4j12</artifactId>
334                         <version>1.6.1</version>
335                         <exclusions>
336                                 <exclusion>
337                                         <groupId>*</groupId>
338                                         <artifactId>*</artifactId>
339                                 </exclusion>
340                         </exclusions>
341                 </dependency>
342                 <dependency>
343                         <groupId>org.hamcrest</groupId>
344                         <artifactId>hamcrest-library</artifactId>
345                         <version>1.3</version>
346                         <scope>test</scope>
347                 </dependency>
348                 <dependency>
349                         <groupId>org.apache.kafka</groupId>
350                         <artifactId>kafka_2.13</artifactId>
351                         <version>2.8.0</version>
352                 </dependency>
353                 <dependency>
354                         <groupId>commons-codec</groupId>
355                         <artifactId>commons-codec</artifactId>
356                         <version>1.14</version>
357                 </dependency>
358                 <dependency>
359                         <groupId>jline</groupId>
360                         <artifactId>jline</artifactId>
361                         <version>2.12.1</version>
362                 </dependency>
363                 <dependency>
364                         <groupId>commons-io</groupId>
365                         <artifactId>commons-io</artifactId>
366                         <version>2.7</version>
367                 </dependency>
368                 <dependency>
369                         <groupId>org.quartz-scheduler</groupId>
370                         <artifactId>quartz</artifactId>
371                         <version>2.3.2</version>
372                 </dependency>
373                 <dependency>
374                         <groupId>com.fasterxml.woodstox</groupId>
375                         <artifactId>woodstox-core</artifactId>
376                         <version>5.3.0</version>
377                 </dependency>
378                 <dependency>
379                         <groupId>org.grails</groupId>
380                         <artifactId>grails-bootstrap</artifactId>
381                         <version>4.0.1</version>
382                         <scope>compile</scope>
383                         <exclusions>
384                                 <exclusion>
385                                         <artifactId>ant</artifactId>
386                                         <groupId>org.apache.ant</groupId>
387                                 </exclusion>
388                                 <exclusion>
389                                         <artifactId>jna</artifactId>
390                                         <groupId>net.java.dev.jna</groupId>
391                                 </exclusion>
392                                 <exclusion>
393                                         <artifactId>ant-trax</artifactId>
394                                         <groupId>org.apache.ant</groupId>
395                                 </exclusion>
396                                 <exclusion>
397                                         <artifactId>gant_groovy1.8</artifactId>
398                                         <groupId>org.codehaus.gant</groupId>
399                                 </exclusion>
400                                 <exclusion>
401                                         <artifactId>ant-launcher</artifactId>
402                                         <groupId>org.apache.ant</groupId>
403                                 </exclusion>
404                                 <exclusion>
405                                         <artifactId>jline</artifactId>
406                                         <groupId>jline</groupId>
407                                 </exclusion>
408                                 <exclusion>
409                                         <artifactId>ivy</artifactId>
410                                         <groupId>org.apache.ivy</groupId>
411                                 </exclusion>
412                                 <exclusion>
413                                         <artifactId>jansi</artifactId>
414                                         <groupId>org.fusesource.jansi</groupId>
415                                 </exclusion>
416                                 <exclusion>
417                                         <artifactId>commons-logging</artifactId>
418                                         <groupId>commons-logging</groupId>
419                                 </exclusion>
420                                 <exclusion>
421                                         <artifactId>ant-junit</artifactId>
422                                         <groupId>org.apache.ant</groupId>
423                                 </exclusion>
424                         </exclusions>
425                 </dependency>
426                 <dependency>
427                         <groupId>commons-fileupload</groupId>
428                         <artifactId>commons-fileupload</artifactId>
429                         <version>1.4</version>
430                 </dependency>
431                 <dependency>
432                         <groupId>org.springframework</groupId>
433                         <artifactId>spring-context</artifactId>
434                         <version>4.3.18.RELEASE</version>
435                 </dependency>
436                 <dependency>
437                         <groupId>org.springframework</groupId>
438                         <artifactId>spring-webmvc</artifactId>
439                         <version>5.3.3</version>
440                 </dependency>
441                 <dependency>
442                         <groupId>org.springframework</groupId>
443                         <artifactId>spring-core</artifactId>
444                         <version>4.3.18.RELEASE</version>
445                 </dependency>
446                 <dependency>
447                         <groupId>org.springframework</groupId>
448                         <artifactId>spring-beans</artifactId>
449                         <version>4.3.18.RELEASE</version>
450                 </dependency>
451                 <dependency>
452                         <groupId>commons-io</groupId>
453                         <artifactId>commons-io</artifactId>
454                         <version>2.11.0</version>
455                 </dependency>
456                 <dependency>
457                         <groupId>com.att.eelf</groupId>
458                         <artifactId>eelf-core</artifactId>
459                         <version>1.0.0</version>
460                         <exclusions>
461                                 <exclusion>
462                                         <groupId>org.mockito</groupId>
463                                         <artifactId>mockito-core</artifactId>
464                                 </exclusion>
465                                 <exclusion>
466                                         <groupId>org.powermock</groupId>
467                                         <artifactId>powermock-module-junit4</artifactId>
468                                 </exclusion>
469                                 <exclusion>
470                                         <groupId>org.powermock</groupId>
471                                         <artifactId>powermock-api-mockito</artifactId>
472                                 </exclusion>
473                         </exclusions>
474                 </dependency>
475                 <!-- our NSA server library -->
476                 <dependency>
477                         <groupId>com.att.nsa</groupId>
478                         <artifactId>nsaServerLibrary</artifactId>
479                         <version>1.0.10</version>
480                         <exclusions>
481                                 <exclusion>
482                                         <groupId>org.apache.tomcat</groupId>
483                                         <artifactId>tomcat-catalina</artifactId>
484                                 </exclusion>
485                                 <exclusion>
486                                         <groupId>org.apache.tomcat.embed</groupId>
487                                         <artifactId>tomcat-embed-core</artifactId>
488                                 </exclusion>
489                                 <exclusion>
490                                         <groupId>org.apache.tomcat</groupId>
491                                         <artifactId>tomcat-util</artifactId>
492                                 </exclusion>
493                                 <exclusion>
494                                         <groupId>javax.mail</groupId>
495                                         <artifactId>mail</artifactId>
496                                 </exclusion>
497                         </exclusions>
498                 </dependency>
499                 <dependency>
500                         <groupId>com.att.nsa</groupId>
501                         <artifactId>saToolkit</artifactId>
502                         <version>0.0.1</version>
503                 </dependency>
504                 <dependency>
505                         <groupId>org.apache.curator</groupId>
506                         <artifactId>curator-recipes</artifactId>
507                         <version>4.0.1</version>
508                 </dependency>
509                 <dependency>
510                         <groupId>org.apache.curator</groupId>
511                         <artifactId>curator-test</artifactId>
512                         <version>4.0.1</version>
513                 </dependency>
514                 <dependency>
515                         <groupId>javax.inject</groupId>
516                         <artifactId>javax.inject</artifactId>
517                         <version>1</version>
518                 </dependency>
519                 <dependency>
520                         <groupId>org.mockito</groupId>
521                         <artifactId>mockito-core</artifactId>
522                         <version>3.9.0</version>
523                         <scope>test</scope>
524                 </dependency>
525                 <dependency>
526                         <groupId>org.powermock</groupId>
527                         <artifactId>powermock-core</artifactId>
528                         <version>2.0.7</version>
529                         <scope>test</scope>
530                 </dependency>
531                 <dependency>
532                         <groupId>org.powermock</groupId>
533                         <artifactId>powermock-module-junit4</artifactId>
534                         <version>2.0.7</version>
535                         <scope>test</scope>
536                 </dependency>
537                 <dependency>
538                         <groupId>org.powermock</groupId>
539                         <artifactId>powermock-module-junit4-rule</artifactId>
540                         <version>2.0.7</version>
541                         <scope>test</scope>
542                 </dependency>
543                 <dependency>
544                         <groupId>org.powermock</groupId>
545                         <artifactId>powermock-api-support</artifactId>
546                         <version>2.0.7</version>
547                         <scope>test</scope>
548                 </dependency>
549                 <dependency>
550                         <groupId>org.powermock</groupId>
551                         <artifactId>powermock-api-mockito2</artifactId>
552                         <version>2.0.7</version>
553                 </dependency>
554                 <dependency>
555                         <groupId>com.fasterxml.jackson.jaxrs</groupId>
556                         <artifactId>jackson-jaxrs-json-provider</artifactId>
557                         <version>2.2.3</version>
558                 </dependency>
559                 <dependency>
560                         <groupId>com.fasterxml.jackson.core</groupId>
561                         <artifactId>jackson-core</artifactId>
562                 </dependency>
563                 <dependency>
564                         <groupId>com.fasterxml.jackson.core</groupId>
565                         <artifactId>jackson-databind</artifactId>
566                 </dependency>
567                 <dependency>
568                         <groupId>org.grails</groupId>
569                         <artifactId>grails-web</artifactId>
570                         <version>2.5.4</version>
571                         <exclusions>
572                                 <exclusion>
573                                         <groupId>org.grails</groupId>
574                                         <artifactId>grails-web-jsp</artifactId>
575                                 </exclusion>
576                         </exclusions>
577                 </dependency>
578                 <dependency>
579                         <groupId>org.codehaus.groovy</groupId>
580                         <artifactId>groovy-all</artifactId>
581                         <version>3.0.8</version>
582                         <type>pom</type>
583                         <exclusions>
584                                 <exclusion>
585                                         <artifactId>jline</artifactId>
586                                         <groupId>jline</groupId>
587                                 </exclusion>
588                         </exclusions>
589                 </dependency>
590                 <dependency>
591                         <groupId>junit</groupId>
592                         <artifactId>junit</artifactId>
593                         <version>4.13.2</version>
594                         <scope>test</scope>
595                 </dependency>
596                 <dependency>
597                         <groupId>org.json</groupId>
598                         <artifactId>json</artifactId>
599                         <version>20131018</version>
600                 </dependency>
601                 <!-- CXF JAX-RS extension -->
602                 <dependency>
603                         <groupId>org.apache.cxf</groupId>
604                         <artifactId>cxf-rt-rs-extension-providers</artifactId>
605                         <version>3.2.2</version>
606                         <exclusions>
607                                 <exclusion>
608                                         <groupId>org.apache.cxf</groupId>
609                                         <artifactId>cxf-core</artifactId>
610                                 </exclusion>
611                         </exclusions>
612                 </dependency>
613                 <dependency>
614                         <groupId>org.codehaus.jettison</groupId>
615                         <artifactId>jettison</artifactId>
616                         <version>1.3.7</version>
617                 </dependency>
618                 <dependency>
619                         <groupId>com.att.ajsc</groupId>
620                         <artifactId>ajsc-archetype-parent</artifactId>
621                         <version>3.0.11-oss</version>
622                         <type>pom</type>
623                 </dependency>
624                 <dependency>
625                         <groupId>org.onap.aaf.authz</groupId>
626                         <artifactId>aaf-cadi-aaf</artifactId>
627                         <version>2.7.4</version>
628                         <exclusions>
629                                 <exclusion>
630                                         <artifactId>log4j</artifactId>
631                                         <groupId>log4j</groupId>
632                                 </exclusion>
633                         </exclusions>
634                 </dependency>
635                 <dependency>
636                         <groupId>backport-util-concurrent</groupId>
637                         <artifactId>backport-util-concurrent</artifactId>
638                         <version>3.1</version>
639                 </dependency>
640                 <dependency>
641                         <groupId>org.apache.camel</groupId>
642                         <artifactId>camel-core</artifactId>
643                         <version>3.4.0</version>
644                 </dependency>
645                 <dependency>
646                         <groupId>org.apache.camel</groupId>
647                         <artifactId>camel-quartz</artifactId>
648                         <version>${camel.version}</version>
649                 </dependency>
650                 <dependency>
651                         <groupId>org.apache.camel</groupId>
652                         <artifactId>camel-spring</artifactId>
653                         <version>${camel.version.latest}</version>
654                 </dependency>
655                 <dependency>
656                         <groupId>org.apache.camel</groupId>
657                         <artifactId>camel-restlet</artifactId>
658                         <version>${camel.version}</version>
659                         <exclusions>
660                                 <exclusion>
661                                         <artifactId>org.restlet</artifactId>
662                                         <groupId>org.restlet.jse</groupId>
663                                 </exclusion>
664                         </exclusions>
665                 </dependency>
666                 <dependency>
667                         <groupId>org.apache.camel</groupId>
668                         <artifactId>camel-servlet</artifactId>
669                         <version>${camel.version}</version>
670                 </dependency>
671                 <dependency>
672                         <groupId>org.apache.httpcomponents</groupId>
673                         <artifactId>httpcore</artifactId>
674                         <version>4.4.1</version>
675                 </dependency>
676                 <dependency>
677                         <groupId>org.apache.camel</groupId>
678                         <artifactId>camel-http4</artifactId>
679                         <version>${camel.version}</version>
680                         <exclusions>
681                                 <exclusion>
682                                         <groupId>org.apache.geronimo.specs</groupId>
683                                         <artifactId>geronimo-servlet_2.5_spec</artifactId>
684                                 </exclusion>
685                         </exclusions>
686                 </dependency>
687                 <dependency>
688                         <groupId>org.apache.camel</groupId>
689                         <artifactId>camel-groovy</artifactId>
690                         <version>${camel.version.latest}</version>
691                 </dependency>
692                 <dependency>
693                         <groupId>org.apache.camel</groupId>
694                         <artifactId>camel-twitter</artifactId>
695                         <version>${camel.version}</version>
696                 </dependency>
697                 <dependency>
698                         <groupId>org.apache.camel</groupId>
699                         <artifactId>camel-mail</artifactId>
700                         <version>${camel.version}</version>
701                 </dependency>
702                 <dependency>
703                         <groupId>org.apache.camel</groupId>
704                         <artifactId>camel-smpp</artifactId>
705                         <version>${camel.version}</version>
706                 </dependency>
707                 <dependency>
708                         <groupId>org.apache.camel</groupId>
709                         <artifactId>camel-jms</artifactId>
710                         <version>${camel.version}</version>
711                 </dependency>
712                 <dependency>
713                         <groupId>org.apache.camel</groupId>
714                         <artifactId>camel-script</artifactId>
715                         <version>${camel.version}</version>
716                 </dependency>
717                 <dependency>
718                         <groupId>org.apache.camel</groupId>
719                         <artifactId>camel-xmpp</artifactId>
720                         <version>${camel.version}</version>
721                 </dependency>
722                 <dependency>
723                         <groupId>org.igniterealtime.smack</groupId>
724                         <artifactId>smack-tcp</artifactId>
725                         <version>4.4.2</version>
726                 </dependency>
727                 <dependency>
728                         <groupId>org.apache.camel</groupId>
729                         <artifactId>camel-velocity</artifactId>
730                         <version>${camel.version.latest}</version>
731                 </dependency>
732                 <dependency>
733                         <groupId>com.att.ajsc</groupId>
734                         <artifactId>ajsc-runner</artifactId>
735                         <version>3.0.11-oss</version>
736                         <scope>runtime</scope>
737                 </dependency>
738                 <dependency>
739                         <groupId>com.att.ajsc</groupId>
740                         <artifactId>ajsc-core</artifactId>
741                         <version>3.0.11-oss</version>
742                         <scope>provided</scope>
743                 </dependency>
744                 <dependency>
745                         <groupId>org.apache.kafka</groupId>
746                         <artifactId>kafka_2.12</artifactId>
747                         <version>2.7.0</version>
748                         <scope>test</scope>
749                 </dependency>
750         </dependencies>
751         <profiles>
752                 <!-- Use this profile to run the AJSC locally. This profile can be successfully
753                         shutdown WITHIN eclipse even in a Windows environment. Debugging is also
754                         available with this profile. -->
755                 <profile>
756                         <id>docker</id>
757                         <properties>
758
759                         </properties>
760                         <build>
761                                 <plugins>
762                                         <plugin>
763                                                 <groupId>org.codehaus.groovy.maven</groupId>
764                                                 <artifactId>gmaven-plugin</artifactId>
765                                                 <executions>
766                                                         <execution>
767                                                                 <phase>validate</phase>
768                                                                 <goals>
769                                                                         <goal>execute</goal>
770                                                                 </goals>
771                                                                 <configuration>
772                                                                         <properties>
773                                                                                 <ver>${project.version}</ver>
774                                                                                 <timestamp>${maven.build.timestamp}</timestamp>
775                                                                         </properties>
776                                                                         <source>
777                                                                                 println project.properties['ver'];
778                                                                                 if ( project.properties['ver'].endsWith("-SNAPSHOT") ) {
779                                                                                         project.properties['dockertag1']=project.properties['ver'] + "-latest";
780                                                                                         project.properties['dockertag2']=project.properties['ver'] + "-" + project.properties['timestamp'];
781                                                                                 } else {
782                                                                                         project.properties['dockertag1']=project.properties['ver'] + "-STAGING-latest";
783                                                                                         project.properties['dockertag2']=project.properties['ver'] + "-STAGING-" + project.properties['timestamp'];
784                                                                                 }
785                                                                                 println 'docker tag 1: ' + project.properties['dockertag1'];
786                                                                                 println 'docker tag 2: ' + project.properties['dockertag2'];
787                                                                         </source>
788                                                                 </configuration>
789                                                         </execution>
790                                                 </executions>
791                                         </plugin>
792                                         <plugin>
793                                                 <groupId>io.fabric8</groupId>
794                                                 <artifactId>docker-maven-plugin</artifactId>
795                                                 <version>0.28.0</version>
796                                                 <configuration>
797                                                         <skipBuild>${skip.docker.build}</skipBuild>
798                                                         <skipPush>${skip.docker.push}</skipPush>
799                                                         <pullRegistry>${docker.pull.registry}</pullRegistry>
800                                                         <pushRegistry>${docker.push.registry}</pushRegistry>
801                                                         <images>
802                                                                 <image>
803                                                                         <name>onap/dmaap/dmaap-mr</name>
804                                                                         <build>
805                                                                                 <cleanup>try</cleanup>
806                                                                                 <dockerFileDir>${dockerLocation}</dockerFileDir>
807                                                                                 <dockerFile>Dockerfile</dockerFile>
808                                                                                 <tags>
809                                                                                         <tag>${dockertag1}</tag>
810                                                                                         <tag>${dockertag2}</tag>
811                                                                                 </tags>
812                                                                         </build>
813                                                                 </image>
814                                                         </images>
815                                                 </configuration>
816                                                 <executions>
817                                                         <execution>
818                                                                 <id>generate-images</id>
819                                                                 <phase>install</phase>
820                                                                 <goals>
821                                                                         <goal>build</goal>
822                                                                 </goals>
823                                                         </execution>
824                                                         <execution>
825                                                                 <id>push-images</id>
826                                                                 <phase>deploy</phase>
827                                                                 <goals>
828                                                                         <goal>push</goal>
829                                                                 </goals>
830                                                         </execution>
831                                                 </executions>
832                                         </plugin>
833                                 </plugins>
834                         </build>
835                 </profile>
836
837                 <profile>
838                         <id>runLocal</id>
839                         <build>
840                                 <defaultGoal>initialize</defaultGoal>
841                                 <plugins>
842                                         <plugin>
843                                                 <groupId>org.apache.maven.plugins</groupId>
844                                                 <artifactId>maven-antrun-plugin</artifactId>
845                                                 <executions>
846                                                         <execution>
847                                                                 <phase>initialize</phase>
848                                                                 <configuration>
849                                                                         <target name="runLocal">
850                                                                                 <ant antfile="${basedir}/antBuild/build.xml" target="runLocal" />
851                                                                         </target>
852                                                                 </configuration>
853                                                                 <goals>
854                                                                         <goal>run</goal>
855                                                                 </goals>
856                                                         </execution>
857                                                 </executions>
858                                         </plugin>
859                                 </plugins>
860                         </build>
861                 </profile>
862
863                 <profile>
864                         <id>runAjsc</id>
865                         <build>
866                                 <defaultGoal>initialize</defaultGoal>
867                                 <plugins>
868                                         <plugin>
869                                                 <groupId>org.codehaus.mojo</groupId>
870                                                 <artifactId>exec-maven-plugin</artifactId>
871                                                 <version>1.3.2</version>
872                                                 <executions>
873                                                         <execution>
874                                                                 <phase>initialize</phase>
875                                                                 <goals>
876                                                                         <goal>java</goal>
877                                                                 </goals>
878                                                                 <configuration>
879                                                                         <!-- In order to better mimic a SOA cloud installation of AJSC (and
880                                                                                 to help eliminate Maven/Eclipse/AJSC classpath issues that may be difficult
881                                                                                 to diagnose), within this profile used to run locally, we are NOT including
882                                                                                 project dependencies. These will be loaded by AJSC from $AJSC_HOME/extJars.
883                                                                                 The only jar needed to run AJSC is the ajsc-runner.jar, and therefore is
884                                                                                 the only dependency required by this profile to run locally. -->
885                                                                         <includeProjectDependencies>false</includeProjectDependencies>
886                                                                         <includePluginDependencies>true</includePluginDependencies>
887                                                                         <executable>java</executable>
888                                                                         <mainClass>com.att.ajsc.runner.Runner</mainClass>
889                                                                         <executableDependency>
890                                                                                 <groupId>com.att.ajsc</groupId>
891                                                                                 <artifactId>ajsc-runner</artifactId>
892                                                                         </executableDependency>
893                                                                         <additionalClasspathElements>
894                                                                                 <additionalClasspathElement>${basedir}/ajsc-shared-config/etc</additionalClasspathElement>
895                                                                         </additionalClasspathElements>
896
897                                                                         <environmentVariables>
898                                                                                 <AJSC_HOME>${runAjscHome}</AJSC_HOME>
899                                                                         </environmentVariables>
900
901                                                                         <!-- Main AJSC System Properties below (necessary for proper startup) -->
902                                                                         <systemProperties>
903                                                                                 <systemProperty>
904                                                                                         <key>AJSC_HOME</key>
905                                                                                         <value>${runAjscHome}</value>
906                                                                                 </systemProperty>
907                                                                                 <systemProperty>
908                                                                                         <key>AJSC_HOME</key>
909                                                                                         <value>${runAjscHome}</value>
910                                                                                 </systemProperty>
911                                                                                 <systemProperty>
912                                                                                         <key>AJSC_CONF_HOME</key>
913                                                                                         <value>${basedir}/bundleconfig-local</value>
914                                                                                 </systemProperty>
915                                                                                 <systemProperty>
916                                                                                         <key>logback.configurationFile</key>
917                                                                                         <value>${basedir}/ajsc-shared-config/etc/logback.xml</value>
918                                                                                 </systemProperty>
919                                                                                 <systemProperty>
920                                                                                         <key>com.att.eelf.logging.file</key>
921                                                                                         <value>logback.xml</value>
922                                                                                 </systemProperty>
923                                                                                 <systemProperty>
924                                                                                         <key>com.att.eelf.logging.path</key>
925                                                                                         <value>${basedir}/ajsc-shared-config/etc</value>
926                                                                                 </systemProperty>
927                                                                                 <systemProperty>
928                                                                                         <key>logging.config</key>
929                                                                                         <value>${basedir}/ajsc-shared-config/etc/logback.xml</value>
930                                                                                 </systemProperty>
931                                                                                 <systemProperty>
932                                                                                         <key>AJSC_SHARED_CONFIG</key>
933                                                                                         <value>${basedir}/ajsc-shared-config</value>
934                                                                                 </systemProperty>
935
936                                                                                 <!-- Please, NOTE: The following 2 system properties will normally
937                                                                                         be set within the sys-props.properties file once deployed to a node. We are
938                                                                                         setting them HERE to run locally to make more efficient use of maven variable
939                                                                                         replacement for ${basedir} -->
940                                                                                 <!-- AJSC_EXTERNAL_LIB_FOLDERS represents the particular jars that
941                                                                                         will be externalized on a CSI node. This includes dme2 and csm related artifact. -->
942                                                                                 <sysproperty>
943                                                                                         <key>AJSC_EXTERNAL_LIB_FOLDERS</key>
944                                                                                         <value>${basedir}/target/commonLibs</value>
945                                                                                 </sysproperty>
946                                                                                 <!-- AJSC_EXTERNAL_PROPERTIES_FOLDERS represents the particular
947                                                                                         files that may need to be added to the classpath. These files will be externalized
948                                                                                         on a CSI node. This includes dme2 and csm related artifact (such as csm-config-app.properties).
949                                                                                         Failure to have these files on the classpath may result in errors thrown
950                                                                                         by csm framework. -->
951                                                                                 <sysproperty>
952                                                                                         <key>AJSC_EXTERNAL_PROPERTIES_FOLDERS</key>
953                                                                                         <value>${basedir}/ajsc-shared-config/etc</value>
954                                                                                 </sysproperty>
955
956                                                                                 <systemProperty>
957                                                                                         <key>AJSC_SERVICE_NAMESPACE</key>
958                                                                                         <value>${module.ajsc.namespace.name}</value>
959                                                                                 </systemProperty>
960                                                                                 <systemProperty>
961                                                                                         <key>AJSC_SERVICE_VERSION</key>
962                                                                                         <value>${module.ajsc.namespace.version}</value>
963                                                                                 </systemProperty>
964                                                                                 <systemProperty>
965                                                                                         <key>SOACLOUD_SERVICE_VERSION</key>
966                                                                                         <value>${project.version}</value>
967                                                                                 </systemProperty>
968                                                                                 <systemProperty>
969                                                                                         <key>server.port</key>
970                                                                                         <value>${serverPort}</value>
971                                                                                 </systemProperty>
972                                                                         </systemProperties>
973
974                                                                         <!-- Command Line Arguments to add to the java command. Here, you
975                                                                                 can specify the port as well as the Context you want your service to run
976                                                                                 in. Use context=/ to run in an unnamed Context (Root Context). The default
977                                                                                 configuration of the AJSC is to run under the / Context. Setting the port
978                                                                                 here can aid during the development phase of your service. However, you can
979                                                                                 leave this argument out entirely, and the AJSC will default to using an Ephemeral
980                                                                                 port. -->
981                                                                         <arguments>
982                                                                                 <argument>context=/</argument>
983                                                                                 <argument>port=${serverPort}</argument>
984                                                                                 <argument>sslport=${sslport}</argument>
985                                                                         </arguments>
986                                                                 </configuration>
987                                                         </execution>
988                                                 </executions>
989                                                 <configuration>
990                                                         <executable>java</executable>
991                                                 </configuration>
992                                                 <dependencies>
993                                                         <dependency>
994                                                                 <groupId>com.att.ajsc</groupId>
995                                                                 <artifactId>ajsc-runner</artifactId>
996                                                                 <version>${ajscRuntimeVersion}</version>
997                                                         </dependency>
998                                                 </dependencies>
999                                         </plugin>
1000                                 </plugins>
1001                         </build>
1002                 </profile>
1003                 <profile>
1004                         <id>standardbuild</id>
1005                         <activation>
1006                                 <file>
1007                                         <exists>src</exists>
1008                                 </file>
1009                         </activation>
1010                         <build>
1011                                 <resources>
1012                                         <resource>
1013                                                 <directory>src/main/resources</directory>
1014                                                 <excludes>
1015                                                         <exclude>extApps/*.*</exclude>
1016                                                         <exclude>${module.ajsc.namespace.name}/**</exclude>
1017                                                 </excludes>
1018                                         </resource>
1019                                         <resource>
1020                                                 <directory>src/main/ajsc/\${namespace}_${namespaceVersion}/\${namespace}/\${namespaceVersion}</directory>
1021                                                 <excludes>
1022                                                         <exclude>**/*.route</exclude>
1023                                                         <exclude>**/*.props</exclude>
1024                                                         <exclude>**/*.xslt</exclude>
1025                                                         <exclude>**/*.vm</exclude>
1026                                                         <exclude>**/*.jar</exclude>
1027                                                         <exclude>**/*.xml</exclude>
1028                                                 </excludes>
1029                                         </resource>
1030                                 </resources>
1031                                 <plugins>
1032                                         <plugin>
1033                                                 <groupId>org.apache.maven.plugins</groupId>
1034                                                 <artifactId>maven-compiler-plugin</artifactId>
1035                                                 <version>3.1</version>
1036                                         </plugin>
1037                                         <plugin>
1038                                                 <groupId>org.codehaus.groovy</groupId>
1039                                                 <artifactId>groovy-eclipse-compiler</artifactId>
1040                                                 <version>2.8.0-01</version>
1041                                                 <extensions>true</extensions>
1042                                         </plugin>
1043                                         <plugin>
1044                                                 <groupId>org.codehaus.mojo</groupId>
1045                                                 <artifactId>exec-maven-plugin</artifactId>
1046                                                 <version>1.2.1</version>
1047                                                 <executions>
1048                                                         <execution>
1049                                                                 <goals>
1050                                                                         <goal>exec</goal>
1051                                                                 </goals>
1052                                                         </execution>
1053                                                 </executions>
1054                                                 <configuration>
1055                                                         <executable>bash</executable>
1056                                                         <arguments>
1057                                                                 <argument>runServer.sh</argument>
1058                                                         </arguments>
1059                                                 </configuration>
1060                                         </plugin>
1061                                         <plugin>
1062                                                 <groupId>org.codehaus.mojo</groupId>
1063                                                 <artifactId>build-helper-maven-plugin</artifactId>
1064                                                 <version>1.9</version>
1065                                                 <executions>
1066                                                         <execution>
1067                                                                 <id>add-source-groovy-ajsc-arch-parent</id>
1068                                                                 <phase>generate-sources</phase>
1069                                                                 <goals>
1070                                                                         <goal>add-source</goal>
1071                                                                 </goals>
1072                                                                 <configuration>
1073                                                                         <sources>
1074                                                                                 <source>src/main/groovy</source>
1075                                                                         </sources>
1076                                                                 </configuration>
1077                                                         </execution>
1078                                                         <execution>
1079                                                                 <id>add-test-source-groovy-ajsc-arch-parent</id>
1080                                                                 <phase>generate-test-sources</phase>
1081                                                                 <goals>
1082                                                                         <goal>add-test-source</goal>
1083                                                                 </goals>
1084                                                                 <configuration>
1085                                                                         <sources>
1086                                                                                 <source>src/test/groovy</source>
1087                                                                         </sources>
1088                                                                 </configuration>
1089                                                         </execution>
1090                                                         <execution>
1091                                                                 <id>regex-properties-ajsc-arch-parent</id>
1092                                                                 <phase>initialize</phase>
1093                                                                 <goals>
1094                                                                         <goal>regex-properties</goal>
1095                                                                 </goals>
1096                                                                 <configuration>
1097                                                                         <regexPropertySettings>
1098                                                                                 <regexPropertySetting>
1099                                                                                         <name>replaceWinFilePath</name>
1100                                                                                         <value>${runAjscHome}</value>
1101                                                                                         <regex>\\</regex>
1102                                                                                         <replacement>/</replacement>
1103                                                                                         <failIfNoMatch>false</failIfNoMatch>
1104                                                                                 </regexPropertySetting>
1105                                                                                 <regexPropertySetting>
1106                                                                                         <name>replaceWinBasedirPath</name>
1107                                                                                         <value>${basedir}</value>
1108                                                                                         <regex>\\</regex>
1109                                                                                         <replacement>/</replacement>
1110                                                                                         <failIfNoMatch>false</failIfNoMatch>
1111                                                                                 </regexPropertySetting>
1112                                                                         </regexPropertySettings>
1113                                                                 </configuration>
1114                                                         </execution>
1115                                                 </executions>
1116                                         </plugin>
1117                                         <plugin>
1118                                                 <groupId>org.codehaus.mojo</groupId>
1119                                                 <artifactId>properties-maven-plugin</artifactId>
1120                                                 <version>1.0-alpha-2</version>
1121                                                 <executions>
1122                                                         <execution>
1123                                                                 <id>write-project-properties-ajsc-arch-parent</id>
1124                                                                 <phase>generate-resources</phase>
1125                                                                 <goals>
1126                                                                         <goal>write-project-properties</goal>
1127                                                                 </goals>
1128                                                                 <configuration>
1129                                                                         <outputFile>
1130                                                                                 ${project.build.outputDirectory}/build.properties
1131                                                                         </outputFile>
1132                                                                 </configuration>
1133                                                         </execution>
1134                                                 </executions>
1135                                         </plugin>
1136                                         <plugin>
1137                                                 <groupId>org.apache.maven.plugins</groupId>
1138                                                 <artifactId>maven-assembly-plugin</artifactId>
1139                                                 <version>2.4</version>
1140                                                 <executions>
1141                                                         <execution>
1142                                                                 <id>make-assembly-ajsc-arch-parent</id>
1143                                                                 <phase>package</phase>
1144                                                                 <goals>
1145                                                                         <goal>single</goal>
1146                                                                 </goals>
1147                                                         </execution>
1148                                                 </executions>
1149                                                 <configuration>
1150                                                         <finalName>${project.artifactId}</finalName>
1151                                                         <descriptors>
1152                                                                 <descriptor>src/main/assemble/ajsc_runtime_assembly.xml</descriptor>
1153                                                         </descriptors>
1154                                                 </configuration>
1155                                         </plugin>
1156                                         <plugin>
1157                                                 <groupId>org.codehaus.groovy.maven</groupId>
1158                                                 <artifactId>gmaven-plugin</artifactId>
1159                                                 <version>1.0</version>
1160                                                 <executions>
1161                                                         <execution>
1162                                                                 <id>gmaven-ajsc-arch-parent</id>
1163                                                                 <phase>package</phase>
1164                                                                 <goals>
1165                                                                         <goal>execute</goal>
1166                                                                 </goals>
1167                                                                 <configuration>
1168                                                                         <sourcepath>src/main/groovy</sourcepath>
1169                                                                         <source>
1170                                                                                 import ajsc.AssemblyService;
1171                                                                                 ajsc.AssemblyService.getBasedir(project.basedir.getAbsolutePath(),"${distFilesRoot}")
1172                                                                         </source>
1173                                                                 </configuration>
1174                                                         </execution>
1175                                                 </executions>
1176                                         </plugin>
1177                                         <plugin>
1178                                                 <groupId>org.apache.maven.plugins</groupId>
1179                                                 <artifactId>maven-antrun-plugin</artifactId>
1180                                                 <version>1.7</version>
1181                                                 <executions>
1182                                                         <execution>
1183                                                                 <id>prep_service_runtime-ajsc-arch-parent</id>
1184                                                                 <phase>generate-resources</phase>
1185                                                                 <configuration>
1186                                                                         <target name="prep_service_runtime">
1187                                                                                 <echo message="ENTERING 'copy_services_template' ant tasks" />
1188                                                                                 <!-- <filter token="basedir" value="${basedir}" /> -->
1189                                                                                 <!-- delete any prior stating stuff before package phase -->
1190                                                                                 <delete dir="target/versioned-ajsc" includes="**/*" />
1191                                                                                 <delete dir="target/versioned-runtime" includes="**/*" />
1192                                                                                 <delete dir="target/CDP" includes="**/*" />
1193
1194                                                                                 <!-- This is where replacer plugin replaces tokens (Example: __module_ajsc_namespace_name__
1195                                                                                         is replaced by module.ajsc.namespace.name) -->
1196                                                                                 <copy todir="target/versioned-ajsc">
1197                                                                                         <fileset dir="src/main/ajsc" includes="**/*" />
1198                                                                                 </copy>
1199
1200                                                                                 <!-- Copying the CDP, bundleconfig, and StaticContent to the target
1201                                                                                         directory for future use by replacer plugin -->
1202                                                                                 <copy todir="target/CDP" failonerror="false">
1203                                                                                         <fileset dir="CDP" includes="**/*.sh" />
1204                                                                                 </copy>
1205                                                                                 <copy flatten="true" file="CDP/SampleBlueprint.xml"
1206                                                                                           failonerror="false"
1207                                                                                           tofile="target/CDP/${module.ajsc.namespace.name}Blueprint.xml" />
1208                                                                                 <copy todir="target/staticContent" failonerror="false">
1209                                                                                         <fileset dir="staticContent" includes="**/*" />
1210                                                                                 </copy>
1211                                                                                 <copy todir="target/bundleconfig" failonerror="false">
1212                                                                                         <!-- filtering="true"> -->
1213                                                                                         <fileset dir="bundleconfig" />
1214                                                                                 </copy>
1215
1216                                                                                 <echo message="EXITING 'copy_services_template' ant tasks" />
1217                                                                                 <echo message="ENTERING 'copy_runtime_template' ant tasks" />
1218                                                                                 <copy todir="target/versioned-runtime">
1219                                                                                         <fileset dir="src/main/runtime" includes="**/*" />
1220                                                                                 </copy>
1221                                                                                 <delete
1222                                                                                                 file="target/versioned-runtime/context/__module.ajsc.namespace.name__#__module.ajsc.namespace.version__.context" />
1223                                                                                 <copy flatten="true"
1224                                                                                           file="src/main/runtime/context/__module.ajsc.namespace.name__#__module.ajsc.namespace.version__.context"
1225                                                                                           tofile="target/versioned-runtime/context/${module.ajsc.namespace.name}#${module.ajsc.namespace.version}.context" />
1226                                                                                 <delete
1227                                                                                                 file="target/versioned-runtime/deploymentPackage/__module.ajsc.namespace.name__#__module.ajsc.namespace.version__.json" />
1228                                                                                 <copy flatten="true"
1229                                                                                           file="src/main/runtime/deploymentPackage/__module.ajsc.namespace.name__#__module.ajsc.namespace.version__.json"
1230                                                                                           tofile="target/versioned-runtime/deploymentPackage/${module.ajsc.namespace.name}#${module.ajsc.namespace.version}.json" />
1231                                                                                 <delete
1232                                                                                                 file="target/versioned-runtime/shiroRole/contextadmin#__module.ajsc.namespace.name__.json" />
1233                                                                                 <copy flatten="true"
1234                                                                                           file="src/main/runtime/shiroRole/contextadmin#__module.ajsc.namespace.name__.json"
1235                                                                                           tofile="target/versioned-runtime/shiroRole/contextadmin#${module.ajsc.namespace.name}.json" />
1236                                                                                 <delete
1237                                                                                                 file="target/versioned-runtime/shiroUserRole/ajsc#contextAdmin#__module.ajsc.namespace.name__.json" />
1238                                                                                 <copy flatten="true"
1239                                                                                           file="src/main/runtime/shiroUserRole/ajsc#contextadmin#__module.ajsc.namespace.name__.json"
1240                                                                                           tofile="target/versioned-runtime/shiroUserRole/ajsc#contextadmin#${module.ajsc.namespace.name}.json" />
1241                                                                                 <echo message="EXITING 'copy_runtime_template' ant tasks" />
1242                                                                         </target>
1243                                                                 </configuration>
1244                                                                 <goals>
1245                                                                         <goal>run</goal>
1246                                                                 </goals>
1247                                                         </execution>
1248                                                         <execution>
1249                                                                 <id>clrf</id>
1250                                                                 <phase>package</phase>
1251                                                                 <configuration>
1252                                                                         <tasks>
1253                                                                                 <fixcrlf
1254                                                                                                 srcdir="${basedir}/target/swm/package/nix/dist_files${distFilesRoot}"
1255                                                                                                 includes="**/*.sh,**/*.xml,**/*.properties,**/*.xsd" />
1256                                                                         </tasks>
1257                                                                 </configuration>
1258                                                                 <goals>
1259                                                                         <goal>run</goal>
1260                                                                 </goals>
1261                                                         </execution>
1262                                                         <execution>
1263                                                                 <id>prep_home_directory_for_swm_pkgcreate-ajsc-arch-parent</id>
1264                                                                 <phase>package</phase>
1265                                                                 <configuration>
1266                                                                         <target name="prep_home_directory_for_swm_pkgcreate">
1267                                                                                 <ant antfile="${basedir}/antBuild/build.xml" target="prep_home_directory_for_swm_pkgcreate" />
1268                                                                         </target>
1269                                                                 </configuration>
1270                                                                 <goals>
1271                                                                         <goal>run</goal>
1272                                                                 </goals>
1273                                                         </execution>
1274                                                 </executions>
1275                                         </plugin>
1276                                         <plugin>
1277                                                 <groupId>org.apache.maven.plugins</groupId>
1278                                                 <artifactId>maven-dependency-plugin</artifactId>
1279                                                 <version>2.8</version>
1280                                                 <executions>
1281                                                         <execution>
1282                                                                 <id>copy-dependencies-ajsc-arch-parent</id>
1283                                                                 <phase>prepare-package</phase>
1284                                                                 <goals>
1285                                                                         <goal>copy-dependencies</goal>
1286                                                                 </goals>
1287                                                                 <configuration>
1288                                                                         <includeScope>runtime</includeScope>
1289                                                                         <excludeArtifactIds>ajsc-bom,ajsc-core,ajsc-runner,ajsc-war</excludeArtifactIds>
1290                                                                         <outputDirectory>${project.build.directory}/userjars</outputDirectory>
1291                                                                         <silent>true</silent>
1292                                                                 </configuration>
1293                                                         </execution>
1294                                                         <execution>
1295                                                                 <id>copy-dependencies-ajsc-arch-parent-commonLibs</id>
1296                                                                 <phase>prepare-package</phase>
1297                                                                 <goals>
1298                                                                         <goal>copy-dependencies</goal>
1299                                                                 </goals>
1300                                                                 <configuration>
1301                                                                         <includeScope>provided</includeScope>
1302                                                                         <includeGroupIds>net.cingular.enterprise,com.att.aft,dom4j</includeGroupIds>
1303                                                                         <outputDirectory>${project.build.directory}/commonLibs</outputDirectory>
1304                                                                         <silent>true</silent>
1305                                                                 </configuration>
1306                                                         </execution>
1307                                                         <execution>
1308                                                                 <id>copyrunner</id>
1309                                                                 <phase>prepare-package</phase>
1310                                                                 <goals>
1311                                                                         <goal>copy-dependencies</goal>
1312                                                                 </goals>
1313                                                                 <configuration>
1314                                                                         <includeArtifactIds>ajsc-runner</includeArtifactIds>
1315                                                                         <outputDirectory>${basedir}/target/swm/package/nix/dist_files${distFilesRoot}/lib</outputDirectory>
1316                                                                 </configuration>
1317                                                         </execution>
1318                                                 </executions>
1319                                         </plugin>
1320                                         <plugin>
1321                                                 <artifactId>maven-resources-plugin</artifactId>
1322                                                 <version>2.7</version>
1323                                                 <executions>
1324                                                         <execution>
1325                                                                 <id>copyconfig</id>
1326                                                                 <phase>package</phase>
1327                                                                 <goals>
1328                                                                         <goal>copy-resources</goal>
1329                                                                 </goals>
1330                                                                 <configuration>
1331                                                                         <outputDirectory>${basedir}/target/swm/package/nix/dist_files${distFilesRoot}/etc</outputDirectory>
1332                                                                         <resources>
1333                                                                                 <resource>
1334                                                                                         <directory>src/main/config</directory>
1335                                                                                 </resource>
1336                                                                         </resources>
1337                                                                 </configuration>
1338                                                         </execution>
1339                                                         <execution>
1340                                                                 <id>copyscript</id>
1341                                                                 <phase>package</phase>
1342                                                                 <goals>
1343                                                                         <goal>copy-resources</goal>
1344                                                                 </goals>
1345                                                                 <configuration>
1346                                                                         <outputDirectory>${basedir}/target/swm/package/nix/dist_files${distFilesRoot}/bin</outputDirectory>
1347                                                                         <resources>
1348                                                                                 <resource>
1349                                                                                         <directory>src/main/scripts</directory>
1350                                                                                 </resource>
1351                                                                         </resources>
1352                                                                 </configuration>
1353                                                         </execution>
1354                                                         <execution>
1355                                                                 <id>copy-docker-file</id>
1356                                                                 <phase>prepare-package</phase>
1357                                                                 <goals>
1358                                                                         <goal>copy-resources</goal>
1359                                                                 </goals>
1360                                                                 <configuration>
1361                                                                         <outputDirectory>${dockerLocation}</outputDirectory>
1362                                                                         <overwrite>true</overwrite>
1363                                                                         <resources>
1364                                                                                 <resource>
1365                                                                                         <directory>${basedir}/src/main/resources/docker</directory>
1366                                                                                         <filtering>true</filtering>
1367                                                                                         <includes>
1368                                                                                                 <include>**/*</include>
1369                                                                                         </includes>
1370                                                                                 </resource>
1371                                                                         </resources>
1372                                                                 </configuration>
1373                                                         </execution>
1374                                                 </executions>
1375                                         </plugin>
1376                                         <plugin>
1377                                                 <groupId>com.google.code.maven-replacer-plugin</groupId>
1378                                                 <artifactId>replacer</artifactId>
1379                                                 <version>1.5.2</version>
1380                                                 <executions>
1381                                                         <execution>
1382                                                                 <id>google-replacer-ajsc-arch-parent</id>
1383                                                                 <phase>prepare-package</phase>
1384                                                                 <goals>
1385                                                                         <goal>replace</goal>
1386                                                                 </goals>
1387                                                                 <configuration>
1388                                                                         <basedir>${project.build.directory}</basedir>
1389                                                                         <includes>
1390                                                                                 <include>staticContent/**/*.html</include>
1391                                                                                 <include>CDP/**</include>
1392                                                                                 <include>bundleconfig/**</include>
1393                                                                                 <include>versioned-runtime/**/*.context</include>
1394                                                                                 <include>versioned-runtime/**/*.json</include>
1395                                                                                 <include>versioned-ajsc/**/*.route</include>
1396                                                                                 <include>versioned-ajsc/**/*.groovy</include>
1397                                                                                 <include>versioned-ajsc/**/*.xml</include>
1398                                                                                 <include>classes/*.properties</include>
1399                                                                                 <include>swm/package/nix/dist_files${distFilesRoot}/etc/*.properties</include>
1400                                                                         </includes>
1401                                                                         <escape>true</escape>
1402                                                                         <replacements>
1403                                                                                 <replacement>
1404                                                                                         <token>__module_ajsc_namespace_name__</token>
1405                                                                                         <value>${module.ajsc.namespace.name}</value>
1406                                                                                 </replacement>
1407                                                                                 <replacement>
1408                                                                                         <token>__module_ajsc_namespace_version__</token>
1409                                                                                         <value>${module.ajsc.namespace.version}</value>
1410                                                                                 </replacement>
1411                                                                                 <replacement>
1412                                                                                         <token>__ajscHome__</token>
1413                                                                                         <value>${replaceWinFilePath}</value>
1414                                                                                 </replacement>
1415                                                                                 <replacement>
1416                                                                                         <token>__projectGroupId__</token>
1417                                                                                         <value>${project.groupId}</value>
1418                                                                                 </replacement>
1419                                                                                 <replacement>
1420                                                                                         <token>__projectArtifactId__</token>
1421                                                                                         <value>${project.artifactId}</value>
1422                                                                                 </replacement>
1423                                                                                 <replacement>
1424                                                                                         <token>__projectVersion__</token>
1425                                                                                         <value>${project.version}</value>
1426                                                                                 </replacement>
1427                                                                                 <replacement>
1428                                                                                         <token>__basedir__</token>
1429                                                                                         <value>${replaceWinBasedirPath}</value>
1430                                                                                 </replacement>
1431                                                                         </replacements>
1432                                                                 </configuration>
1433                                                         </execution>
1434                                                 </executions>
1435                                         </plugin>
1436                                 </plugins>
1437                                 <pluginManagement>
1438                                         <plugins>
1439                                                 <plugin>
1440                                                         <groupId>org.apache.maven.plugins</groupId>
1441                                                         <artifactId>maven-surefire-plugin</artifactId>
1442                                                         <version>2.14.1</version>
1443                                                         <configuration>
1444                                                                 <excludes>
1445                                                                         <exclude>**/AbstractTest.java</exclude>
1446                                                                 </excludes>
1447                                                         </configuration>
1448                                                 </plugin>
1449                                         </plugins>
1450                                 </pluginManagement>
1451                         </build>
1452                 </profile>
1453         </profiles>
1454 </project>