Change dockername
[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>1.0.0-SNAPSHOT</version>
30         </parent>
31         
32         <groupId>org.onap.dmaap.messagerouter.messageservice</groupId>
33         <artifactId>dmaapMR1</artifactId>
34         <version>1.0.1-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
59         <build>
60                 <plugins>
61                         <plugin>
62                                                 <groupId>org.apache.maven.plugins</groupId>
63                                                 <artifactId>maven-antrun-plugin</artifactId>
64                                                 <version>1.7</version>
65                                                 <executions>
66                                                         <execution>
67                                                                 <id>prep_service_runtime-ajsc-arch-parent</id>
68                                                                 <phase>generate-resources</phase>
69                                                                 <configuration>
70                                                                         <target name="prep_service_runtime">
71                                                                                 <echo message="ENTERING 'copy_services_template' ant tasks" />
72                                                                                 <!-- <filter token="basedir" value="${basedir}" /> -->
73                                                                                 <!-- delete any prior stating stuff before package phase -->
74                                                                                 <delete dir="target/versioned-ajsc" includes="**/*" />
75                                                                                 <delete dir="target/versioned-runtime" includes="**/*" />
76                                                                                 <delete dir="target/CDP" includes="**/*" />
77
78                                                                                 <!-- This is where replacer plugin replaces tokens (Example: __module_ajsc_namespace_name__ 
79                                                                                         is replaced by module.ajsc.namespace.name) -->
80                                                                                 <copy todir="target/versioned-ajsc">
81                                                                                         <fileset dir="src/main/ajsc" includes="**/*" />
82                                                                                 </copy>
83
84                                                                                 <!-- Copying the CDP, bundleconfig, and StaticContent to the target 
85                                                                                         directory for future use by replacer plugin -->
86                                                                                 <copy todir="target/CDP" failonerror="false">
87                                                                                         <fileset dir="CDP" includes="**/*.sh" />
88                                                                                 </copy>
89                                                                                 <copy flatten="true" file="CDP/SampleBlueprint.xml"
90                                                                                         failonerror="false"
91                                                                                         tofile="target/CDP/${module.ajsc.namespace.name}Blueprint.xml" />
92                                                                                 <copy todir="target/staticContent" failonerror="false">
93                                                                                         <fileset dir="staticContent" includes="**/*" />
94                                                                                 </copy>
95                                                                                 <copy todir="target/bundleconfig" failonerror="false">
96                                                                                         <!-- filtering="true"> -->
97                                                                                         <fileset dir="bundleconfig" />
98                                                                                 </copy>
99
100                                                                                 <echo message="EXITING 'copy_services_template' ant tasks" />
101                                                                                 <echo message="ENTERING 'copy_runtime_template' ant tasks" />
102                                                                                 <copy todir="target/versioned-runtime">
103                                                                                         <fileset dir="src/main/runtime" includes="**/*" />
104                                                                                 </copy>
105                                                                                 <delete
106                                                                                         file="target/versioned-runtime/context/__module.ajsc.namespace.name__#__module.ajsc.namespace.version__.context" />
107                                                                                 <copy flatten="true"
108                                                                                         file="src/main/runtime/context/__module.ajsc.namespace.name__#__module.ajsc.namespace.version__.context"
109                                                                                         tofile="target/versioned-runtime/context/${module.ajsc.namespace.name}#${module.ajsc.namespace.version}.context" />
110                                                                                 <delete
111                                                                                         file="target/versioned-runtime/deploymentPackage/__module.ajsc.namespace.name__#__module.ajsc.namespace.version__.json" />
112                                                                                 <copy flatten="true"
113                                                                                         file="src/main/runtime/deploymentPackage/__module.ajsc.namespace.name__#__module.ajsc.namespace.version__.json"
114                                                                                         tofile="target/versioned-runtime/deploymentPackage/${module.ajsc.namespace.name}#${module.ajsc.namespace.version}.json" />
115                                                                                 <delete
116                                                                                         file="target/versioned-runtime/shiroRole/contextadmin#__module.ajsc.namespace.name__.json" />
117                                                                                 <copy flatten="true"
118                                                                                         file="src/main/runtime/shiroRole/contextadmin#__module.ajsc.namespace.name__.json"
119                                                                                         tofile="target/versioned-runtime/shiroRole/contextadmin#${module.ajsc.namespace.name}.json" />
120                                                                                 <delete
121                                                                                         file="target/versioned-runtime/shiroUserRole/ajsc#contextAdmin#__module.ajsc.namespace.name__.json" />
122                                                                                 <copy flatten="true"
123                                                                                         file="src/main/runtime/shiroUserRole/ajsc#contextadmin#__module.ajsc.namespace.name__.json"
124                                                                                         tofile="target/versioned-runtime/shiroUserRole/ajsc#contextadmin#${module.ajsc.namespace.name}.json" />
125                                                                                 <echo message="EXITING 'copy_runtime_template' ant tasks" />
126                                                                         </target>
127                                                                 </configuration>
128                                                                 <goals>
129                                                                         <goal>run</goal>
130                                                                 </goals>
131                                                         </execution>
132                                                         <execution>
133                                                                 <id>clrf</id>
134                                                                 <phase>package</phase>
135                                                                 <configuration>
136                                                                         <tasks>
137                                                                                 <fixcrlf
138                                                                                         srcdir="${basedir}/target/swm/package/nix/dist_files${distFilesRoot}"
139                                                                                         includes="**/*.sh,**/*.xml,**/*.properties,**/*.xsd" />
140                                                                         </tasks>
141                                                                 </configuration>
142                                                                 <goals>
143                                                                         <goal>run</goal>
144                                                                 </goals>
145                                                         </execution>
146                                                         <execution>
147                                                                 <id>prep_home_directory_for_swm_pkgcreate-ajsc-arch-parent</id>
148                                                                 <phase>package</phase>
149                                                                 <configuration>
150                                                                         <target name="prep_home_directory_for_swm_pkgcreate">
151                                                                                 <ant antfile="${basedir}/antBuild/build.xml" target="prep_home_directory_for_swm_pkgcreate" />
152                                                                         </target>
153                                                                 </configuration>
154                                                                 <goals>
155                                                                         <goal>run</goal>
156                                                                 </goals>
157                                                         </execution>
158                                                 </executions>
159                                         </plugin>
160                                         
161                                         <plugin>
162                                                 <groupId>org.codehaus.groovy.maven</groupId>
163                                                 <artifactId>gmaven-plugin</artifactId>
164                                                 <version>1.0</version>
165                                                 <executions>
166                                                         <execution>
167                                                                 <id>gmaven-ajsc-arch-parent</id>
168                                                                 <phase>package</phase>
169                                                                 <goals>
170                                                                         <goal>execute</goal>
171                                                                 </goals>
172                                                                 <configuration>
173                                                                         <sourcepath>src/main/groovy</sourcepath>
174                                                                         <source>
175                                                                                 import ajsc.AssemblyService;
176                                                                                 ajsc.AssemblyService.getBasedir(project.basedir.getAbsolutePath(),"${distFilesRoot}")
177                                                                         </source>
178                                                                 </configuration>
179                                                         </execution>
180                                                 </executions>
181                                         </plugin>
182                                         
183                                         <plugin>
184                                                 <groupId>com.google.code.maven-replacer-plugin</groupId>
185                                                 <artifactId>replacer</artifactId>
186                                                 <version>1.5.2</version>
187                                                 <executions>
188                                                         <execution>
189                                                                 <id>google-replacer-ajsc-arch-parent</id>
190                                                                 <phase>prepare-package</phase>
191                                                                 <goals>
192                                                                         <goal>replace</goal>
193                                                                 </goals>
194                                                                 <configuration>
195                                                                         <basedir>${project.build.directory}</basedir>
196                                                                         <includes>
197                                                                                 <include>staticContent/**/*.html</include>
198                                                                                 <include>CDP/**</include>
199                                                                                 <include>bundleconfig/**</include>
200                                                                                 <include>versioned-runtime/**/*.context</include>
201                                                                                 <include>versioned-runtime/**/*.json</include>
202                                                                                 <include>versioned-ajsc/**/*.route</include>
203                                                                                 <include>versioned-ajsc/**/*.groovy</include>
204                                                                                 <include>versioned-ajsc/**/*.xml</include>
205                                                                                 <include>classes/*.properties</include>
206                                                                                 <include>swm/package/nix/dist_files${distFilesRoot}/etc/*.properties</include>
207                                                                         </includes>
208                                                                         <escape>true</escape>
209                                                                         <replacements>
210                                                                                 <replacement>
211                                                                                         <token>__module_ajsc_namespace_name__</token>
212                                                                                         <value>${module.ajsc.namespace.name}</value>
213                                                                                 </replacement>
214                                                                                 <replacement>
215                                                                                         <token>__module_ajsc_namespace_version__</token>
216                                                                                         <value>${module.ajsc.namespace.version}</value>
217                                                                                 </replacement>
218                                                                                 <replacement>
219                                                                                         <token>__ajscHome__</token>
220                                                                                         <value>${replaceWinFilePath}</value>
221                                                                                 </replacement>
222                                                                                 <replacement>
223                                                                                         <token>__projectGroupId__</token>
224                                                                                         <value>${project.groupId}</value>
225                                                                                 </replacement>
226                                                                                 <replacement>
227                                                                                         <token>__projectArtifactId__</token>
228                                                                                         <value>${project.artifactId}</value>
229                                                                                 </replacement>
230                                                                                 <replacement>
231                                                                                         <token>__projectVersion__</token>
232                                                                                         <value>${project.version}</value>
233                                                                                 </replacement>
234                                                                                 <replacement>
235                                                                                         <token>__basedir__</token>
236                                                                                         <value>${replaceWinBasedirPath}</value>
237                                                                                 </replacement>
238                                                                         </replacements>
239                                                                 </configuration>
240                                                         </execution>
241                                                 </executions>
242                                         </plugin>
243                                         
244                                         <plugin>
245                                                 <groupId>org.apache.maven.plugins</groupId>
246                                                 <artifactId>maven-dependency-plugin</artifactId>
247                                                 <version>2.8</version>
248                                                 <executions>
249                                                         <execution>
250                                                                 <id>copy-dependencies-ajsc-arch-parent</id>
251                                                                 <phase>prepare-package</phase>
252                                                                 <goals>
253                                                                         <goal>copy-dependencies</goal>
254                                                                 </goals>
255                                                                 <configuration>
256                                                                         <includeScope>runtime</includeScope>
257                                                                         <excludeArtifactIds>ajsc-bom,ajsc-core,ajsc-runner,ajsc-war</excludeArtifactIds>
258                                                                         <outputDirectory>${project.build.directory}/userjars</outputDirectory>
259                                                                         <silent>true</silent>
260                                                                 </configuration>
261                                                         </execution>
262                                                         <execution>
263                                                                 <id>copy-dependencies-ajsc-arch-parent-commonLibs</id>
264                                                                 <phase>prepare-package</phase>
265                                                                 <goals>
266                                                                         <goal>copy-dependencies</goal>
267                                                                 </goals>
268                                                                 <configuration>
269                                                                         <includeScope>provided</includeScope>
270                                                                         <includeGroupIds>net.cingular.enterprise,com.att.aft,dom4j</includeGroupIds>
271                                                                         <!-- <includeGroupIds>com.att.aft</includeGroupIds> -->
272                                                                         <outputDirectory>${project.build.directory}/commonLibs</outputDirectory>
273                                                                         <silent>true</silent>
274                                                                 </configuration>
275                                                         </execution>
276                                                         <execution>
277                                                                 <id>copyrunner</id>
278                                                                 <phase>prepare-package</phase>
279                                                                 <goals>
280                                                                         <goal>copy-dependencies</goal>
281                                                                 </goals>
282                                                                 <configuration>
283                                                                         <includeArtifactIds>ajsc-runner</includeArtifactIds>
284                                                                         <outputDirectory>${basedir}/target/swm/package/nix/dist_files${distFilesRoot}/lib</outputDirectory>
285                                                                 </configuration>
286                                                         </execution>
287                                                 </executions>
288                                         </plugin>
289                                         
290                                         
291                 <!--    <plugin>
292                                 <groupId>org.apache.maven.plugins</groupId>
293                                 <artifactId>maven-javadoc-plugin</artifactId>
294                                 <version>2.10.4</version>
295                                 <configuration>
296                                         <additionalparam>-Xdoclint:none</additionalparam>
297                                 </configuration>
298                                 <executions>
299                                         <execution>
300                                                 <id>attach-javadocs</id>
301                                                 <goals>
302                                                         <goal>jar</goal>
303                                                 </goals>
304                                         </execution>
305                                 </executions>
306                         </plugin> -->
307                         <plugin>
308                                 <groupId>org.apache.maven.plugins</groupId>
309                                 <artifactId>maven-source-plugin</artifactId>
310                                 <version>3.0.0</version>
311                                 <executions>
312                                         <execution>
313                                                 <id>attach-sources</id>
314                                                 <goals>
315                                                         <goal>jar-no-fork</goal>
316                                                 </goals>
317                                         </execution>
318                                 </executions>
319                         </plugin>               
320                         <plugin>
321                                 <groupId>org.apache.maven.plugins</groupId>
322                                 <artifactId>maven-release-plugin</artifactId>
323                                 <version>2.5.3</version>
324                                 <configuration>
325                                         <autoVersionSubmodules>true</autoVersionSubmodules>
326                                         <checkModificationExcludes>
327                                         </checkModificationExcludes>
328                                 </configuration>
329                                 <dependencies>
330                                         <dependency>
331                                                 <groupId>org.apache.maven.scm</groupId>
332                                                 <artifactId>maven-scm-provider-gitexe</artifactId>
333                                                 <version>1.9.4</version>
334                                         </dependency>
335                                 </dependencies>
336                         </plugin>
337                         <plugin>
338                                 <groupId>org.apache.maven.plugins</groupId>
339                                 <artifactId>maven-deploy-plugin</artifactId>
340                                 <version>2.5</version>
341                                 <configuration>
342                                         <skip>true</skip>
343                                 </configuration>
344                         </plugin>
345                         <plugin>
346                                 <groupId>org.apache.maven.plugins</groupId>
347                                 <artifactId>maven-resources-plugin</artifactId>
348                                 <version>2.7</version>
349                                 <executions>
350                                         <execution>
351                                                 <id>copy-docker-file</id>
352                                                 <phase>package</phase>
353                                                 <goals>
354                                                         <goal>copy-resources</goal>
355                                                 </goals>
356                                                 <configuration>
357                                                         <outputDirectory>${dockerLocation}</outputDirectory>
358                                                         <overwrite>true</overwrite>
359                                                         <resources>
360                                                                 <resource>
361                                                                         <directory>${basedir}/src/main/resources/docker</directory>
362                                                                         <filtering>true</filtering>
363                                                                         <includes>
364                                                                                 <include>**/*</include>
365                                                                         </includes>
366                                                                 </resource>
367                                                         </resources>
368                                                 </configuration>
369                                         </execution>
370                                 </executions>
371                         </plugin>
372                         <plugin>
373                                 <groupId>com.spotify</groupId>
374                                 <artifactId>docker-maven-plugin</artifactId>
375                                 <version>0.4.13</version>
376                                 <configuration>
377                                         <imageName>onap/dmaap-mr</imageName>
378                                         <dockerDirectory>${dockerLocation}</dockerDirectory>
379                                         <serverId>docker-hub</serverId>
380                                         <imageTags>
381                                                 <imageTag>${dmaapImg}</imageTag>
382                                                 <imageTag>latest</imageTag>
383                                         </imageTags>
384                                         <forceTags>true</forceTags>
385                                 </configuration>
386                         </plugin>                                                                                                                                                                                                                                                                                                        
387                         <plugin>
388                                 <groupId>com.blackducksoftware.integration</groupId>
389                                 <artifactId>hub-maven-plugin</artifactId>
390                                 <version>1.0.4</version>
391                                 <inherited>false</inherited>
392                                 <configuration>
393                                         <target>${project.basedir}</target>
394                                 </configuration>
395                                 <executions>
396                                         <execution>
397                                                 <id>create-bdio-file</id>
398                                                 <phase>package</phase>
399                                                 <goals>
400                                                         <goal>createHubOutput</goal>
401                                                 </goals>
402                                         </execution>
403                                 </executions>
404                         </plugin>
405                                         
406                 </plugins>
407         </build>
408
409         <properties>
410                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
411                 <dockerLocation>${basedir}/target/swm/package/nix/dist_files/</dockerLocation>
412                 <docker.registry>hub.docker.com</docker.registry>
413                 <docker.image.prefix>simpledemo</docker.image.prefix>
414
415                 <module.ajsc.namespace.name>dmaap</module.ajsc.namespace.name>
416                 <module.ajsc.namespace.version>v1</module.ajsc.namespace.version>
417                 <ajscRuntimeVersion>1.0.0</ajscRuntimeVersion>
418
419                 <!-- This will be the Absolute Root of the Project and should contain NO 
420                         Versioning -->
421                 <absoluteDistFilesRoot>/appl/${project.artifactId}</absoluteDistFilesRoot>
422                 <!-- <absoluteDistFilesRoot>/opt/app/dmaap/${project.artifactId}</absoluteDistFilesRoot> -->
423                 <!-- For Versioning upon installation, add /${project.version} to distFilesRoot. 
424                         For NO Versioning, leave as is -->
425                 <!-- example: /appl/${project.artifactId}/${project.version}. Also, add 
426                         ${project.version} to ${runAjscHome} for running locally. -->
427                 <distFilesRoot>/appl/${project.artifactId}</distFilesRoot>
428                 <!-- <distFilesRoot>/opt/app/dmaap/${project.artifactId}</distFilesRoot> -->
429                 <runAjscHome>${basedir}/target/swm/package/nix/dist_files${distFilesRoot}</runAjscHome>
430
431                 <!-- For SOA Cloud Installation <installOwnerUser>aft</installOwnerUser> 
432                         <installOwnerGroup>aft</installOwnerGroup> <ownerManagementGroup>com.att.acsi.saat.dt.dmaap.dev</ownerManagementGroup> -->
433                 <!-- For SOA Cloud Installation -->
434                 <installOwnerUser>msgrtr</installOwnerUser>
435                 <installOwnerGroup>dmaap</installOwnerGroup>
436                 <ownerManagementGroup>com.att.acsi.saat.dt.dmaap.dev</ownerManagementGroup>
437                 <!-- Port Selection. A value of 0 will allow for dynamic port selection. 
438                         For local testing, you may choose to hardcode this value to something like 
439                         8080 -->
440                 <serverPort>3904</serverPort>
441                 <sslport>3905</sslport>
442         
443                 <testRouteOffer>workstation</testRouteOffer>
444                 <testEnv>DEV</testEnv>
445                 <dmaapImg>1.0.1-SNAPSHOT</dmaapImg>
446                 <camel.version>2.15.5</camel.version>
447         </properties>
448
449         <!-- Distribution management -->
450
451
452         <!-- End Distribution management -->
453
454         <!-- The standard build tasks for this project are inherited from the parent. 
455                 Please do not override the build tasks. However tasks and/or profiles can 
456                 be included here as well as additional dependencies for your service. Any 
457                 runtime or compile scope dependencies will be copied to the INSTALLATION_PATH/extJars 
458                 folder and will be made available on the AJSC classpath for your service. 
459                 Please, NOTE: DME2 and CSM related dependencies are EXTERNALIZED within the 
460                 CSI environment. Therefore, they are provided within this project as "provided" 
461                 dependencies. In order for the AJSC to run properly, locally, the CSM and 
462                 DME2 dependencies will be copied into the target/commonLibs folder and will 
463                 be made available to the classpath of the AJSC through the use of the system 
464                 property, "AJSC_EXTERNAL_LIB_FOLDERS". This system property needs to be set 
465                 in the "runAjsc" maven profile within the pom.xml (and, is defaulted to do 
466                 so). If you have a startup failure related to a missing dme2 class not found 
467                 exception, please contact the AJSC team for assistance. You can email support 
468                 at ajsc-Support <DL-ajsc-Support@att.com>. For more information regarding 
469                 the usage of the AJSC service pom.xml and management of dependencies, please 
470                 goto wiki link:http://wiki.web.att.com/display/ajsc/pom.xml -->
471         <dependencies>
472
473                 <!-- cmn-CommonDataModel dependency added to resolve build issue not finding 
474                         version 100.0.64 -->
475                 
476                 <!-- <dependency>
477                         <groupId>csi-schemas-source</groupId>
478                         <artifactId>cmn-CommonDataModel</artifactId>
479                         <version>112.0.50</version>
480                 </dependency> -->
481         <!-- TODO: add open source version here -->
482                 <dependency>
483                         <groupId>com.att.cadi</groupId>
484                         <artifactId>cadi-core</artifactId>
485                         <version>1.3.0</version>
486                 </dependency>
487                 <dependency>
488                         <groupId>commons-io</groupId>
489                         <artifactId>commons-io</artifactId>
490                         <version>2.4</version>
491                 </dependency>
492                 <dependency>
493                         <groupId>org.apache.commons</groupId>
494                         <artifactId>commons-io</artifactId>
495                         <version>1.3.2</version>
496                 </dependency>
497                 <dependency>
498                           <groupId>org.onap.dmaap.messagerouter.msgrtr</groupId>
499                           <artifactId>msgrtr</artifactId>
500                           <version>1.0.0</version>
501                         <exclusions>
502                                 <exclusion>
503                                         <groupId>org.slf4j</groupId>
504                                         <artifactId>slf4j-log4j12</artifactId>
505                                 </exclusion>
506                                 <exclusion>
507                                         <groupId>com.att.ajsc</groupId>
508                                         <artifactId>ajsc-core</artifactId>
509                                 </exclusion>
510                                 <exclusion>
511                                         <groupId>org.apache.tomcat</groupId>
512                                         <artifactId>tomcat-catalina</artifactId>
513                                 </exclusion>
514
515                                 <exclusion>
516                                         <groupId>org.apache.tomcat.embed</groupId>
517                                         <artifactId>tomcat-embed-core</artifactId>
518                                 </exclusion>
519                                 <exclusion>
520                                         <groupId>org.apache.tomcat</groupId>
521                                         <artifactId>tomcat-util</artifactId>
522                                 </exclusion>
523                                 <!-- <exclusion> <groupId>com.att.nsa</groupId> <artifactId>saToolkit</artifactId> 
524                                         </exclusion> -->
525                                 <exclusion>
526                                         <groupId>com.att.nsa</groupId>
527                                         <artifactId>tomcat-util</artifactId>
528                                 </exclusion>
529
530                         </exclusions>
531                 </dependency>
532
533                 <dependency>
534                         <groupId>org.codehaus.jackson</groupId>
535                         <artifactId>jackson-jaxrs</artifactId>
536                         <version>1.9.13</version>
537                 </dependency>
538                 
539                 <dependency>
540                         <groupId>org.codehaus.jackson</groupId>
541                         <artifactId>jackson-mapper-asl</artifactId>
542                         <version>1.9.13</version>
543                 </dependency>
544                 <dependency>
545                         <groupId>org.codehaus.jackson</groupId>
546                         <artifactId>jackson-core-asl</artifactId>
547                         <version>1.9.13</version>
548                 </dependency>
549                 
550                 <dependency>
551                         <groupId>com.fasterxml.jackson.core</groupId>
552                         <artifactId>jackson-core</artifactId>
553                         <version>2.4.3</version>
554                 </dependency>
555                 
556                 <dependency>
557                     <groupId>com.fasterxml.jackson.core</groupId>
558                     <artifactId>jackson-databind</artifactId>
559                     <version>2.3.3</version>
560                 </dependency>
561                 
562                 <dependency>
563                 <groupId>junit</groupId>
564                 <artifactId>junit</artifactId>
565                 <version>4.11</version>
566                 <scope>test</scope>
567       </dependency>
568
569                 <dependency>
570                         <groupId>org.json</groupId>
571                         <artifactId>json</artifactId>
572                         <version>20131018</version>
573                 </dependency>
574
575                 <!-- CXF JAX-RS extension -->
576                 <dependency>
577                         <groupId>org.apache.cxf</groupId>
578                         <artifactId>cxf-rt-rs-extension-providers</artifactId>
579                         <version>3.0.4</version>
580                 </dependency>
581                 <dependency>
582                         <groupId>org.codehaus.jettison</groupId>
583                         <artifactId>jettison</artifactId>
584                         <version>1.3.7</version>
585                 </dependency>
586
587                 <dependency>
588                         <groupId>dom4j</groupId>
589                         <artifactId>dom4j</artifactId>
590                         <version>1.6.1</version>
591                         <scope>provided</scope>
592                 </dependency>
593                 <dependency>
594                         <groupId>com.att.aft</groupId>
595                         <artifactId>dme2</artifactId>
596                         <version>3.1.200</version>
597                         <!-- <scope>provided</scope> -->
598                 </dependency>
599                 <dependency>
600                   <groupId>com.att.ajsc</groupId>
601                   <artifactId>ajsc-archetype-parent</artifactId>
602                   <version>1.0.0</version>
603                   <type>pom</type>
604                 </dependency>           
605                 
606                 <dependency>
607                         <groupId>com.att.cadi</groupId>
608                         <artifactId>cadi-aaf</artifactId>
609                         <version>1.3.0</version>
610                 </dependency>   
611                 
612                 <dependency>
613                         <groupId>com.att.inno</groupId>
614                         <artifactId>rosetta</artifactId>
615                         <version>1.2.11</version>
616                 </dependency>   
617                 <dependency>
618                         <groupId>com.att.inno</groupId>
619                         <artifactId>env</artifactId>
620                         <version>1.2.11</version>
621                 </dependency>           
622                 <dependency>
623                         <groupId>com.att.inno</groupId>
624                         <artifactId>xgen</artifactId>
625                         <version>1.2.11</version>
626                 </dependency>                           
627                 <dependency>
628                         <groupId>com.att.inno</groupId>
629                         <artifactId>rosetta</artifactId>
630                         <version>1.2.11</version>
631                 </dependency>                   
632                 <dependency>
633                         <groupId>backport-util-concurrent</groupId>
634                         <artifactId>backport-util-concurrent</artifactId>
635                         <version>3.1</version>
636                 </dependency>
637                 <dependency>
638                                 <groupId>org.apache.camel</groupId>
639                                 <artifactId>camel-core</artifactId>
640                                 <version>${camel.version}</version>
641                         </dependency>
642                         <dependency>
643                                 <groupId>org.apache.camel</groupId>
644                                 <artifactId>camel-quartz</artifactId>
645                                 <version>${camel.version}</version>
646                         </dependency>
647                         <dependency>
648                                 <groupId>org.apache.camel</groupId>
649                                 <artifactId>camel-spring</artifactId>
650                                 <version>${camel.version}</version>
651                         </dependency>
652                         <dependency>
653                                 <groupId>org.apache.camel</groupId>
654                                 <artifactId>camel-restlet</artifactId>
655                                 <version>${camel.version}</version>
656                                 <exclusions>
657                                         <exclusion>
658                                                 <artifactId>org.restlet</artifactId>
659                                                 <groupId>org.restlet.jse</groupId>
660                                         </exclusion>
661                                 </exclusions>
662                         </dependency>
663                         <dependency>
664                                 <groupId>org.apache.camel</groupId>
665                                 <artifactId>camel-servlet</artifactId>
666                                 <version>${camel.version}</version>
667                         </dependency>
668                         <dependency>
669                                 <groupId>org.apache.camel</groupId>
670                                 <artifactId>camel-http4</artifactId>
671                                 <version>${camel.version}</version>
672                                 <exclusions>
673                                         <exclusion>
674                                                 <groupId>org.apache.geronimo.specs</groupId>
675                                                 <artifactId>geronimo-servlet_2.5_spec</artifactId>
676                                         </exclusion>
677                                 </exclusions>
678                         </dependency>
679                         <dependency>
680                                 <groupId>org.apache.camel</groupId>
681                                 <artifactId>camel-groovy</artifactId>
682                                 <version>${camel.version}</version>
683                         </dependency>
684                         <dependency>
685                                 <groupId>org.apache.camel</groupId>
686                                 <artifactId>camel-twitter</artifactId>
687                                 <version>${camel.version}</version>
688                         </dependency>
689                         <dependency>
690                                 <groupId>org.apache.camel</groupId>
691                                 <artifactId>camel-mail</artifactId>
692                                 <version>${camel.version}</version>
693                         </dependency>
694                         <dependency>
695                                 <groupId>org.apache.camel</groupId>
696                                 <artifactId>camel-smpp</artifactId>
697                                 <version>${camel.version}</version>
698                         </dependency>
699                         <dependency>
700                                 <groupId>org.apache.camel</groupId>
701                                 <artifactId>camel-jms</artifactId>
702                                 <version>${camel.version}</version>
703                         </dependency>
704                         <dependency>
705                                 <groupId>org.apache.camel</groupId>
706                                 <artifactId>camel-script</artifactId>
707                                 <version>${camel.version}</version>
708                         </dependency>
709                         <dependency>
710                                 <groupId>org.apache.camel</groupId>
711                                 <artifactId>camel-xmpp</artifactId>
712                                 <version>${camel.version}</version>
713                         </dependency>
714                         <dependency>
715                                 <groupId>org.apache.camel</groupId>
716                                 <artifactId>camel-velocity</artifactId>
717                                 <version>${camel.version}</version>
718                         </dependency>
719                         <dependency>
720                                 <groupId>com.att.ajsc</groupId>
721                                 <artifactId>ajsc-runner</artifactId>
722                                 <version>1.0.0</version>
723                                 <scope>runtime</scope>
724                         </dependency>
725                         <dependency>
726                                 <groupId>com.att.ajsc</groupId>
727                                 <artifactId>ajsc-core</artifactId>
728                                 <version>1.0.0</version>
729                                 <scope>provided</scope>
730                         </dependency>
731         </dependencies>
732         <!-- <build> <resources> <resource> <directory>${basedir}/ajsc-shared-config/etc</directory> 
733                 </resource> </resources> </build> -->
734         <profiles>
735                 <!-- Use this profile to run the AJSC locally. This profile can be successfully 
736                         shutdown WITHIN eclipse even in a Windows environment. Debugging is also 
737                         available with this profile. -->
738                 <profile>
739                         <id>runAjsc</id>
740                         <build>
741                                 <defaultGoal>initialize</defaultGoal>
742                                 <plugins>
743                                         <plugin>
744                                                 <groupId>org.codehaus.mojo</groupId>
745                                                 <artifactId>exec-maven-plugin</artifactId>
746                                                 <version>1.3.2</version>
747                                                 <executions>
748                                                         <execution>
749                                                                 <phase>initialize</phase>
750                                                                 <goals>
751                                                                         <goal>java</goal>
752                                                                 </goals>
753                                                                 <configuration>
754                                                                         <!-- In order to better mimic a SOA cloud installation of AJSC (and 
755                                                                                 to help eliminate Maven/Eclipse/AJSC classpath issues that may be difficult 
756                                                                                 to diagnose), within this profile used to run locally, we are NOT including 
757                                                                                 project dependencies. These will be loaded by AJSC from $AJSC_HOME/extJars. 
758                                                                                 The only jar needed to run AJSC is the ajsc-runner.jar, and therefore is 
759                                                                                 the only dependency required by this profile to run locally. -->
760                                                                         <includeProjectDependencies>false</includeProjectDependencies>
761                                                                         <includePluginDependencies>true</includePluginDependencies>
762                                                                         <executable>java</executable>
763                                                                         <mainClass>com.att.ajsc.runner.Runner</mainClass>
764                                                                         <executableDependency>
765                                                                                 <groupId>com.att.ajsc</groupId>
766                                                                                 <artifactId>ajsc-runner</artifactId>
767                                                                         </executableDependency>
768                                                                         <additionalClasspathElements>
769                                                                                 <additionalClasspathElement>${basedir}/ajsc-shared-config/etc</additionalClasspathElement>
770                                                                         </additionalClasspathElements>
771
772                                                                         <environmentVariables>
773                                                                                 <AJSC_HOME>${runAjscHome}</AJSC_HOME>
774                                                                         </environmentVariables>
775
776                                                                         <!-- Main AJSC System Properties below (necessary for proper startup) -->
777                                                                         <systemProperties>
778                                                                                 <systemProperty>
779                                                                                         <key>AJSC_HOME</key>
780                                                                                         <value>${runAjscHome}</value>
781                                                                                 </systemProperty>
782                                                                                 <systemProperty>
783                                                                                         <key>AJSC_HOME</key>
784                                                                                         <value>${runAjscHome}</value>
785                                                                                 </systemProperty>
786                                                                                 <systemProperty>
787                                                                                         <key>AJSC_CONF_HOME</key>
788                                                                                         <value>${basedir}/bundleconfig-local</value>
789                                                                                 </systemProperty>
790                                                                                 <systemProperty>
791                                                                                         <key>logback.configurationFile</key>
792                                                                                         <value>${basedir}/ajsc-shared-config/etc/logback.xml</value>
793                                                                                 </systemProperty>
794                                                                                 <systemProperty>
795                                                                                         <key>AJSC_SHARED_CONFIG</key>
796                                                                                         <value>${basedir}/ajsc-shared-config</value>
797                                                                                 </systemProperty>
798
799                                                                                 <!-- Please, NOTE: The following 2 system properties will normally 
800                                                                                         be set within the sys-props.properties file once deployed to a node. We are 
801                                                                                         setting them HERE to run locally to make more efficient use of maven variable 
802                                                                                         replacement for ${basedir} -->
803                                                                                 <!-- AJSC_EXTERNAL_LIB_FOLDERS represents the particular jars that 
804                                                                                         will be externalized on a CSI node. This includes dme2 and csm related artifact. -->
805                                                                                 <sysproperty>
806                                                                                         <key>AJSC_EXTERNAL_LIB_FOLDERS</key>
807                                                                                         <value>${basedir}/target/commonLibs</value>
808                                                                                 </sysproperty>
809                                                                                 <!-- AJSC_EXTERNAL_PROPERTIES_FOLDERS represents the particular 
810                                                                                         files that may need to be added to the classpath. These files will be externalized 
811                                                                                         on a CSI node. This includes dme2 and csm related artifact (such as csm-config-app.properties). 
812                                                                                         Failure to have these files on the classpath may result in errors thrown 
813                                                                                         by csm framework. -->
814                                                                                 <sysproperty>
815                                                                                         <key>AJSC_EXTERNAL_PROPERTIES_FOLDERS</key>
816                                                                                         <value>${basedir}/ajsc-shared-config/etc</value>
817                                                                                 </sysproperty>
818
819                                                                                 <systemProperty>
820                                                                                         <key>AJSC_SERVICE_NAMESPACE</key>
821                                                                                         <value>${module.ajsc.namespace.name}</value>
822                                                                                 </systemProperty>
823                                                                                 <systemProperty>
824                                                                                         <key>AJSC_SERVICE_VERSION</key>
825                                                                                         <value>${module.ajsc.namespace.version}</value>
826                                                                                 </systemProperty>
827                                                                                 <systemProperty>
828                                                                                         <key>SOACLOUD_SERVICE_VERSION</key>
829                                                                                         <value>${project.version}</value>
830                                                                                 </systemProperty>
831                                                                                 <systemProperty>
832                                                                                         <key>server.port</key>
833                                                                                         <value>${serverPort}</value>
834                                                                                 </systemProperty>
835                                                                         </systemProperties>
836
837                                                                         <!-- Command Line Arguments to add to the java command. Here, you 
838                                                                                 can specify the port as well as the Context you want your service to run 
839                                                                                 in. Use context=/ to run in an unnamed Context (Root Context). The default 
840                                                                                 configuration of the AJSC is to run under the / Context. Setting the port 
841                                                                                 here can aid during the development phase of your service. However, you can 
842                                                                                 leave this argument out entirely, and the AJSC will default to using an Ephemeral 
843                                                                                 port. -->
844                                                                         <arguments>
845                                                                                 <argument>context=/</argument>
846                                                                                 <argument>port=${serverPort}</argument>
847                                                                                 <argument>sslport=${sslport}</argument>
848                                                                         </arguments>
849                                                                 </configuration>
850                                                         </execution>
851                                                 </executions>
852                                                 <configuration>
853                                                         <executable>java</executable>
854                                                 </configuration>
855                                                 <dependencies>
856                                                         <dependency>
857                                                                 <groupId>com.att.ajsc</groupId>
858                                                                 <artifactId>ajsc-runner</artifactId>
859                                                                 <version>${ajscRuntimeVersion}</version>
860                                                         </dependency>
861                                                 </dependencies>
862                                         </plugin>
863
864                                         <plugin>
865                                                 <groupId>org.apache.maven.plugins</groupId>
866                                                 <artifactId>maven-resources-plugin</artifactId>
867                                                 <version>2.7</version>
868                                                 <executions>
869                                                         <execution>
870                                                                 <id>copy-docker-file</id>
871                                                                 <phase>package</phase>
872                                                                 <goals>
873                                                                         <goal>copy-resources</goal>
874                                                                 </goals>
875                                                                 <configuration>
876                                                                         <outputDirectory>${dockerLocation}</outputDirectory>
877                                                                         <overwrite>true</overwrite>
878                                                                         <resources>
879                                                                                 <resource>
880                                                                                         <directory>${basedir}/src/main/resources/docker</directory>
881                                                                                         <filtering>true</filtering>
882                                                                                         <includes>
883                                                                                                 <include>**/*</include>
884                                                                                         </includes>
885                                                                                 </resource>
886                                                                         </resources>
887                                                                 </configuration>
888                                                         </execution>
889                                                 </executions>
890                                         </plugin>
891                                 </plugins>
892                         </build>
893                 </profile>
894         </profiles>
895         
896 </project>