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