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