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