testcases for code coverage
[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>0.1.1</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>1.0.0</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.15.5</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                         </exclusions>
378                 </dependency>
379                 <dependency>
380                         <groupId>org.mockito</groupId>
381                         <artifactId>mockito-core</artifactId>
382                         <version>1.10.19</version>
383                         <scope>test</scope>
384                 </dependency>
385                 <dependency>
386                         <groupId>org.powermock</groupId>
387                         <artifactId>powermock-module-junit4</artifactId>
388                         <version>1.6.4</version>
389                         <scope>test</scope>
390                 </dependency>
391                 <dependency>
392                         <groupId>org.powermock</groupId>
393                         <artifactId>powermock-api-mockito</artifactId>
394                         <version>1.6.4</version>
395                         <scope>test</scope>
396                 </dependency>
397                 <dependency>
398                         <groupId>org.codehaus.jackson</groupId>
399                         <artifactId>jackson-jaxrs</artifactId>
400                         <version>1.9.13</version>
401                 </dependency>
402
403                 <dependency>
404                         <groupId>org.codehaus.jackson</groupId>
405                         <artifactId>jackson-mapper-asl</artifactId>
406                         <version>1.9.13</version>
407                 </dependency>
408                 <dependency>
409                         <groupId>org.codehaus.jackson</groupId>
410                         <artifactId>jackson-core-asl</artifactId>
411                         <version>1.9.13</version>
412                 </dependency>
413
414                 <dependency>
415                         <groupId>com.fasterxml.jackson.core</groupId>
416                         <artifactId>jackson-core</artifactId>
417                         <version>2.4.3</version>
418                 </dependency>
419
420                 <dependency>
421                         <groupId>com.fasterxml.jackson.core</groupId>
422                         <artifactId>jackson-databind</artifactId>
423                         <version>2.3.3</version>
424                 </dependency>
425
426                 <dependency>
427                         <groupId>junit</groupId>
428                         <artifactId>junit</artifactId>
429                         <version>4.11</version>
430                         <scope>test</scope>
431                 </dependency>
432
433                 <dependency>
434                         <groupId>org.json</groupId>
435                         <artifactId>json</artifactId>
436                         <version>20131018</version>
437                 </dependency>
438
439                 <!-- CXF JAX-RS extension -->
440                 <dependency>
441                         <groupId>org.apache.cxf</groupId>
442                         <artifactId>cxf-rt-rs-extension-providers</artifactId>
443                         <version>3.0.4</version>
444                 </dependency>
445                 <dependency>
446                         <groupId>org.codehaus.jettison</groupId>
447                         <artifactId>jettison</artifactId>
448                         <version>1.3.7</version>
449                 </dependency>
450
451                 <dependency>
452                         <groupId>dom4j</groupId>
453                         <artifactId>dom4j</artifactId>
454                         <version>1.6.1</version>
455                         <scope>provided</scope>
456                 </dependency>
457                 <dependency>
458                         <groupId>com.att.aft</groupId>
459                         <artifactId>dme2</artifactId>
460                         <version>3.1.200</version>
461                         <!-- <scope>provided</scope> -->
462                 </dependency>
463                 <dependency>
464                         <groupId>com.att.ajsc</groupId>
465                         <artifactId>ajsc-archetype-parent</artifactId>
466                         <version>1.0.0</version>
467                         <type>pom</type>
468                 </dependency>
469
470                 <dependency>
471                         <groupId>com.att.cadi</groupId>
472                         <artifactId>cadi-aaf</artifactId>
473                         <version>1.3.0</version>
474                 </dependency>
475
476                 <dependency>
477                         <groupId>com.att.inno</groupId>
478                         <artifactId>rosetta</artifactId>
479                         <version>1.2.11</version>
480                 </dependency>
481                 <dependency>
482                         <groupId>com.att.inno</groupId>
483                         <artifactId>env</artifactId>
484                         <version>1.2.11</version>
485                 </dependency>
486                 <dependency>
487                         <groupId>com.att.inno</groupId>
488                         <artifactId>xgen</artifactId>
489                         <version>1.2.11</version>
490                 </dependency>
491                 <dependency>
492                         <groupId>com.att.inno</groupId>
493                         <artifactId>rosetta</artifactId>
494                         <version>1.2.11</version>
495                 </dependency>
496                 <dependency>
497                         <groupId>backport-util-concurrent</groupId>
498                         <artifactId>backport-util-concurrent</artifactId>
499                         <version>3.1</version>
500                 </dependency>
501                 <dependency>
502                         <groupId>org.apache.camel</groupId>
503                         <artifactId>camel-core</artifactId>
504                         <version>${camel.version}</version>
505                 </dependency>
506                 <dependency>
507                         <groupId>org.apache.camel</groupId>
508                         <artifactId>camel-quartz</artifactId>
509                         <version>${camel.version}</version>
510                 </dependency>
511                 <dependency>
512                         <groupId>org.apache.camel</groupId>
513                         <artifactId>camel-spring</artifactId>
514                         <version>${camel.version}</version>
515                 </dependency>
516                 <dependency>
517                         <groupId>org.apache.camel</groupId>
518                         <artifactId>camel-restlet</artifactId>
519                         <version>${camel.version}</version>
520                         <exclusions>
521                                 <exclusion>
522                                         <artifactId>org.restlet</artifactId>
523                                         <groupId>org.restlet.jse</groupId>
524                                 </exclusion>
525                         </exclusions>
526                 </dependency>
527                 <dependency>
528                         <groupId>org.apache.camel</groupId>
529                         <artifactId>camel-servlet</artifactId>
530                         <version>${camel.version}</version>
531                 </dependency>
532                 <dependency>
533                         <groupId>org.apache.camel</groupId>
534                         <artifactId>camel-http4</artifactId>
535                         <version>${camel.version}</version>
536                         <exclusions>
537                                 <exclusion>
538                                         <groupId>org.apache.geronimo.specs</groupId>
539                                         <artifactId>geronimo-servlet_2.5_spec</artifactId>
540                                 </exclusion>
541                         </exclusions>
542                 </dependency>
543                 <dependency>
544                         <groupId>org.apache.camel</groupId>
545                         <artifactId>camel-groovy</artifactId>
546                         <version>${camel.version}</version>
547                 </dependency>
548                 <dependency>
549                         <groupId>org.apache.camel</groupId>
550                         <artifactId>camel-twitter</artifactId>
551                         <version>${camel.version}</version>
552                 </dependency>
553                 <dependency>
554                         <groupId>org.apache.camel</groupId>
555                         <artifactId>camel-mail</artifactId>
556                         <version>${camel.version}</version>
557                 </dependency>
558                 <dependency>
559                         <groupId>org.apache.camel</groupId>
560                         <artifactId>camel-smpp</artifactId>
561                         <version>${camel.version}</version>
562                 </dependency>
563                 <dependency>
564                         <groupId>org.apache.camel</groupId>
565                         <artifactId>camel-jms</artifactId>
566                         <version>${camel.version}</version>
567                 </dependency>
568                 <dependency>
569                         <groupId>org.apache.camel</groupId>
570                         <artifactId>camel-script</artifactId>
571                         <version>${camel.version}</version>
572                 </dependency>
573                 <dependency>
574                         <groupId>org.apache.camel</groupId>
575                         <artifactId>camel-xmpp</artifactId>
576                         <version>${camel.version}</version>
577                 </dependency>
578                 <dependency>
579                         <groupId>org.apache.camel</groupId>
580                         <artifactId>camel-velocity</artifactId>
581                         <version>${camel.version}</version>
582                 </dependency>
583                 <dependency>
584                         <groupId>com.att.ajsc</groupId>
585                         <artifactId>ajsc-runner</artifactId>
586                         <version>1.0.0</version>
587                         <scope>runtime</scope>
588                 </dependency>
589                 <dependency>
590                         <groupId>com.att.ajsc</groupId>
591                         <artifactId>ajsc-core</artifactId>
592                         <version>1.0.0</version>
593                         <scope>provided</scope>
594                 </dependency>
595         </dependencies>
596         <!-- <build> <resources> <resource> <directory>${basedir}/ajsc-shared-config/etc</directory> 
597                 </resource> </resources> </build> -->
598         <profiles>
599                 <!-- Use this profile to run the AJSC locally. This profile can be successfully 
600                         shutdown WITHIN eclipse even in a Windows environment. Debugging is also 
601                         available with this profile. -->
602                 <profile>
603                         <id>docker</id>
604                         <properties>
605
606                                 <skip.docker.build>false</skip.docker.build>
607                                 <skip.docker.tag>false</skip.docker.tag>
608                                 <skip.docker.push>false</skip.docker.push>
609                         </properties>
610                 </profile>
611
612                 <profile>
613                         <id>runLocal</id>
614                         <build>
615                                 <defaultGoal>initialize</defaultGoal>
616                                 <plugins>
617                                         <plugin>
618                                                 <groupId>org.apache.maven.plugins</groupId>
619                                                 <artifactId>maven-antrun-plugin</artifactId>
620                                                 <executions>
621                                                         <execution>
622                                                                 <phase>initialize</phase>
623                                                                 <configuration>
624                                                                         <target name="runLocal">
625                                                                                 <ant antfile="${basedir}/antBuild/build.xml" target="runLocal" />
626                                                                         </target>
627                                                                 </configuration>
628                                                                 <goals>
629                                                                         <goal>run</goal>
630                                                                 </goals>
631                                                         </execution>
632                                                 </executions>
633                                         </plugin>
634                                 </plugins>
635                         </build>
636                 </profile>
637
638                 <profile>
639                         <id>runAjsc</id>
640                         <build>
641                                 <defaultGoal>initialize</defaultGoal>
642                                 <plugins>
643                                         <plugin>
644                                                 <groupId>org.codehaus.mojo</groupId>
645                                                 <artifactId>exec-maven-plugin</artifactId>
646                                                 <version>1.3.2</version>
647                                                 <executions>
648                                                         <execution>
649                                                                 <phase>initialize</phase>
650                                                                 <goals>
651                                                                         <goal>java</goal>
652                                                                 </goals>
653                                                                 <configuration>
654                                                                         <!-- In order to better mimic a SOA cloud installation of AJSC (and 
655                                                                                 to help eliminate Maven/Eclipse/AJSC classpath issues that may be difficult 
656                                                                                 to diagnose), within this profile used to run locally, we are NOT including 
657                                                                                 project dependencies. These will be loaded by AJSC from $AJSC_HOME/extJars. 
658                                                                                 The only jar needed to run AJSC is the ajsc-runner.jar, and therefore is 
659                                                                                 the only dependency required by this profile to run locally. -->
660                                                                         <includeProjectDependencies>false</includeProjectDependencies>
661                                                                         <includePluginDependencies>true</includePluginDependencies>
662                                                                         <executable>java</executable>
663                                                                         <mainClass>com.att.ajsc.runner.Runner</mainClass>
664                                                                         <executableDependency>
665                                                                                 <groupId>com.att.ajsc</groupId>
666                                                                                 <artifactId>ajsc-runner</artifactId>
667                                                                         </executableDependency>
668                                                                         <additionalClasspathElements>
669                                                                                 <additionalClasspathElement>${basedir}/ajsc-shared-config/etc</additionalClasspathElement>
670                                                                         </additionalClasspathElements>
671
672                                                                         <environmentVariables>
673                                                                                 <AJSC_HOME>${runAjscHome}</AJSC_HOME>
674                                                                         </environmentVariables>
675
676                                                                         <!-- Main AJSC System Properties below (necessary for proper startup) -->
677                                                                         <systemProperties>
678                                                                                 <systemProperty>
679                                                                                         <key>AJSC_HOME</key>
680                                                                                         <value>${runAjscHome}</value>
681                                                                                 </systemProperty>
682                                                                                 <systemProperty>
683                                                                                         <key>AJSC_HOME</key>
684                                                                                         <value>${runAjscHome}</value>
685                                                                                 </systemProperty>
686                                                                                 <systemProperty>
687                                                                                         <key>AJSC_CONF_HOME</key>
688                                                                                         <value>${basedir}/bundleconfig-local</value>
689                                                                                 </systemProperty>
690                                                                                 <systemProperty>
691                                                                                         <key>logback.configurationFile</key>
692                                                                                         <value>${basedir}/ajsc-shared-config/etc/logback.xml</value>
693                                                                                 </systemProperty>
694                                                                                 <systemProperty>
695                                                                                         <key>AJSC_SHARED_CONFIG</key>
696                                                                                         <value>${basedir}/ajsc-shared-config</value>
697                                                                                 </systemProperty>
698
699                                                                                 <!-- Please, NOTE: The following 2 system properties will normally 
700                                                                                         be set within the sys-props.properties file once deployed to a node. We are 
701                                                                                         setting them HERE to run locally to make more efficient use of maven variable 
702                                                                                         replacement for ${basedir} -->
703                                                                                 <!-- AJSC_EXTERNAL_LIB_FOLDERS represents the particular jars that 
704                                                                                         will be externalized on a CSI node. This includes dme2 and csm related artifact. -->
705                                                                                 <sysproperty>
706                                                                                         <key>AJSC_EXTERNAL_LIB_FOLDERS</key>
707                                                                                         <value>${basedir}/target/commonLibs</value>
708                                                                                 </sysproperty>
709                                                                                 <!-- AJSC_EXTERNAL_PROPERTIES_FOLDERS represents the particular 
710                                                                                         files that may need to be added to the classpath. These files will be externalized 
711                                                                                         on a CSI node. This includes dme2 and csm related artifact (such as csm-config-app.properties). 
712                                                                                         Failure to have these files on the classpath may result in errors thrown 
713                                                                                         by csm framework. -->
714                                                                                 <sysproperty>
715                                                                                         <key>AJSC_EXTERNAL_PROPERTIES_FOLDERS</key>
716                                                                                         <value>${basedir}/ajsc-shared-config/etc</value>
717                                                                                 </sysproperty>
718
719                                                                                 <systemProperty>
720                                                                                         <key>AJSC_SERVICE_NAMESPACE</key>
721                                                                                         <value>${module.ajsc.namespace.name}</value>
722                                                                                 </systemProperty>
723                                                                                 <systemProperty>
724                                                                                         <key>AJSC_SERVICE_VERSION</key>
725                                                                                         <value>${module.ajsc.namespace.version}</value>
726                                                                                 </systemProperty>
727                                                                                 <systemProperty>
728                                                                                         <key>SOACLOUD_SERVICE_VERSION</key>
729                                                                                         <value>${project.version}</value>
730                                                                                 </systemProperty>
731                                                                                 <systemProperty>
732                                                                                         <key>server.port</key>
733                                                                                         <value>${serverPort}</value>
734                                                                                 </systemProperty>
735                                                                         </systemProperties>
736
737                                                                         <!-- Command Line Arguments to add to the java command. Here, you 
738                                                                                 can specify the port as well as the Context you want your service to run 
739                                                                                 in. Use context=/ to run in an unnamed Context (Root Context). The default 
740                                                                                 configuration of the AJSC is to run under the / Context. Setting the port 
741                                                                                 here can aid during the development phase of your service. However, you can 
742                                                                                 leave this argument out entirely, and the AJSC will default to using an Ephemeral 
743                                                                                 port. -->
744                                                                         <arguments>
745                                                                                 <argument>context=/</argument>
746                                                                                 <argument>port=${serverPort}</argument>
747                                                                                 <argument>sslport=${sslport}</argument>
748                                                                         </arguments>
749                                                                 </configuration>
750                                                         </execution>
751                                                 </executions>
752                                                 <configuration>
753                                                         <executable>java</executable>
754                                                 </configuration>
755                                                 <dependencies>
756                                                         <dependency>
757                                                                 <groupId>com.att.ajsc</groupId>
758                                                                 <artifactId>ajsc-runner</artifactId>
759                                                                 <version>${ajscRuntimeVersion}</version>
760                                                         </dependency>
761                                                 </dependencies>
762                                         </plugin>
763
764                                 </plugins>
765                         </build>
766                 </profile>
767                 <profile>
768                         <id>standardbuild</id>
769                         <activation>
770                                 <file>
771                                         <exists>src</exists>
772                                 </file>
773                         </activation>
774                         <build>
775                                 <resources>
776                                         <resource>
777                                                 <directory>src/main/resources</directory>
778                                                 <excludes>
779                                                         <exclude>extApps/*.*</exclude>
780                                                         <exclude>${module.ajsc.namespace.name}/**</exclude>
781                                                 </excludes>
782                                         </resource>
783                                         <resource>
784                                                 <directory>src/main/ajsc/\${namespace}_${namespaceVersion}/\${namespace}/\${namespaceVersion}</directory>
785                                                 <excludes>
786                                                         <exclude>**/*.route</exclude>
787                                                         <exclude>**/*.props</exclude>
788                                                         <exclude>**/*.xslt</exclude>
789                                                         <exclude>**/*.vm</exclude>
790                                                         <exclude>**/*.jar</exclude>
791                                                         <exclude>**/*.xml</exclude>
792                                                 </excludes>
793                                         </resource>
794                                 </resources>
795                                 <plugins>
796                                         <plugin>
797                                                 <groupId>org.apache.maven.plugins</groupId>
798                                                 <artifactId>maven-compiler-plugin</artifactId>
799                                                 <version>3.1</version>
800                                         </plugin>
801                                         <plugin>
802                                                 <groupId>org.codehaus.groovy</groupId>
803                                                 <artifactId>groovy-eclipse-compiler</artifactId>
804                                                 <version>2.8.0-01</version>
805                                                 <extensions>true</extensions>
806                                         </plugin>
807
808                                         <plugin>
809                                                 <groupId>org.codehaus.mojo</groupId>
810                                                 <artifactId>exec-maven-plugin</artifactId>
811                                                 <version>1.2.1</version>
812                                                 <executions>
813                                                         <execution>
814                                                                 <goals>
815                                                                         <goal>exec</goal>
816                                                                 </goals>
817                                                         </execution>
818                                                 </executions>
819                                                 <configuration>
820                                                         <executable>bash</executable>
821                                                         <arguments>
822                                                                 <argument>runServer.sh</argument>
823                                                         </arguments>
824                                                 </configuration>
825                                         </plugin>
826                                         <plugin>
827                                                 <groupId>org.codehaus.mojo</groupId>
828                                                 <artifactId>build-helper-maven-plugin</artifactId>
829                                                 <version>1.9</version>
830                                                 <executions>
831                                                         <execution>
832                                                                 <id>add-source-groovy-ajsc-arch-parent</id>
833                                                                 <phase>generate-sources</phase>
834                                                                 <goals>
835                                                                         <goal>add-source</goal>
836                                                                 </goals>
837                                                                 <configuration>
838                                                                         <sources>
839                                                                                 <source>src/main/groovy</source>
840                                                                         </sources>
841                                                                 </configuration>
842                                                         </execution>
843                                                         <execution>
844                                                                 <id>add-test-source-groovy-ajsc-arch-parent</id>
845                                                                 <phase>generate-test-sources</phase>
846                                                                 <goals>
847                                                                         <goal>add-test-source</goal>
848                                                                 </goals>
849                                                                 <configuration>
850                                                                         <sources>
851                                                                                 <source>src/test/groovy</source>
852                                                                         </sources>
853                                                                 </configuration>
854                                                         </execution>
855                                                         <execution>
856                                                                 <id>regex-properties-ajsc-arch-parent</id>
857                                                                 <phase>initialize</phase>
858                                                                 <goals>
859                                                                         <goal>regex-properties</goal>
860                                                                 </goals>
861                                                                 <configuration>
862                                                                         <regexPropertySettings>
863                                                                                 <regexPropertySetting>
864                                                                                         <name>replaceWinFilePath</name>
865                                                                                         <value>${runAjscHome}</value>
866                                                                                         <regex>\\</regex>
867                                                                                         <replacement>/</replacement>
868                                                                                         <failIfNoMatch>false</failIfNoMatch>
869                                                                                 </regexPropertySetting>
870                                                                                 <regexPropertySetting>
871                                                                                         <name>replaceWinBasedirPath</name>
872                                                                                         <value>${basedir}</value>
873                                                                                         <regex>\\</regex>
874                                                                                         <replacement>/</replacement>
875                                                                                         <failIfNoMatch>false</failIfNoMatch>
876                                                                                 </regexPropertySetting>
877                                                                         </regexPropertySettings>
878                                                                 </configuration>
879                                                         </execution>
880                                                 </executions>
881                                         </plugin>
882                                         <plugin>
883                                                 <groupId>org.codehaus.mojo</groupId>
884                                                 <artifactId>properties-maven-plugin</artifactId>
885                                                 <version>1.0-alpha-2</version>
886                                                 <executions>
887                                                         <execution>
888                                                                 <id>write-project-properties-ajsc-arch-parent</id>
889                                                                 <phase>generate-resources</phase>
890                                                                 <goals>
891                                                                         <goal>write-project-properties</goal>
892                                                                 </goals>
893                                                                 <configuration>
894                                                                         <outputFile>
895                                                                                 ${project.build.outputDirectory}/build.properties
896                                                                         </outputFile>
897                                                                 </configuration>
898                                                         </execution>
899                                                 </executions>
900                                         </plugin>
901                                         <plugin>
902                                                 <groupId>org.apache.maven.plugins</groupId>
903                                                 <artifactId>maven-assembly-plugin</artifactId>
904                                                 <version>2.4</version>
905                                                 <executions>
906                                                         <execution>
907                                                                 <id>make-assembly-ajsc-arch-parent</id>
908                                                                 <phase>package</phase>
909                                                                 <goals>
910                                                                         <goal>single</goal>
911                                                                 </goals>
912                                                         </execution>
913                                                 </executions>
914                                                 <configuration>
915                                                         <finalName>${project.artifactId}</finalName>
916                                                         <descriptors>
917                                                                 <descriptor>src/main/assemble/ajsc_runtime_assembly.xml</descriptor>
918                                                         </descriptors>
919                                                 </configuration>
920                                         </plugin>
921                                         <plugin>
922                                                 <groupId>org.codehaus.groovy.maven</groupId>
923                                                 <artifactId>gmaven-plugin</artifactId>
924                                                 <version>1.0</version>
925                                                 <executions>
926                                                         <execution>
927                                                                 <id>gmaven-ajsc-arch-parent</id>
928                                                                 <phase>package</phase>
929                                                                 <goals>
930                                                                         <goal>execute</goal>
931                                                                 </goals>
932                                                                 <configuration>
933                                                                         <sourcepath>src/main/groovy</sourcepath>
934                                                                         <source>
935                                                                                 import ajsc.AssemblyService;
936                                                                                 ajsc.AssemblyService.getBasedir(project.basedir.getAbsolutePath(),"${distFilesRoot}")
937                                                                         </source>
938                                                                 </configuration>
939                                                         </execution>
940                                                 </executions>
941                                         </plugin>
942                                         <plugin>
943                                                 <groupId>org.apache.maven.plugins</groupId>
944                                                 <artifactId>maven-antrun-plugin</artifactId>
945                                                 <version>1.7</version>
946                                                 <executions>
947                                                         <execution>
948                                                                 <id>prep_service_runtime-ajsc-arch-parent</id>
949                                                                 <phase>generate-resources</phase>
950                                                                 <configuration>
951                                                                         <target name="prep_service_runtime">
952                                                                                 <echo message="ENTERING 'copy_services_template' ant tasks" />
953                                                                                 <!-- <filter token="basedir" value="${basedir}" /> -->
954                                                                                 <!-- delete any prior stating stuff before package phase -->
955                                                                                 <delete dir="target/versioned-ajsc" includes="**/*" />
956                                                                                 <delete dir="target/versioned-runtime" includes="**/*" />
957                                                                                 <delete dir="target/CDP" includes="**/*" />
958
959                                                                                 <!-- This is where replacer plugin replaces tokens (Example: __module_ajsc_namespace_name__ 
960                                                                                         is replaced by module.ajsc.namespace.name) -->
961                                                                                 <copy todir="target/versioned-ajsc">
962                                                                                         <fileset dir="src/main/ajsc" includes="**/*" />
963                                                                                 </copy>
964
965                                                                                 <!-- Copying the CDP, bundleconfig, and StaticContent to the target 
966                                                                                         directory for future use by replacer plugin -->
967                                                                                 <copy todir="target/CDP" failonerror="false">
968                                                                                         <fileset dir="CDP" includes="**/*.sh" />
969                                                                                 </copy>
970                                                                                 <copy flatten="true" file="CDP/SampleBlueprint.xml"
971                                                                                         failonerror="false"
972                                                                                         tofile="target/CDP/${module.ajsc.namespace.name}Blueprint.xml" />
973                                                                                 <copy todir="target/staticContent" failonerror="false">
974                                                                                         <fileset dir="staticContent" includes="**/*" />
975                                                                                 </copy>
976                                                                                 <copy todir="target/bundleconfig" failonerror="false">
977                                                                                         <!-- filtering="true"> -->
978                                                                                         <fileset dir="bundleconfig" />
979                                                                                 </copy>
980
981                                                                                 <echo message="EXITING 'copy_services_template' ant tasks" />
982                                                                                 <echo message="ENTERING 'copy_runtime_template' ant tasks" />
983                                                                                 <copy todir="target/versioned-runtime">
984                                                                                         <fileset dir="src/main/runtime" includes="**/*" />
985                                                                                 </copy>
986                                                                                 <delete
987                                                                                         file="target/versioned-runtime/context/__module.ajsc.namespace.name__#__module.ajsc.namespace.version__.context" />
988                                                                                 <copy flatten="true"
989                                                                                         file="src/main/runtime/context/__module.ajsc.namespace.name__#__module.ajsc.namespace.version__.context"
990                                                                                         tofile="target/versioned-runtime/context/${module.ajsc.namespace.name}#${module.ajsc.namespace.version}.context" />
991                                                                                 <delete
992                                                                                         file="target/versioned-runtime/deploymentPackage/__module.ajsc.namespace.name__#__module.ajsc.namespace.version__.json" />
993                                                                                 <copy flatten="true"
994                                                                                         file="src/main/runtime/deploymentPackage/__module.ajsc.namespace.name__#__module.ajsc.namespace.version__.json"
995                                                                                         tofile="target/versioned-runtime/deploymentPackage/${module.ajsc.namespace.name}#${module.ajsc.namespace.version}.json" />
996                                                                                 <delete
997                                                                                         file="target/versioned-runtime/shiroRole/contextadmin#__module.ajsc.namespace.name__.json" />
998                                                                                 <copy flatten="true"
999                                                                                         file="src/main/runtime/shiroRole/contextadmin#__module.ajsc.namespace.name__.json"
1000                                                                                         tofile="target/versioned-runtime/shiroRole/contextadmin#${module.ajsc.namespace.name}.json" />
1001                                                                                 <delete
1002                                                                                         file="target/versioned-runtime/shiroUserRole/ajsc#contextAdmin#__module.ajsc.namespace.name__.json" />
1003                                                                                 <copy flatten="true"
1004                                                                                         file="src/main/runtime/shiroUserRole/ajsc#contextadmin#__module.ajsc.namespace.name__.json"
1005                                                                                         tofile="target/versioned-runtime/shiroUserRole/ajsc#contextadmin#${module.ajsc.namespace.name}.json" />
1006                                                                                 <echo message="EXITING 'copy_runtime_template' ant tasks" />
1007                                                                         </target>
1008                                                                 </configuration>
1009                                                                 <goals>
1010                                                                         <goal>run</goal>
1011                                                                 </goals>
1012                                                         </execution>
1013                                                         <execution>
1014                                                                 <id>clrf</id>
1015                                                                 <phase>package</phase>
1016                                                                 <configuration>
1017                                                                         <tasks>
1018                                                                                 <fixcrlf
1019                                                                                         srcdir="${basedir}/target/swm/package/nix/dist_files${distFilesRoot}"
1020                                                                                         includes="**/*.sh,**/*.xml,**/*.properties,**/*.xsd" />
1021                                                                         </tasks>
1022                                                                 </configuration>
1023                                                                 <goals>
1024                                                                         <goal>run</goal>
1025                                                                 </goals>
1026                                                         </execution>
1027                                                         <execution>
1028                                                                 <id>prep_home_directory_for_swm_pkgcreate-ajsc-arch-parent</id>
1029                                                                 <phase>package</phase>
1030                                                                 <configuration>
1031                                                                         <target name="prep_home_directory_for_swm_pkgcreate">
1032                                                                                 <ant antfile="${basedir}/antBuild/build.xml" target="prep_home_directory_for_swm_pkgcreate" />
1033                                                                         </target>
1034                                                                 </configuration>
1035                                                                 <goals>
1036                                                                         <goal>run</goal>
1037                                                                 </goals>
1038                                                         </execution>
1039                                                 </executions>
1040                                         </plugin>
1041                                         <plugin>
1042                                                 <groupId>org.apache.maven.plugins</groupId>
1043                                                 <artifactId>maven-dependency-plugin</artifactId>
1044                                                 <version>2.8</version>
1045                                                 <executions>
1046                                                         <execution>
1047                                                                 <id>copy-dependencies-ajsc-arch-parent</id>
1048                                                                 <phase>prepare-package</phase>
1049                                                                 <goals>
1050                                                                         <goal>copy-dependencies</goal>
1051                                                                 </goals>
1052                                                                 <configuration>
1053                                                                         <includeScope>runtime</includeScope>
1054                                                                         <excludeArtifactIds>ajsc-bom,ajsc-core,ajsc-runner,ajsc-war</excludeArtifactIds>
1055                                                                         <outputDirectory>${project.build.directory}/userjars</outputDirectory>
1056                                                                         <silent>true</silent>
1057                                                                 </configuration>
1058                                                         </execution>
1059                                                         <execution>
1060                                                                 <id>copy-dependencies-ajsc-arch-parent-commonLibs</id>
1061                                                                 <phase>prepare-package</phase>
1062                                                                 <goals>
1063                                                                         <goal>copy-dependencies</goal>
1064                                                                 </goals>
1065                                                                 <configuration>
1066                                                                         <includeScope>provided</includeScope>
1067                                                                         <includeGroupIds>net.cingular.enterprise,com.att.aft,dom4j</includeGroupIds>
1068                                                                         <!-- <includeGroupIds>com.att.aft</includeGroupIds> -->
1069                                                                         <outputDirectory>${project.build.directory}/commonLibs</outputDirectory>
1070                                                                         <silent>true</silent>
1071                                                                 </configuration>
1072                                                         </execution>
1073                                                         <execution>
1074                                                                 <id>copyrunner</id>
1075                                                                 <phase>prepare-package</phase>
1076                                                                 <goals>
1077                                                                         <goal>copy-dependencies</goal>
1078                                                                 </goals>
1079                                                                 <configuration>
1080                                                                         <includeArtifactIds>ajsc-runner</includeArtifactIds>
1081                                                                         <outputDirectory>${basedir}/target/swm/package/nix/dist_files${distFilesRoot}/lib</outputDirectory>
1082                                                                 </configuration>
1083                                                         </execution>
1084                                                 </executions>
1085                                         </plugin>
1086                                         <plugin>
1087                                                 <artifactId>maven-resources-plugin</artifactId>
1088                                                 <version>2.7</version>
1089                                                 <executions>
1090                                                         <execution>
1091                                                                 <id>copyconfig</id>
1092                                                                 <phase>package</phase>
1093                                                                 <goals>
1094                                                                         <goal>copy-resources</goal>
1095                                                                 </goals>
1096                                                                 <configuration>
1097                                                                         <outputDirectory>${basedir}/target/swm/package/nix/dist_files${distFilesRoot}/etc</outputDirectory>
1098                                                                         <resources>
1099                                                                                 <resource>
1100                                                                                         <directory>src/main/config</directory>
1101                                                                                 </resource>
1102                                                                         </resources>
1103                                                                 </configuration>
1104                                                         </execution>
1105                                                         <execution>
1106                                                                 <id>copyscript</id>
1107                                                                 <phase>package</phase>
1108                                                                 <goals>
1109                                                                         <goal>copy-resources</goal>
1110                                                                 </goals>
1111                                                                 <configuration>
1112                                                                         <outputDirectory>${basedir}/target/swm/package/nix/dist_files${distFilesRoot}/bin</outputDirectory>
1113                                                                         <resources>
1114                                                                                 <resource>
1115                                                                                         <directory>src/main/scripts</directory>
1116                                                                                 </resource>
1117                                                                         </resources>
1118                                                                 </configuration>
1119                                                         </execution>
1120                                                         <execution>
1121                                                                 <id>copy-docker-file</id>
1122                                                                 <phase>prepare-package</phase>
1123                                                                 <goals>
1124                                                                         <goal>copy-resources</goal>
1125                                                                 </goals>
1126                                                                 <configuration>
1127                                                                         <outputDirectory>${dockerLocation}</outputDirectory>
1128                                                                         <overwrite>true</overwrite>
1129                                                                         <resources>
1130                                                                                 <resource>
1131                                                                                         <directory>${basedir}/src/main/resources/docker</directory>
1132                                                                                         <filtering>true</filtering>
1133                                                                                         <includes>
1134                                                                                                 <include>**/*</include>
1135                                                                                         </includes>
1136                                                                                 </resource>
1137                                                                         </resources>
1138                                                                 </configuration>
1139                                                         </execution>
1140
1141                                                 </executions>
1142                                         </plugin>
1143
1144                                         <plugin>
1145                                                 <groupId>com.google.code.maven-replacer-plugin</groupId>
1146                                                 <artifactId>replacer</artifactId>
1147                                                 <version>1.5.2</version>
1148                                                 <executions>
1149                                                         <execution>
1150                                                                 <id>google-replacer-ajsc-arch-parent</id>
1151                                                                 <phase>prepare-package</phase>
1152                                                                 <goals>
1153                                                                         <goal>replace</goal>
1154                                                                 </goals>
1155                                                                 <configuration>
1156                                                                         <basedir>${project.build.directory}</basedir>
1157                                                                         <includes>
1158                                                                                 <include>staticContent/**/*.html</include>
1159                                                                                 <include>CDP/**</include>
1160                                                                                 <include>bundleconfig/**</include>
1161                                                                                 <include>versioned-runtime/**/*.context</include>
1162                                                                                 <include>versioned-runtime/**/*.json</include>
1163                                                                                 <include>versioned-ajsc/**/*.route</include>
1164                                                                                 <include>versioned-ajsc/**/*.groovy</include>
1165                                                                                 <include>versioned-ajsc/**/*.xml</include>
1166                                                                                 <include>classes/*.properties</include>
1167                                                                                 <include>swm/package/nix/dist_files${distFilesRoot}/etc/*.properties</include>
1168                                                                         </includes>
1169                                                                         <escape>true</escape>
1170                                                                         <replacements>
1171                                                                                 <replacement>
1172                                                                                         <token>__module_ajsc_namespace_name__</token>
1173                                                                                         <value>${module.ajsc.namespace.name}</value>
1174                                                                                 </replacement>
1175                                                                                 <replacement>
1176                                                                                         <token>__module_ajsc_namespace_version__</token>
1177                                                                                         <value>${module.ajsc.namespace.version}</value>
1178                                                                                 </replacement>
1179                                                                                 <replacement>
1180                                                                                         <token>__ajscHome__</token>
1181                                                                                         <value>${replaceWinFilePath}</value>
1182                                                                                 </replacement>
1183                                                                                 <replacement>
1184                                                                                         <token>__projectGroupId__</token>
1185                                                                                         <value>${project.groupId}</value>
1186                                                                                 </replacement>
1187                                                                                 <replacement>
1188                                                                                         <token>__projectArtifactId__</token>
1189                                                                                         <value>${project.artifactId}</value>
1190                                                                                 </replacement>
1191                                                                                 <replacement>
1192                                                                                         <token>__projectVersion__</token>
1193                                                                                         <value>${project.version}</value>
1194                                                                                 </replacement>
1195                                                                                 <replacement>
1196                                                                                         <token>__basedir__</token>
1197                                                                                         <value>${replaceWinBasedirPath}</value>
1198                                                                                 </replacement>
1199                                                                         </replacements>
1200                                                                 </configuration>
1201                                                         </execution>
1202                                                 </executions>
1203                                         </plugin>
1204                                 </plugins>
1205                                 <pluginManagement>
1206                                         <plugins>
1207                                                 <plugin>
1208                                                         <groupId>org.apache.maven.plugins</groupId>
1209                                                         <artifactId>maven-surefire-plugin</artifactId>
1210                                                         <version>2.14.1</version>
1211                                                         <configuration>
1212                                                                 <excludes>
1213                                                                         <exclude>**/AbstractTest.java</exclude>
1214                                                                 </excludes>
1215                                                         </configuration>
1216                                                 </plugin>
1217                                         </plugins>
1218                                 </pluginManagement>
1219                         </build>
1220                 </profile>
1221         </profiles>
1222
1223 </project>