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