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