security issues fixed in AJSC
[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         <javax-mail-version>1.5.0</javax-mail-version>
250                 <module.ajsc.namespace.name>dmaap</module.ajsc.namespace.name>
251                 <module.ajsc.namespace.version>v1</module.ajsc.namespace.version>
252                 <ajscRuntimeVersion>3.0.4-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>com.sun.mail</groupId>
338             <artifactId>javax.mail</artifactId>
339             <version>${javax-mail-version}</version>
340             <exclusions>
341               <!-- javax activation is part of the JDK now -->
342               <exclusion>
343                 <groupId>javax.activation</groupId>
344                 <artifactId>activation</artifactId>
345               </exclusion>
346             </exclusions>
347         </dependency>
348                 
349                 <dependency>
350                         <groupId>org.apache.zookeeper</groupId>
351                         <artifactId>zookeeper</artifactId>
352                         <version>3.4.10</version>
353                 </dependency>
354                 <dependency>
355       <groupId>org.grails</groupId>
356       <artifactId>grails-bootstrap</artifactId>
357       <version>2.5.4</version>
358       <scope>compile</scope>
359       <exclusions>
360         <exclusion>
361           <artifactId>ant</artifactId>
362           <groupId>org.apache.ant</groupId>
363         </exclusion>
364         <exclusion>
365           <artifactId>jna</artifactId>
366           <groupId>net.java.dev.jna</groupId>
367         </exclusion>
368         <exclusion>
369           <artifactId>ant-trax</artifactId>
370           <groupId>org.apache.ant</groupId>
371         </exclusion>
372         <exclusion>
373           <artifactId>gant_groovy1.8</artifactId>
374           <groupId>org.codehaus.gant</groupId>
375         </exclusion>
376         <exclusion>
377           <artifactId>ant-launcher</artifactId>
378           <groupId>org.apache.ant</groupId>
379         </exclusion>
380         <exclusion>
381           <artifactId>jline</artifactId>
382           <groupId>jline</groupId>
383         </exclusion>
384         <exclusion>
385           <artifactId>ivy</artifactId>
386           <groupId>org.apache.ivy</groupId>
387         </exclusion>
388         <exclusion>
389           <artifactId>jansi</artifactId>
390           <groupId>org.fusesource.jansi</groupId>
391         </exclusion>
392         <exclusion>
393           <artifactId>commons-logging</artifactId>
394           <groupId>commons-logging</groupId>
395         </exclusion>
396         <exclusion>
397           <artifactId>ant-junit</artifactId>
398           <groupId>org.apache.ant</groupId>
399         </exclusion>
400       </exclusions>
401     </dependency>
402     <dependency>
403                         <groupId>org.springframework</groupId>
404                         <artifactId>spring-webmvc</artifactId>
405                         <version>3.2.18.RELEASE</version>
406                 </dependency>
407                 <dependency>
408                         <groupId>commons-io</groupId>
409                         <artifactId>commons-io</artifactId>
410                         <version>2.4</version>
411                 </dependency>
412                 <dependency>
413                         <groupId>org.apache.commons</groupId>
414                         <artifactId>commons-io</artifactId>
415                         <version>1.3.2</version>
416                 </dependency>
417                 <dependency>
418                         <groupId>org.onap.dmaap.messagerouter.msgrtr</groupId>
419                         <artifactId>msgrtr</artifactId>
420                         <version>1.1.3</version>
421                         <exclusions>
422                                 <exclusion>
423                                         <groupId>org.slf4j</groupId>
424                                         <artifactId>slf4j-log4j12</artifactId>
425                                 </exclusion>
426                                 <exclusion>
427                                         <groupId>com.att.ajsc</groupId>
428                                         <artifactId>ajsc-core</artifactId>
429                                 </exclusion>
430                                 <exclusion>
431                                         <groupId>org.apache.tomcat</groupId>
432                                         <artifactId>tomcat-catalina</artifactId>
433                                 </exclusion>
434
435                                 <exclusion>
436                                         <groupId>org.apache.tomcat.embed</groupId>
437                                         <artifactId>tomcat-embed-core</artifactId>
438                                 </exclusion>
439                                 <exclusion>
440                                         <groupId>org.apache.tomcat</groupId>
441                                         <artifactId>tomcat-util</artifactId>
442                                 </exclusion>
443                                 <!-- <exclusion> <groupId>com.att.nsa</groupId> <artifactId>saToolkit</artifactId> 
444                                         </exclusion> -->
445                                 <exclusion>
446                                         <groupId>com.att.nsa</groupId>
447                                         <artifactId>tomcat-util</artifactId>
448                                 </exclusion>
449
450                                 <exclusion>
451                                         <groupId>commons-beanutils</groupId>
452                                         <artifactId>commons-beanutils</artifactId>
453                                 </exclusion>
454                         </exclusions>
455                 </dependency>
456                 <dependency>
457                         <groupId>org.mockito</groupId>
458                         <artifactId>mockito-core</artifactId>
459                         <version>1.10.19</version>
460                         <scope>test</scope>
461                 </dependency>
462                 <dependency>
463                         <groupId>org.powermock</groupId>
464                         <artifactId>powermock-module-junit4</artifactId>
465                         <version>1.6.4</version>
466                         <scope>test</scope>
467                 </dependency>
468                 <dependency>
469                         <groupId>org.powermock</groupId>
470                         <artifactId>powermock-api-mockito</artifactId>
471                         <version>1.6.4</version>
472                         <scope>test</scope>
473                 </dependency>
474                 <!-- <dependency> <groupId>org.codehaus.jackson</groupId> <artifactId>jackson-jaxrs</artifactId> 
475                         <version>1.9.13</version> </dependency> <dependency> <groupId>org.codehaus.jackson</groupId> 
476                         <artifactId>jackson-mapper-asl</artifactId> <version>1.9.13</version> </dependency> 
477                         <dependency> <groupId>org.codehaus.jackson</groupId> <artifactId>jackson-core-asl</artifactId> 
478                         <version>1.9.13</version> </dependency> -->
479         
480                 <dependency>
481                         <groupId>com.fasterxml.jackson.jaxrs</groupId>
482                         <artifactId>jackson-jaxrs-json-provider</artifactId>
483                         <version>2.2.3</version>
484                 </dependency>
485
486                 <dependency>
487                         <groupId>com.fasterxml.jackson.core</groupId>
488                         <artifactId>jackson-core</artifactId>
489                         <version>2.8.11</version>
490                 </dependency>
491
492                 <dependency>
493                         <groupId>com.fasterxml.jackson.core</groupId>
494                         <artifactId>jackson-databind</artifactId>
495                         <version>2.8.11.1</version>
496                 </dependency>
497                 <dependency>
498                 <groupId>org.grails</groupId>
499         <artifactId>grails-web</artifactId>
500         <version>2.5.4</version>
501         <exclusions>
502                 <exclusion>
503                         <groupId>org.grails</groupId>
504                         <artifactId>grails-web-jsp</artifactId>
505                 </exclusion>
506         </exclusions>
507                 </dependency>
508         <dependency>
509                 <groupId>org.codehaus.groovy</groupId>
510                 <artifactId>groovy-all</artifactId>
511                 <version>2.4.4</version>
512                 <scope>compile</scope>
513                 <exclusions>
514                         <exclusion>
515                                 <artifactId>jline</artifactId>
516                                 <groupId>jline</groupId>
517                         </exclusion>
518                 </exclusions>
519         </dependency>
520
521                 <dependency>
522                         <groupId>junit</groupId>
523                         <artifactId>junit</artifactId>
524                         <version>4.11</version>
525                         <scope>test</scope>
526                 </dependency>
527
528                 <dependency>
529                         <groupId>org.json</groupId>
530                         <artifactId>json</artifactId>
531                         <version>20131018</version>
532                 </dependency>
533
534                 <!-- CXF JAX-RS extension -->
535                 <dependency>
536                         <groupId>org.apache.cxf</groupId>
537                         <artifactId>cxf-rt-rs-extension-providers</artifactId>
538                         <version>3.0.12</version>
539                 </dependency>
540                 <dependency>
541                         <groupId>org.codehaus.jettison</groupId>
542                         <artifactId>jettison</artifactId>
543                         <version>1.3.7</version>
544                 </dependency>
545
546                 <dependency>
547                         <groupId>dom4j</groupId>
548                         <artifactId>dom4j</artifactId>
549                         <version>1.6.1</version>
550                         <scope>provided</scope>
551                 </dependency>
552                 <dependency>
553                         <groupId>com.att.ajsc</groupId>
554                         <artifactId>ajsc-archetype-parent</artifactId>
555                         <version>3.0.4-oss</version>
556                         <type>pom</type>
557                 </dependency>
558
559                 <dependency>
560                         <groupId>com.att.cadi</groupId>
561                         <artifactId>cadi-aaf</artifactId>
562                         <version>1.3.0</version>
563                 </dependency>
564
565                 <dependency>
566                         <groupId>com.att.inno</groupId>
567                         <artifactId>rosetta</artifactId>
568                         <version>1.2.11</version>
569                 </dependency>
570                 <dependency>
571                         <groupId>com.att.inno</groupId>
572                         <artifactId>env</artifactId>
573                         <version>1.2.11</version>
574                 </dependency>
575                 <dependency>
576                         <groupId>com.att.inno</groupId>
577                         <artifactId>xgen</artifactId>
578                         <version>1.2.11</version>
579                 </dependency>
580                 <dependency>
581                         <groupId>com.att.inno</groupId>
582                         <artifactId>rosetta</artifactId>
583                         <version>1.2.11</version>
584                 </dependency>
585                 <dependency>
586                         <groupId>backport-util-concurrent</groupId>
587                         <artifactId>backport-util-concurrent</artifactId>
588                         <version>3.1</version>
589                 </dependency>
590                 <dependency>
591                         <groupId>org.apache.camel</groupId>
592                         <artifactId>camel-core</artifactId>
593                         <version>${camel.version}</version>
594                 </dependency>
595                 <dependency>
596                         <groupId>org.apache.camel</groupId>
597                         <artifactId>camel-quartz</artifactId>
598                         <version>${camel.version}</version>
599                 </dependency>
600                 <dependency>
601                         <groupId>org.apache.camel</groupId>
602                         <artifactId>camel-spring</artifactId>
603                         <version>${camel.version}</version>
604                 </dependency>
605                 <dependency>
606                         <groupId>org.apache.camel</groupId>
607                         <artifactId>camel-restlet</artifactId>
608                         <version>${camel.version}</version>
609                         <exclusions>
610                                 <exclusion>
611                                         <artifactId>org.restlet</artifactId>
612                                         <groupId>org.restlet.jse</groupId>
613                                 </exclusion>
614                         </exclusions>
615                 </dependency>
616                 <dependency>
617                         <groupId>org.apache.camel</groupId>
618                         <artifactId>camel-servlet</artifactId>
619                         <version>${camel.version}</version>
620                         <!-- <exclusions>
621                                 <exclusion>
622                                         <groupId>commons-httpclient</groupId>
623                                         <artifactId>commons-httpclient</artifactId>
624                                 </exclusion>
625                         </exclusions> -->
626                 </dependency>
627                 <!-- <dependency>
628                         <groupId>org.apache.httpcomponents</groupId>
629                         <artifactId>httpclient</artifactId>
630                         <version>4.0</version>
631                 </dependency> -->
632
633                 <dependency>
634                         <groupId>org.apache.camel</groupId>
635                         <artifactId>camel-http4</artifactId>
636                         <version>${camel.version}</version>
637                         <exclusions>
638                                 <exclusion>
639                                         <groupId>org.apache.geronimo.specs</groupId>
640                                         <artifactId>geronimo-servlet_2.5_spec</artifactId>
641                                 </exclusion>
642                         </exclusions>
643                 </dependency>
644                 <dependency>
645                         <groupId>org.apache.camel</groupId>
646                         <artifactId>camel-groovy</artifactId>
647                         <version>${camel.version}</version>
648                 </dependency>
649                 <dependency>
650                         <groupId>org.apache.camel</groupId>
651                         <artifactId>camel-twitter</artifactId>
652                         <version>${camel.version}</version>
653                 </dependency>
654                 <dependency>
655                         <groupId>org.apache.camel</groupId>
656                         <artifactId>camel-mail</artifactId>
657                         <version>${camel.version}</version>
658                 </dependency>
659                 <dependency>
660                         <groupId>org.apache.camel</groupId>
661                         <artifactId>camel-smpp</artifactId>
662                         <version>${camel.version}</version>
663                 </dependency>
664                 <dependency>
665                         <groupId>org.apache.camel</groupId>
666                         <artifactId>camel-jms</artifactId>
667                         <version>${camel.version}</version>
668                 </dependency>
669                 <dependency>
670                         <groupId>org.apache.camel</groupId>
671                         <artifactId>camel-script</artifactId>
672                         <version>${camel.version}</version>
673                 </dependency>
674                 <dependency>
675                         <groupId>org.apache.camel</groupId>
676                         <artifactId>camel-xmpp</artifactId>
677                         <version>${camel.version}</version>
678                 </dependency>
679                 <dependency>
680                         <groupId>org.apache.camel</groupId>
681                         <artifactId>camel-velocity</artifactId>
682                         <version>${camel.version}</version>
683                 </dependency>
684                 <dependency>
685                         <groupId>com.att.ajsc</groupId>
686                         <artifactId>ajsc-runner</artifactId>
687                         <version>3.0.4-oss</version>
688                         <scope>runtime</scope>
689                 </dependency>
690                 <dependency>
691                         <groupId>com.att.ajsc</groupId>
692                         <artifactId>ajsc-core</artifactId>
693                         <version>3.0.4-oss</version>
694                         <scope>provided</scope>
695                 </dependency>
696         </dependencies>
697         <!-- <build> <resources> <resource> <directory>${basedir}/ajsc-shared-config/etc</directory> 
698                 </resource> </resources> </build> -->
699         <profiles>
700                 <!-- Use this profile to run the AJSC locally. This profile can be successfully 
701                         shutdown WITHIN eclipse even in a Windows environment. Debugging is also 
702                         available with this profile. -->
703                 <profile>
704                         <id>docker</id>
705                         <properties>
706
707                                 <skip.docker.build>false</skip.docker.build>
708                                 <skip.docker.tag>false</skip.docker.tag>
709                                 <skip.docker.push>false</skip.docker.push>
710                         </properties>
711                 </profile>
712
713                 <profile>
714                         <id>runLocal</id>
715                         <build>
716                                 <defaultGoal>initialize</defaultGoal>
717                                 <plugins>
718                                         <plugin>
719                                                 <groupId>org.apache.maven.plugins</groupId>
720                                                 <artifactId>maven-antrun-plugin</artifactId>
721                                                 <executions>
722                                                         <execution>
723                                                                 <phase>initialize</phase>
724                                                                 <configuration>
725                                                                         <target name="runLocal">
726                                                                                 <ant antfile="${basedir}/antBuild/build.xml" target="runLocal" />
727                                                                         </target>
728                                                                 </configuration>
729                                                                 <goals>
730                                                                         <goal>run</goal>
731                                                                 </goals>
732                                                         </execution>
733                                                 </executions>
734                                         </plugin>
735                                 </plugins>
736                         </build>
737                 </profile>
738
739                 <profile>
740                         <id>runAjsc</id>
741                         <build>
742                                 <defaultGoal>initialize</defaultGoal>
743                                 <plugins>
744                                         <plugin>
745                                                 <groupId>org.codehaus.mojo</groupId>
746                                                 <artifactId>exec-maven-plugin</artifactId>
747                                                 <version>1.3.2</version>
748                                                 <executions>
749                                                         <execution>
750                                                                 <phase>initialize</phase>
751                                                                 <goals>
752                                                                         <goal>java</goal>
753                                                                 </goals>
754                                                                 <configuration>
755                                                                         <!-- In order to better mimic a SOA cloud installation of AJSC (and 
756                                                                                 to help eliminate Maven/Eclipse/AJSC classpath issues that may be difficult 
757                                                                                 to diagnose), within this profile used to run locally, we are NOT including 
758                                                                                 project dependencies. These will be loaded by AJSC from $AJSC_HOME/extJars. 
759                                                                                 The only jar needed to run AJSC is the ajsc-runner.jar, and therefore is 
760                                                                                 the only dependency required by this profile to run locally. -->
761                                                                         <includeProjectDependencies>false</includeProjectDependencies>
762                                                                         <includePluginDependencies>true</includePluginDependencies>
763                                                                         <executable>java</executable>
764                                                                         <mainClass>com.att.ajsc.runner.Runner</mainClass>
765                                                                         <executableDependency>
766                                                                                 <groupId>com.att.ajsc</groupId>
767                                                                                 <artifactId>ajsc-runner</artifactId>
768                                                                         </executableDependency>
769                                                                         <additionalClasspathElements>
770                                                                                 <additionalClasspathElement>${basedir}/ajsc-shared-config/etc</additionalClasspathElement>
771                                                                         </additionalClasspathElements>
772
773                                                                         <environmentVariables>
774                                                                                 <AJSC_HOME>${runAjscHome}</AJSC_HOME>
775                                                                         </environmentVariables>
776
777                                                                         <!-- Main AJSC System Properties below (necessary for proper startup) -->
778                                                                         <systemProperties>
779                                                                                 <systemProperty>
780                                                                                         <key>AJSC_HOME</key>
781                                                                                         <value>${runAjscHome}</value>
782                                                                                 </systemProperty>
783                                                                                 <systemProperty>
784                                                                                         <key>AJSC_HOME</key>
785                                                                                         <value>${runAjscHome}</value>
786                                                                                 </systemProperty>
787                                                                                 <systemProperty>
788                                                                                         <key>AJSC_CONF_HOME</key>
789                                                                                         <value>${basedir}/bundleconfig-local</value>
790                                                                                 </systemProperty>
791                                                                                 <systemProperty>
792                                                                                         <key>logback.configurationFile</key>
793                                                                                         <value>${basedir}/ajsc-shared-config/etc/logback.xml</value>
794                                                                                 </systemProperty>
795                                                                                 <systemProperty>
796                                                                                         <key>AJSC_SHARED_CONFIG</key>
797                                                                                         <value>${basedir}/ajsc-shared-config</value>
798                                                                                 </systemProperty>
799
800                                                                                 <!-- Please, NOTE: The following 2 system properties will normally 
801                                                                                         be set within the sys-props.properties file once deployed to a node. We are 
802                                                                                         setting them HERE to run locally to make more efficient use of maven variable 
803                                                                                         replacement for ${basedir} -->
804                                                                                 <!-- AJSC_EXTERNAL_LIB_FOLDERS represents the particular jars that 
805                                                                                         will be externalized on a CSI node. This includes dme2 and csm related artifact. -->
806                                                                                 <sysproperty>
807                                                                                         <key>AJSC_EXTERNAL_LIB_FOLDERS</key>
808                                                                                         <value>${basedir}/target/commonLibs</value>
809                                                                                 </sysproperty>
810                                                                                 <!-- AJSC_EXTERNAL_PROPERTIES_FOLDERS represents the particular 
811                                                                                         files that may need to be added to the classpath. These files will be externalized 
812                                                                                         on a CSI node. This includes dme2 and csm related artifact (such as csm-config-app.properties). 
813                                                                                         Failure to have these files on the classpath may result in errors thrown 
814                                                                                         by csm framework. -->
815                                                                                 <sysproperty>
816                                                                                         <key>AJSC_EXTERNAL_PROPERTIES_FOLDERS</key>
817                                                                                         <value>${basedir}/ajsc-shared-config/etc</value>
818                                                                                 </sysproperty>
819
820                                                                                 <systemProperty>
821                                                                                         <key>AJSC_SERVICE_NAMESPACE</key>
822                                                                                         <value>${module.ajsc.namespace.name}</value>
823                                                                                 </systemProperty>
824                                                                                 <systemProperty>
825                                                                                         <key>AJSC_SERVICE_VERSION</key>
826                                                                                         <value>${module.ajsc.namespace.version}</value>
827                                                                                 </systemProperty>
828                                                                                 <systemProperty>
829                                                                                         <key>SOACLOUD_SERVICE_VERSION</key>
830                                                                                         <value>${project.version}</value>
831                                                                                 </systemProperty>
832                                                                                 <systemProperty>
833                                                                                         <key>server.port</key>
834                                                                                         <value>${serverPort}</value>
835                                                                                 </systemProperty>
836                                                                         </systemProperties>
837
838                                                                         <!-- Command Line Arguments to add to the java command. Here, you 
839                                                                                 can specify the port as well as the Context you want your service to run 
840                                                                                 in. Use context=/ to run in an unnamed Context (Root Context). The default 
841                                                                                 configuration of the AJSC is to run under the / Context. Setting the port 
842                                                                                 here can aid during the development phase of your service. However, you can 
843                                                                                 leave this argument out entirely, and the AJSC will default to using an Ephemeral 
844                                                                                 port. -->
845                                                                         <arguments>
846                                                                                 <argument>context=/</argument>
847                                                                                 <argument>port=${serverPort}</argument>
848                                                                                 <argument>sslport=${sslport}</argument>
849                                                                         </arguments>
850                                                                 </configuration>
851                                                         </execution>
852                                                 </executions>
853                                                 <configuration>
854                                                         <executable>java</executable>
855                                                 </configuration>
856                                                 <dependencies>
857                                                         <dependency>
858                                                                 <groupId>com.att.ajsc</groupId>
859                                                                 <artifactId>ajsc-runner</artifactId>
860                                                                 <version>${ajscRuntimeVersion}</version>
861                                                         </dependency>
862                                                 </dependencies>
863                                         </plugin>
864
865                                 </plugins>
866                         </build>
867                 </profile>
868                 <profile>
869                         <id>standardbuild</id>
870                         <activation>
871                                 <file>
872                                         <exists>src</exists>
873                                 </file>
874                         </activation>
875                         <build>
876                                 <resources>
877                                         <resource>
878                                                 <directory>src/main/resources</directory>
879                                                 <excludes>
880                                                         <exclude>extApps/*.*</exclude>
881                                                         <exclude>${module.ajsc.namespace.name}/**</exclude>
882                                                 </excludes>
883                                         </resource>
884                                         <resource>
885                                                 <directory>src/main/ajsc/\${namespace}_${namespaceVersion}/\${namespace}/\${namespaceVersion}</directory>
886                                                 <excludes>
887                                                         <exclude>**/*.route</exclude>
888                                                         <exclude>**/*.props</exclude>
889                                                         <exclude>**/*.xslt</exclude>
890                                                         <exclude>**/*.vm</exclude>
891                                                         <exclude>**/*.jar</exclude>
892                                                         <exclude>**/*.xml</exclude>
893                                                 </excludes>
894                                         </resource>
895                                 </resources>
896                                 <plugins>
897                                         <plugin>
898                                                 <groupId>org.apache.maven.plugins</groupId>
899                                                 <artifactId>maven-compiler-plugin</artifactId>
900                                                 <version>3.1</version>
901                                         </plugin>
902                                         <plugin>
903                                                 <groupId>org.codehaus.groovy</groupId>
904                                                 <artifactId>groovy-eclipse-compiler</artifactId>
905                                                 <version>2.8.0-01</version>
906                                                 <extensions>true</extensions>
907                                         </plugin>
908
909                                         <plugin>
910                                                 <groupId>org.codehaus.mojo</groupId>
911                                                 <artifactId>exec-maven-plugin</artifactId>
912                                                 <version>1.2.1</version>
913                                                 <executions>
914                                                         <execution>
915                                                                 <goals>
916                                                                         <goal>exec</goal>
917                                                                 </goals>
918                                                         </execution>
919                                                 </executions>
920                                                 <configuration>
921                                                         <executable>bash</executable>
922                                                         <arguments>
923                                                                 <argument>runServer.sh</argument>
924                                                         </arguments>
925                                                 </configuration>
926                                         </plugin>
927                                         <plugin>
928                                                 <groupId>org.codehaus.mojo</groupId>
929                                                 <artifactId>build-helper-maven-plugin</artifactId>
930                                                 <version>1.9</version>
931                                                 <executions>
932                                                         <execution>
933                                                                 <id>add-source-groovy-ajsc-arch-parent</id>
934                                                                 <phase>generate-sources</phase>
935                                                                 <goals>
936                                                                         <goal>add-source</goal>
937                                                                 </goals>
938                                                                 <configuration>
939                                                                         <sources>
940                                                                                 <source>src/main/groovy</source>
941                                                                         </sources>
942                                                                 </configuration>
943                                                         </execution>
944                                                         <execution>
945                                                                 <id>add-test-source-groovy-ajsc-arch-parent</id>
946                                                                 <phase>generate-test-sources</phase>
947                                                                 <goals>
948                                                                         <goal>add-test-source</goal>
949                                                                 </goals>
950                                                                 <configuration>
951                                                                         <sources>
952                                                                                 <source>src/test/groovy</source>
953                                                                         </sources>
954                                                                 </configuration>
955                                                         </execution>
956                                                         <execution>
957                                                                 <id>regex-properties-ajsc-arch-parent</id>
958                                                                 <phase>initialize</phase>
959                                                                 <goals>
960                                                                         <goal>regex-properties</goal>
961                                                                 </goals>
962                                                                 <configuration>
963                                                                         <regexPropertySettings>
964                                                                                 <regexPropertySetting>
965                                                                                         <name>replaceWinFilePath</name>
966                                                                                         <value>${runAjscHome}</value>
967                                                                                         <regex>\\</regex>
968                                                                                         <replacement>/</replacement>
969                                                                                         <failIfNoMatch>false</failIfNoMatch>
970                                                                                 </regexPropertySetting>
971                                                                                 <regexPropertySetting>
972                                                                                         <name>replaceWinBasedirPath</name>
973                                                                                         <value>${basedir}</value>
974                                                                                         <regex>\\</regex>
975                                                                                         <replacement>/</replacement>
976                                                                                         <failIfNoMatch>false</failIfNoMatch>
977                                                                                 </regexPropertySetting>
978                                                                         </regexPropertySettings>
979                                                                 </configuration>
980                                                         </execution>
981                                                 </executions>
982                                         </plugin>
983                                         <plugin>
984                                                 <groupId>org.codehaus.mojo</groupId>
985                                                 <artifactId>properties-maven-plugin</artifactId>
986                                                 <version>1.0-alpha-2</version>
987                                                 <executions>
988                                                         <execution>
989                                                                 <id>write-project-properties-ajsc-arch-parent</id>
990                                                                 <phase>generate-resources</phase>
991                                                                 <goals>
992                                                                         <goal>write-project-properties</goal>
993                                                                 </goals>
994                                                                 <configuration>
995                                                                         <outputFile>
996                                                                                 ${project.build.outputDirectory}/build.properties
997                                                                         </outputFile>
998                                                                 </configuration>
999                                                         </execution>
1000                                                 </executions>
1001                                         </plugin>
1002                                         <plugin>
1003                                                 <groupId>org.apache.maven.plugins</groupId>
1004                                                 <artifactId>maven-assembly-plugin</artifactId>
1005                                                 <version>2.4</version>
1006                                                 <executions>
1007                                                         <execution>
1008                                                                 <id>make-assembly-ajsc-arch-parent</id>
1009                                                                 <phase>package</phase>
1010                                                                 <goals>
1011                                                                         <goal>single</goal>
1012                                                                 </goals>
1013                                                         </execution>
1014                                                 </executions>
1015                                                 <configuration>
1016                                                         <finalName>${project.artifactId}</finalName>
1017                                                         <descriptors>
1018                                                                 <descriptor>src/main/assemble/ajsc_runtime_assembly.xml</descriptor>
1019                                                         </descriptors>
1020                                                 </configuration>
1021                                         </plugin>
1022                                         <plugin>
1023                                                 <groupId>org.codehaus.groovy.maven</groupId>
1024                                                 <artifactId>gmaven-plugin</artifactId>
1025                                                 <version>1.0</version>
1026                                                 <executions>
1027                                                         <execution>
1028                                                                 <id>gmaven-ajsc-arch-parent</id>
1029                                                                 <phase>package</phase>
1030                                                                 <goals>
1031                                                                         <goal>execute</goal>
1032                                                                 </goals>
1033                                                                 <configuration>
1034                                                                         <sourcepath>src/main/groovy</sourcepath>
1035                                                                         <source>
1036                                                                                 import ajsc.AssemblyService;
1037                                                                                 ajsc.AssemblyService.getBasedir(project.basedir.getAbsolutePath(),"${distFilesRoot}")
1038                                                                         </source>
1039                                                                 </configuration>
1040                                                         </execution>
1041                                                 </executions>
1042                                         </plugin>
1043                                         <plugin>
1044                                                 <groupId>org.apache.maven.plugins</groupId>
1045                                                 <artifactId>maven-antrun-plugin</artifactId>
1046                                                 <version>1.7</version>
1047                                                 <executions>
1048                                                         <execution>
1049                                                                 <id>prep_service_runtime-ajsc-arch-parent</id>
1050                                                                 <phase>generate-resources</phase>
1051                                                                 <configuration>
1052                                                                         <target name="prep_service_runtime">
1053                                                                                 <echo message="ENTERING 'copy_services_template' ant tasks" />
1054                                                                                 <!-- <filter token="basedir" value="${basedir}" /> -->
1055                                                                                 <!-- delete any prior stating stuff before package phase -->
1056                                                                                 <delete dir="target/versioned-ajsc" includes="**/*" />
1057                                                                                 <delete dir="target/versioned-runtime" includes="**/*" />
1058                                                                                 <delete dir="target/CDP" includes="**/*" />
1059
1060                                                                                 <!-- This is where replacer plugin replaces tokens (Example: __module_ajsc_namespace_name__ 
1061                                                                                         is replaced by module.ajsc.namespace.name) -->
1062                                                                                 <copy todir="target/versioned-ajsc">
1063                                                                                         <fileset dir="src/main/ajsc" includes="**/*" />
1064                                                                                 </copy>
1065
1066                                                                                 <!-- Copying the CDP, bundleconfig, and StaticContent to the target 
1067                                                                                         directory for future use by replacer plugin -->
1068                                                                                 <copy todir="target/CDP" failonerror="false">
1069                                                                                         <fileset dir="CDP" includes="**/*.sh" />
1070                                                                                 </copy>
1071                                                                                 <copy flatten="true" file="CDP/SampleBlueprint.xml"
1072                                                                                         failonerror="false"
1073                                                                                         tofile="target/CDP/${module.ajsc.namespace.name}Blueprint.xml" />
1074                                                                                 <copy todir="target/staticContent" failonerror="false">
1075                                                                                         <fileset dir="staticContent" includes="**/*" />
1076                                                                                 </copy>
1077                                                                                 <copy todir="target/bundleconfig" failonerror="false">
1078                                                                                         <!-- filtering="true"> -->
1079                                                                                         <fileset dir="bundleconfig" />
1080                                                                                 </copy>
1081
1082                                                                                 <echo message="EXITING 'copy_services_template' ant tasks" />
1083                                                                                 <echo message="ENTERING 'copy_runtime_template' ant tasks" />
1084                                                                                 <copy todir="target/versioned-runtime">
1085                                                                                         <fileset dir="src/main/runtime" includes="**/*" />
1086                                                                                 </copy>
1087                                                                                 <delete
1088                                                                                         file="target/versioned-runtime/context/__module.ajsc.namespace.name__#__module.ajsc.namespace.version__.context" />
1089                                                                                 <copy flatten="true"
1090                                                                                         file="src/main/runtime/context/__module.ajsc.namespace.name__#__module.ajsc.namespace.version__.context"
1091                                                                                         tofile="target/versioned-runtime/context/${module.ajsc.namespace.name}#${module.ajsc.namespace.version}.context" />
1092                                                                                 <delete
1093                                                                                         file="target/versioned-runtime/deploymentPackage/__module.ajsc.namespace.name__#__module.ajsc.namespace.version__.json" />
1094                                                                                 <copy flatten="true"
1095                                                                                         file="src/main/runtime/deploymentPackage/__module.ajsc.namespace.name__#__module.ajsc.namespace.version__.json"
1096                                                                                         tofile="target/versioned-runtime/deploymentPackage/${module.ajsc.namespace.name}#${module.ajsc.namespace.version}.json" />
1097                                                                                 <delete
1098                                                                                         file="target/versioned-runtime/shiroRole/contextadmin#__module.ajsc.namespace.name__.json" />
1099                                                                                 <copy flatten="true"
1100                                                                                         file="src/main/runtime/shiroRole/contextadmin#__module.ajsc.namespace.name__.json"
1101                                                                                         tofile="target/versioned-runtime/shiroRole/contextadmin#${module.ajsc.namespace.name}.json" />
1102                                                                                 <delete
1103                                                                                         file="target/versioned-runtime/shiroUserRole/ajsc#contextAdmin#__module.ajsc.namespace.name__.json" />
1104                                                                                 <copy flatten="true"
1105                                                                                         file="src/main/runtime/shiroUserRole/ajsc#contextadmin#__module.ajsc.namespace.name__.json"
1106                                                                                         tofile="target/versioned-runtime/shiroUserRole/ajsc#contextadmin#${module.ajsc.namespace.name}.json" />
1107                                                                                 <echo message="EXITING 'copy_runtime_template' ant tasks" />
1108                                                                         </target>
1109                                                                 </configuration>
1110                                                                 <goals>
1111                                                                         <goal>run</goal>
1112                                                                 </goals>
1113                                                         </execution>
1114                                                         <execution>
1115                                                                 <id>clrf</id>
1116                                                                 <phase>package</phase>
1117                                                                 <configuration>
1118                                                                         <tasks>
1119                                                                                 <fixcrlf
1120                                                                                         srcdir="${basedir}/target/swm/package/nix/dist_files${distFilesRoot}"
1121                                                                                         includes="**/*.sh,**/*.xml,**/*.properties,**/*.xsd" />
1122                                                                         </tasks>
1123                                                                 </configuration>
1124                                                                 <goals>
1125                                                                         <goal>run</goal>
1126                                                                 </goals>
1127                                                         </execution>
1128                                                         <execution>
1129                                                                 <id>prep_home_directory_for_swm_pkgcreate-ajsc-arch-parent</id>
1130                                                                 <phase>package</phase>
1131                                                                 <configuration>
1132                                                                         <target name="prep_home_directory_for_swm_pkgcreate">
1133                                                                                 <ant antfile="${basedir}/antBuild/build.xml" target="prep_home_directory_for_swm_pkgcreate" />
1134                                                                         </target>
1135                                                                 </configuration>
1136                                                                 <goals>
1137                                                                         <goal>run</goal>
1138                                                                 </goals>
1139                                                         </execution>
1140                                                 </executions>
1141                                         </plugin>
1142                                         <plugin>
1143                                                 <groupId>org.apache.maven.plugins</groupId>
1144                                                 <artifactId>maven-dependency-plugin</artifactId>
1145                                                 <version>2.8</version>
1146                                                 <executions>
1147                                                         <execution>
1148                                                                 <id>copy-dependencies-ajsc-arch-parent</id>
1149                                                                 <phase>prepare-package</phase>
1150                                                                 <goals>
1151                                                                         <goal>copy-dependencies</goal>
1152                                                                 </goals>
1153                                                                 <configuration>
1154                                                                         <includeScope>runtime</includeScope>
1155                                                                         <excludeArtifactIds>ajsc-bom,ajsc-core,ajsc-runner,ajsc-war</excludeArtifactIds>
1156                                                                         <outputDirectory>${project.build.directory}/userjars</outputDirectory>
1157                                                                         <silent>true</silent>
1158                                                                 </configuration>
1159                                                         </execution>
1160                                                         <execution>
1161                                                                 <id>copy-dependencies-ajsc-arch-parent-commonLibs</id>
1162                                                                 <phase>prepare-package</phase>
1163                                                                 <goals>
1164                                                                         <goal>copy-dependencies</goal>
1165                                                                 </goals>
1166                                                                 <configuration>
1167                                                                         <includeScope>provided</includeScope>
1168                                                                         <includeGroupIds>net.cingular.enterprise,com.att.aft,dom4j</includeGroupIds>
1169                                                                         <!-- <includeGroupIds>com.att.aft</includeGroupIds> -->
1170                                                                         <outputDirectory>${project.build.directory}/commonLibs</outputDirectory>
1171                                                                         <silent>true</silent>
1172                                                                 </configuration>
1173                                                         </execution>
1174                                                         <execution>
1175                                                                 <id>copyrunner</id>
1176                                                                 <phase>prepare-package</phase>
1177                                                                 <goals>
1178                                                                         <goal>copy-dependencies</goal>
1179                                                                 </goals>
1180                                                                 <configuration>
1181                                                                         <includeArtifactIds>ajsc-runner</includeArtifactIds>
1182                                                                         <outputDirectory>${basedir}/target/swm/package/nix/dist_files${distFilesRoot}/lib</outputDirectory>
1183                                                                 </configuration>
1184                                                         </execution>
1185                                                 </executions>
1186                                         </plugin>
1187                                         <plugin>
1188                                                 <artifactId>maven-resources-plugin</artifactId>
1189                                                 <version>2.7</version>
1190                                                 <executions>
1191                                                         <execution>
1192                                                                 <id>copyconfig</id>
1193                                                                 <phase>package</phase>
1194                                                                 <goals>
1195                                                                         <goal>copy-resources</goal>
1196                                                                 </goals>
1197                                                                 <configuration>
1198                                                                         <outputDirectory>${basedir}/target/swm/package/nix/dist_files${distFilesRoot}/etc</outputDirectory>
1199                                                                         <resources>
1200                                                                                 <resource>
1201                                                                                         <directory>src/main/config</directory>
1202                                                                                 </resource>
1203                                                                         </resources>
1204                                                                 </configuration>
1205                                                         </execution>
1206                                                         <execution>
1207                                                                 <id>copyscript</id>
1208                                                                 <phase>package</phase>
1209                                                                 <goals>
1210                                                                         <goal>copy-resources</goal>
1211                                                                 </goals>
1212                                                                 <configuration>
1213                                                                         <outputDirectory>${basedir}/target/swm/package/nix/dist_files${distFilesRoot}/bin</outputDirectory>
1214                                                                         <resources>
1215                                                                                 <resource>
1216                                                                                         <directory>src/main/scripts</directory>
1217                                                                                 </resource>
1218                                                                         </resources>
1219                                                                 </configuration>
1220                                                         </execution>
1221                                                         <execution>
1222                                                                 <id>copy-docker-file</id>
1223                                                                 <phase>prepare-package</phase>
1224                                                                 <goals>
1225                                                                         <goal>copy-resources</goal>
1226                                                                 </goals>
1227                                                                 <configuration>
1228                                                                         <outputDirectory>${dockerLocation}</outputDirectory>
1229                                                                         <overwrite>true</overwrite>
1230                                                                         <resources>
1231                                                                                 <resource>
1232                                                                                         <directory>${basedir}/src/main/resources/docker</directory>
1233                                                                                         <filtering>true</filtering>
1234                                                                                         <includes>
1235                                                                                                 <include>**/*</include>
1236                                                                                         </includes>
1237                                                                                 </resource>
1238                                                                         </resources>
1239                                                                 </configuration>
1240                                                         </execution>
1241
1242                                                 </executions>
1243                                         </plugin>
1244
1245                                         <plugin>
1246                                                 <groupId>com.google.code.maven-replacer-plugin</groupId>
1247                                                 <artifactId>replacer</artifactId>
1248                                                 <version>1.5.2</version>
1249                                                 <executions>
1250                                                         <execution>
1251                                                                 <id>google-replacer-ajsc-arch-parent</id>
1252                                                                 <phase>prepare-package</phase>
1253                                                                 <goals>
1254                                                                         <goal>replace</goal>
1255                                                                 </goals>
1256                                                                 <configuration>
1257                                                                         <basedir>${project.build.directory}</basedir>
1258                                                                         <includes>
1259                                                                                 <include>staticContent/**/*.html</include>
1260                                                                                 <include>CDP/**</include>
1261                                                                                 <include>bundleconfig/**</include>
1262                                                                                 <include>versioned-runtime/**/*.context</include>
1263                                                                                 <include>versioned-runtime/**/*.json</include>
1264                                                                                 <include>versioned-ajsc/**/*.route</include>
1265                                                                                 <include>versioned-ajsc/**/*.groovy</include>
1266                                                                                 <include>versioned-ajsc/**/*.xml</include>
1267                                                                                 <include>classes/*.properties</include>
1268                                                                                 <include>swm/package/nix/dist_files${distFilesRoot}/etc/*.properties</include>
1269                                                                         </includes>
1270                                                                         <escape>true</escape>
1271                                                                         <replacements>
1272                                                                                 <replacement>
1273                                                                                         <token>__module_ajsc_namespace_name__</token>
1274                                                                                         <value>${module.ajsc.namespace.name}</value>
1275                                                                                 </replacement>
1276                                                                                 <replacement>
1277                                                                                         <token>__module_ajsc_namespace_version__</token>
1278                                                                                         <value>${module.ajsc.namespace.version}</value>
1279                                                                                 </replacement>
1280                                                                                 <replacement>
1281                                                                                         <token>__ajscHome__</token>
1282                                                                                         <value>${replaceWinFilePath}</value>
1283                                                                                 </replacement>
1284                                                                                 <replacement>
1285                                                                                         <token>__projectGroupId__</token>
1286                                                                                         <value>${project.groupId}</value>
1287                                                                                 </replacement>
1288                                                                                 <replacement>
1289                                                                                         <token>__projectArtifactId__</token>
1290                                                                                         <value>${project.artifactId}</value>
1291                                                                                 </replacement>
1292                                                                                 <replacement>
1293                                                                                         <token>__projectVersion__</token>
1294                                                                                         <value>${project.version}</value>
1295                                                                                 </replacement>
1296                                                                                 <replacement>
1297                                                                                         <token>__basedir__</token>
1298                                                                                         <value>${replaceWinBasedirPath}</value>
1299                                                                                 </replacement>
1300                                                                         </replacements>
1301                                                                 </configuration>
1302                                                         </execution>
1303                                                 </executions>
1304                                         </plugin>
1305                                 </plugins>
1306                                 <pluginManagement>
1307                                         <plugins>
1308                                                 <plugin>
1309                                                         <groupId>org.apache.maven.plugins</groupId>
1310                                                         <artifactId>maven-surefire-plugin</artifactId>
1311                                                         <version>2.14.1</version>
1312                                                         <configuration>
1313                                                                 <excludes>
1314                                                                         <exclude>**/AbstractTest.java</exclude>
1315                                                                 </excludes>
1316                                                         </configuration>
1317                                                 </plugin>
1318                                         </plugins>
1319                                 </pluginManagement>
1320                         </build>
1321                 </profile>
1322         </profiles>
1323
1324 </project>