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