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