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