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