Add O-parent
[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.0-SNAPSHOT</version>
35         <name>Message Router Service</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>attos/dmaap</imageName>
378                                         <dockerDirectory>${dockerLocation}</dockerDirectory>
379                                         <serverId>docker-hub</serverId>
380                                         <registryUrl>https://index.docker.io/v1</registryUrl>
381                                         <imageTags>
382                                                 <imageTag>${dmaapImg}</imageTag>
383                                                 <imageTag>latest</imageTag>
384                                         </imageTags>
385                                         <forceTags>true</forceTags>
386                                 </configuration>
387                         </plugin>                                                                                                                                                                                                                                                                                                        
388                         <plugin>
389                                 <groupId>com.blackducksoftware.integration</groupId>
390                                 <artifactId>hub-maven-plugin</artifactId>
391                                 <version>1.0.4</version>
392                                 <inherited>false</inherited>
393                                 <configuration>
394                                         <target>${project.basedir}</target>
395                                 </configuration>
396                                 <executions>
397                                         <execution>
398                                                 <id>create-bdio-file</id>
399                                                 <phase>package</phase>
400                                                 <goals>
401                                                         <goal>createHubOutput</goal>
402                                                 </goals>
403                                         </execution>
404                                 </executions>
405                         </plugin>
406                                         
407                 </plugins>
408         </build>
409
410         <properties>
411                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
412                 <dockerLocation>${basedir}/target/swm/package/nix/dist_files/</dockerLocation>
413                 <docker.registry>hub.docker.com</docker.registry>
414                 <docker.image.prefix>simpledemo</docker.image.prefix>
415
416                 <module.ajsc.namespace.name>dmaap</module.ajsc.namespace.name>
417                 <module.ajsc.namespace.version>v1</module.ajsc.namespace.version>
418                 <ajscRuntimeVersion>1.0.0</ajscRuntimeVersion>
419
420                 <!-- This will be the Absolute Root of the Project and should contain NO 
421                         Versioning -->
422                 <absoluteDistFilesRoot>/appl/${project.artifactId}</absoluteDistFilesRoot>
423                 <!-- <absoluteDistFilesRoot>/opt/app/dmaap/${project.artifactId}</absoluteDistFilesRoot> -->
424                 <!-- For Versioning upon installation, add /${project.version} to distFilesRoot. 
425                         For NO Versioning, leave as is -->
426                 <!-- example: /appl/${project.artifactId}/${project.version}. Also, add 
427                         ${project.version} to ${runAjscHome} for running locally. -->
428                 <distFilesRoot>/appl/${project.artifactId}</distFilesRoot>
429                 <!-- <distFilesRoot>/opt/app/dmaap/${project.artifactId}</distFilesRoot> -->
430                 <runAjscHome>${basedir}/target/swm/package/nix/dist_files${distFilesRoot}</runAjscHome>
431
432                 <!-- For SOA Cloud Installation <installOwnerUser>aft</installOwnerUser> 
433                         <installOwnerGroup>aft</installOwnerGroup> <ownerManagementGroup>com.att.acsi.saat.dt.dmaap.dev</ownerManagementGroup> -->
434                 <!-- For SOA Cloud Installation -->
435                 <installOwnerUser>msgrtr</installOwnerUser>
436                 <installOwnerGroup>dmaap</installOwnerGroup>
437                 <ownerManagementGroup>com.att.acsi.saat.dt.dmaap.dev</ownerManagementGroup>
438                 <!-- Port Selection. A value of 0 will allow for dynamic port selection. 
439                         For local testing, you may choose to hardcode this value to something like 
440                         8080 -->
441                 <serverPort>3904</serverPort>
442                 <sslport>3905</sslport>
443         
444                 <testRouteOffer>workstation</testRouteOffer>
445                 <testEnv>DEV</testEnv>
446                 <dmaapImg>1.0.0-SNAPSHOT</dmaapImg>
447                 <camel.version>2.15.5</camel.version>
448         </properties>
449
450         <!-- Distribution management -->
451
452
453         <!-- End Distribution management -->
454
455         <!-- The standard build tasks for this project are inherited from the parent. 
456                 Please do not override the build tasks. However tasks and/or profiles can 
457                 be included here as well as additional dependencies for your service. Any 
458                 runtime or compile scope dependencies will be copied to the INSTALLATION_PATH/extJars 
459                 folder and will be made available on the AJSC classpath for your service. 
460                 Please, NOTE: DME2 and CSM related dependencies are EXTERNALIZED within the 
461                 CSI environment. Therefore, they are provided within this project as "provided" 
462                 dependencies. In order for the AJSC to run properly, locally, the CSM and 
463                 DME2 dependencies will be copied into the target/commonLibs folder and will 
464                 be made available to the classpath of the AJSC through the use of the system 
465                 property, "AJSC_EXTERNAL_LIB_FOLDERS". This system property needs to be set 
466                 in the "runAjsc" maven profile within the pom.xml (and, is defaulted to do 
467                 so). If you have a startup failure related to a missing dme2 class not found 
468                 exception, please contact the AJSC team for assistance. You can email support 
469                 at ajsc-Support <DL-ajsc-Support@att.com>. For more information regarding 
470                 the usage of the AJSC service pom.xml and management of dependencies, please 
471                 goto wiki link:http://wiki.web.att.com/display/ajsc/pom.xml -->
472         <dependencies>
473
474                 <!-- cmn-CommonDataModel dependency added to resolve build issue not finding 
475                         version 100.0.64 -->
476                 
477                 <!-- <dependency>
478                         <groupId>csi-schemas-source</groupId>
479                         <artifactId>cmn-CommonDataModel</artifactId>
480                         <version>112.0.50</version>
481                 </dependency> -->
482         <!-- TODO: add open source version here -->
483                 <dependency>
484                         <groupId>com.att.cadi</groupId>
485                         <artifactId>cadi-core</artifactId>
486                         <version>1.3.0</version>
487                 </dependency>
488                 <dependency>
489                         <groupId>commons-io</groupId>
490                         <artifactId>commons-io</artifactId>
491                         <version>2.4</version>
492                 </dependency>
493                 <dependency>
494                         <groupId>org.apache.commons</groupId>
495                         <artifactId>commons-io</artifactId>
496                         <version>1.3.2</version>
497                 </dependency>
498                 <dependency>
499                         <groupId>com.att.nsa</groupId>
500                         <artifactId>msgrtr</artifactId>
501                         <version>0.0.5</version>
502                         <exclusions>
503                                 <exclusion>
504                                         <groupId>org.slf4j</groupId>
505                                         <artifactId>slf4j-log4j12</artifactId>
506                                 </exclusion>
507                                 <exclusion>
508                                         <groupId>com.att.ajsc</groupId>
509                                         <artifactId>ajsc-core</artifactId>
510                                 </exclusion>
511                                 <exclusion>
512                                         <groupId>org.apache.tomcat</groupId>
513                                         <artifactId>tomcat-catalina</artifactId>
514                                 </exclusion>
515
516                                 <exclusion>
517                                         <groupId>org.apache.tomcat.embed</groupId>
518                                         <artifactId>tomcat-embed-core</artifactId>
519                                 </exclusion>
520                                 <exclusion>
521                                         <groupId>org.apache.tomcat</groupId>
522                                         <artifactId>tomcat-util</artifactId>
523                                 </exclusion>
524                                 <!-- <exclusion> <groupId>com.att.nsa</groupId> <artifactId>saToolkit</artifactId> 
525                                         </exclusion> -->
526                                 <exclusion>
527                                         <groupId>com.att.nsa</groupId>
528                                         <artifactId>tomcat-util</artifactId>
529                                 </exclusion>
530
531                         </exclusions>
532                 </dependency>
533
534                 <dependency>
535                         <groupId>org.codehaus.jackson</groupId>
536                         <artifactId>jackson-jaxrs</artifactId>
537                         <version>1.9.13</version>
538                 </dependency>
539                 
540                 <dependency>
541                         <groupId>org.codehaus.jackson</groupId>
542                         <artifactId>jackson-mapper-asl</artifactId>
543                         <version>1.9.13</version>
544                 </dependency>
545                 <dependency>
546                         <groupId>org.codehaus.jackson</groupId>
547                         <artifactId>jackson-core-asl</artifactId>
548                         <version>1.9.13</version>
549                 </dependency>
550                 
551                 <dependency>
552                         <groupId>com.fasterxml.jackson.core</groupId>
553                         <artifactId>jackson-core</artifactId>
554                         <version>2.4.3</version>
555                 </dependency>
556                 
557                 <dependency>
558                     <groupId>com.fasterxml.jackson.core</groupId>
559                     <artifactId>jackson-databind</artifactId>
560                     <version>2.3.3</version>
561                 </dependency>
562                 
563                 <dependency>
564                 <groupId>junit</groupId>
565                 <artifactId>junit</artifactId>
566                 <version>4.11</version>
567                 <scope>test</scope>
568       </dependency>
569
570                 <dependency>
571                         <groupId>org.json</groupId>
572                         <artifactId>json</artifactId>
573                         <version>20131018</version>
574                 </dependency>
575
576                 <!-- CXF JAX-RS extension -->
577                 <dependency>
578                         <groupId>org.apache.cxf</groupId>
579                         <artifactId>cxf-rt-rs-extension-providers</artifactId>
580                         <version>3.0.4</version>
581                 </dependency>
582                 <dependency>
583                         <groupId>org.codehaus.jettison</groupId>
584                         <artifactId>jettison</artifactId>
585                         <version>1.3.7</version>
586                 </dependency>
587
588                 <dependency>
589                         <groupId>dom4j</groupId>
590                         <artifactId>dom4j</artifactId>
591                         <version>1.6.1</version>
592                         <scope>provided</scope>
593                 </dependency>
594                 <dependency>
595                         <groupId>com.att.aft</groupId>
596                         <artifactId>dme2</artifactId>
597                         <version>3.1.200</version>
598                         <!-- <scope>provided</scope> -->
599                 </dependency>
600                 <dependency>
601                   <groupId>com.att.ajsc</groupId>
602                   <artifactId>ajsc-archetype-parent</artifactId>
603                   <version>1.0.0</version>
604                   <type>pom</type>
605                 </dependency>           
606                 
607                 <dependency>
608                         <groupId>com.att.cadi</groupId>
609                         <artifactId>cadi-aaf</artifactId>
610                         <version>1.3.0</version>
611                 </dependency>   
612                 
613                 <dependency>
614                         <groupId>com.att.inno</groupId>
615                         <artifactId>rosetta</artifactId>
616                         <version>1.2.11</version>
617                 </dependency>   
618                 <dependency>
619                         <groupId>com.att.inno</groupId>
620                         <artifactId>env</artifactId>
621                         <version>1.2.11</version>
622                 </dependency>           
623                 <dependency>
624                         <groupId>com.att.inno</groupId>
625                         <artifactId>xgen</artifactId>
626                         <version>1.2.11</version>
627                 </dependency>                           
628                 <dependency>
629                         <groupId>com.att.inno</groupId>
630                         <artifactId>rosetta</artifactId>
631                         <version>1.2.11</version>
632                 </dependency>                   
633                 <dependency>
634                         <groupId>backport-util-concurrent</groupId>
635                         <artifactId>backport-util-concurrent</artifactId>
636                         <version>3.1</version>
637                 </dependency>
638                 <dependency>
639                                 <groupId>org.apache.camel</groupId>
640                                 <artifactId>camel-core</artifactId>
641                                 <version>${camel.version}</version>
642                         </dependency>
643                         <dependency>
644                                 <groupId>org.apache.camel</groupId>
645                                 <artifactId>camel-quartz</artifactId>
646                                 <version>${camel.version}</version>
647                         </dependency>
648                         <dependency>
649                                 <groupId>org.apache.camel</groupId>
650                                 <artifactId>camel-spring</artifactId>
651                                 <version>${camel.version}</version>
652                         </dependency>
653                         <dependency>
654                                 <groupId>org.apache.camel</groupId>
655                                 <artifactId>camel-restlet</artifactId>
656                                 <version>${camel.version}</version>
657                                 <exclusions>
658                                         <exclusion>
659                                                 <artifactId>org.restlet</artifactId>
660                                                 <groupId>org.restlet.jse</groupId>
661                                         </exclusion>
662                                 </exclusions>
663                         </dependency>
664                         <dependency>
665                                 <groupId>org.apache.camel</groupId>
666                                 <artifactId>camel-servlet</artifactId>
667                                 <version>${camel.version}</version>
668                         </dependency>
669                         <dependency>
670                                 <groupId>org.apache.camel</groupId>
671                                 <artifactId>camel-http4</artifactId>
672                                 <version>${camel.version}</version>
673                                 <exclusions>
674                                         <exclusion>
675                                                 <groupId>org.apache.geronimo.specs</groupId>
676                                                 <artifactId>geronimo-servlet_2.5_spec</artifactId>
677                                         </exclusion>
678                                 </exclusions>
679                         </dependency>
680                         <dependency>
681                                 <groupId>org.apache.camel</groupId>
682                                 <artifactId>camel-groovy</artifactId>
683                                 <version>${camel.version}</version>
684                         </dependency>
685                         <dependency>
686                                 <groupId>org.apache.camel</groupId>
687                                 <artifactId>camel-twitter</artifactId>
688                                 <version>${camel.version}</version>
689                         </dependency>
690                         <dependency>
691                                 <groupId>org.apache.camel</groupId>
692                                 <artifactId>camel-mail</artifactId>
693                                 <version>${camel.version}</version>
694                         </dependency>
695                         <dependency>
696                                 <groupId>org.apache.camel</groupId>
697                                 <artifactId>camel-smpp</artifactId>
698                                 <version>${camel.version}</version>
699                         </dependency>
700                         <dependency>
701                                 <groupId>org.apache.camel</groupId>
702                                 <artifactId>camel-jms</artifactId>
703                                 <version>${camel.version}</version>
704                         </dependency>
705                         <dependency>
706                                 <groupId>org.apache.camel</groupId>
707                                 <artifactId>camel-script</artifactId>
708                                 <version>${camel.version}</version>
709                         </dependency>
710                         <dependency>
711                                 <groupId>org.apache.camel</groupId>
712                                 <artifactId>camel-xmpp</artifactId>
713                                 <version>${camel.version}</version>
714                         </dependency>
715                         <dependency>
716                                 <groupId>org.apache.camel</groupId>
717                                 <artifactId>camel-velocity</artifactId>
718                                 <version>${camel.version}</version>
719                         </dependency>
720                         <dependency>
721                                 <groupId>com.att.ajsc</groupId>
722                                 <artifactId>ajsc-runner</artifactId>
723                                 <version>1.0.0</version>
724                                 <scope>runtime</scope>
725                         </dependency>
726                         <dependency>
727                                 <groupId>com.att.ajsc</groupId>
728                                 <artifactId>ajsc-core</artifactId>
729                                 <version>1.0.0</version>
730                                 <scope>provided</scope>
731                         </dependency>
732         </dependencies>
733         <!-- <build> <resources> <resource> <directory>${basedir}/ajsc-shared-config/etc</directory> 
734                 </resource> </resources> </build> -->
735         <profiles>
736                 <!-- Use this profile to run the AJSC locally. This profile can be successfully 
737                         shutdown WITHIN eclipse even in a Windows environment. Debugging is also 
738                         available with this profile. -->
739                 <profile>
740                         <id>runAjsc</id>
741                         <build>
742                                 <defaultGoal>initialize</defaultGoal>
743                                 <plugins>
744                                         <plugin>
745                                                 <groupId>org.codehaus.mojo</groupId>
746                                                 <artifactId>exec-maven-plugin</artifactId>
747                                                 <version>1.3.2</version>
748                                                 <executions>
749                                                         <execution>
750                                                                 <phase>initialize</phase>
751                                                                 <goals>
752                                                                         <goal>java</goal>
753                                                                 </goals>
754                                                                 <configuration>
755                                                                         <!-- In order to better mimic a SOA cloud installation of AJSC (and 
756                                                                                 to help eliminate Maven/Eclipse/AJSC classpath issues that may be difficult 
757                                                                                 to diagnose), within this profile used to run locally, we are NOT including 
758                                                                                 project dependencies. These will be loaded by AJSC from $AJSC_HOME/extJars. 
759                                                                                 The only jar needed to run AJSC is the ajsc-runner.jar, and therefore is 
760                                                                                 the only dependency required by this profile to run locally. -->
761                                                                         <includeProjectDependencies>false</includeProjectDependencies>
762                                                                         <includePluginDependencies>true</includePluginDependencies>
763                                                                         <executable>java</executable>
764                                                                         <mainClass>com.att.ajsc.runner.Runner</mainClass>
765                                                                         <executableDependency>
766                                                                                 <groupId>com.att.ajsc</groupId>
767                                                                                 <artifactId>ajsc-runner</artifactId>
768                                                                         </executableDependency>
769                                                                         <additionalClasspathElements>
770                                                                                 <additionalClasspathElement>${basedir}/ajsc-shared-config/etc</additionalClasspathElement>
771                                                                         </additionalClasspathElements>
772
773                                                                         <environmentVariables>
774                                                                                 <AJSC_HOME>${runAjscHome}</AJSC_HOME>
775                                                                         </environmentVariables>
776
777                                                                         <!-- Main AJSC System Properties below (necessary for proper startup) -->
778                                                                         <systemProperties>
779                                                                                 <systemProperty>
780                                                                                         <key>AJSC_HOME</key>
781                                                                                         <value>${runAjscHome}</value>
782                                                                                 </systemProperty>
783                                                                                 <systemProperty>
784                                                                                         <key>AJSC_HOME</key>
785                                                                                         <value>${runAjscHome}</value>
786                                                                                 </systemProperty>
787                                                                                 <systemProperty>
788                                                                                         <key>AJSC_CONF_HOME</key>
789                                                                                         <value>${basedir}/bundleconfig-local</value>
790                                                                                 </systemProperty>
791                                                                                 <systemProperty>
792                                                                                         <key>logback.configurationFile</key>
793                                                                                         <value>${basedir}/ajsc-shared-config/etc/logback.xml</value>
794                                                                                 </systemProperty>
795                                                                                 <systemProperty>
796                                                                                         <key>AJSC_SHARED_CONFIG</key>
797                                                                                         <value>${basedir}/ajsc-shared-config</value>
798                                                                                 </systemProperty>
799
800                                                                                 <!-- Please, NOTE: The following 2 system properties will normally 
801                                                                                         be set within the sys-props.properties file once deployed to a node. We are 
802                                                                                         setting them HERE to run locally to make more efficient use of maven variable 
803                                                                                         replacement for ${basedir} -->
804                                                                                 <!-- AJSC_EXTERNAL_LIB_FOLDERS represents the particular jars that 
805                                                                                         will be externalized on a CSI node. This includes dme2 and csm related artifact. -->
806                                                                                 <sysproperty>
807                                                                                         <key>AJSC_EXTERNAL_LIB_FOLDERS</key>
808                                                                                         <value>${basedir}/target/commonLibs</value>
809                                                                                 </sysproperty>
810                                                                                 <!-- AJSC_EXTERNAL_PROPERTIES_FOLDERS represents the particular 
811                                                                                         files that may need to be added to the classpath. These files will be externalized 
812                                                                                         on a CSI node. This includes dme2 and csm related artifact (such as csm-config-app.properties). 
813                                                                                         Failure to have these files on the classpath may result in errors thrown 
814                                                                                         by csm framework. -->
815                                                                                 <sysproperty>
816                                                                                         <key>AJSC_EXTERNAL_PROPERTIES_FOLDERS</key>
817                                                                                         <value>${basedir}/ajsc-shared-config/etc</value>
818                                                                                 </sysproperty>
819
820                                                                                 <systemProperty>
821                                                                                         <key>AJSC_SERVICE_NAMESPACE</key>
822                                                                                         <value>${module.ajsc.namespace.name}</value>
823                                                                                 </systemProperty>
824                                                                                 <systemProperty>
825                                                                                         <key>AJSC_SERVICE_VERSION</key>
826                                                                                         <value>${module.ajsc.namespace.version}</value>
827                                                                                 </systemProperty>
828                                                                                 <systemProperty>
829                                                                                         <key>SOACLOUD_SERVICE_VERSION</key>
830                                                                                         <value>${project.version}</value>
831                                                                                 </systemProperty>
832                                                                                 <systemProperty>
833                                                                                         <key>server.port</key>
834                                                                                         <value>${serverPort}</value>
835                                                                                 </systemProperty>
836                                                                         </systemProperties>
837
838                                                                         <!-- Command Line Arguments to add to the java command. Here, you 
839                                                                                 can specify the port as well as the Context you want your service to run 
840                                                                                 in. Use context=/ to run in an unnamed Context (Root Context). The default 
841                                                                                 configuration of the AJSC is to run under the / Context. Setting the port 
842                                                                                 here can aid during the development phase of your service. However, you can 
843                                                                                 leave this argument out entirely, and the AJSC will default to using an Ephemeral 
844                                                                                 port. -->
845                                                                         <arguments>
846                                                                                 <argument>context=/</argument>
847                                                                                 <argument>port=${serverPort}</argument>
848                                                                                 <argument>sslport=${sslport}</argument>
849                                                                         </arguments>
850                                                                 </configuration>
851                                                         </execution>
852                                                 </executions>
853                                                 <configuration>
854                                                         <executable>java</executable>
855                                                 </configuration>
856                                                 <dependencies>
857                                                         <dependency>
858                                                                 <groupId>com.att.ajsc</groupId>
859                                                                 <artifactId>ajsc-runner</artifactId>
860                                                                 <version>${ajscRuntimeVersion}</version>
861                                                         </dependency>
862                                                 </dependencies>
863                                         </plugin>
864
865                                         <plugin>
866                                                 <groupId>org.apache.maven.plugins</groupId>
867                                                 <artifactId>maven-resources-plugin</artifactId>
868                                                 <version>2.7</version>
869                                                 <executions>
870                                                         <execution>
871                                                                 <id>copy-docker-file</id>
872                                                                 <phase>package</phase>
873                                                                 <goals>
874                                                                         <goal>copy-resources</goal>
875                                                                 </goals>
876                                                                 <configuration>
877                                                                         <outputDirectory>${dockerLocation}</outputDirectory>
878                                                                         <overwrite>true</overwrite>
879                                                                         <resources>
880                                                                                 <resource>
881                                                                                         <directory>${basedir}/src/main/resources/docker</directory>
882                                                                                         <filtering>true</filtering>
883                                                                                         <includes>
884                                                                                                 <include>**/*</include>
885                                                                                         </includes>
886                                                                                 </resource>
887                                                                         </resources>
888                                                                 </configuration>
889                                                         </execution>
890                                                 </executions>
891                                         </plugin>
892                                 </plugins>
893                         </build>
894                 </profile>
895         </profiles>
896         
897 </project>