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