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