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