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