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