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