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