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