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