Remove gpg plug in
[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>com.att.ajsc</groupId>
28                 <artifactId>ajsc-archetype-parent</artifactId>
29                 <version>1.0.0</version>
30                 <relativePath></relativePath>
31         </parent>
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         <url>https://github.com/att/dmaap-framework</url>       
38          <licenses>
39           <license>
40             <name>APache License Version 2.0</name>
41           </license>
42         </licenses>
43
44         <developers>
45            <developer>
46              <name>Rajashree</name>
47              <email></email>
48              <organization>ATT</organization>
49              <organizationUrl>www.att.com</organizationUrl>
50            </developer>
51            <developer>
52              <name>Ramkumar</name>
53              <email></email>
54              <organization>ATT</organization>
55              <organizationUrl>www.att.com</organizationUrl>
56            </developer>
57          </developers>
58         
59
60         <build>
61                 <plugins>
62                         <plugin>
63                                 <groupId>org.apache.maven.plugins</groupId>
64                                 <artifactId>maven-javadoc-plugin</artifactId>
65                                 <version>2.10.4</version>
66                                 <configuration>
67                                         <additionalparam>-Xdoclint:none</additionalparam>
68                                 </configuration>
69                                 <executions>
70                                         <execution>
71                                                 <id>attach-javadocs</id>
72                                                 <goals>
73                                                         <goal>jar</goal>
74                                                 </goals>
75                                         </execution>
76                                 </executions>
77                         </plugin>
78                         <plugin>
79                                 <groupId>org.apache.maven.plugins</groupId>
80                                 <artifactId>maven-source-plugin</artifactId>
81                                 <version>3.0.0</version>
82                                 <executions>
83                                         <execution>
84                                                 <id>attach-sources</id>
85                                                 <goals>
86                                                         <goal>jar-no-fork</goal>
87                                                 </goals>
88                                         </execution>
89                                 </executions>
90                         </plugin>               
91                         <plugin>
92                                 <groupId>org.apache.maven.plugins</groupId>
93                                 <artifactId>maven-release-plugin</artifactId>
94                                 <version>2.5.3</version>
95                                 <configuration>
96                                         <autoVersionSubmodules>true</autoVersionSubmodules>
97                                         <checkModificationExcludes>
98                                         </checkModificationExcludes>
99                                 </configuration>
100                                 <dependencies>
101                                         <dependency>
102                                                 <groupId>org.apache.maven.scm</groupId>
103                                                 <artifactId>maven-scm-provider-gitexe</artifactId>
104                                                 <version>1.9.4</version>
105                                         </dependency>
106                                 </dependencies>
107                         </plugin>
108                         <plugin>
109                                 <groupId>org.apache.maven.plugins</groupId>
110                                 <artifactId>maven-deploy-plugin</artifactId>
111                                 <version>2.5</version>
112                                 <configuration>
113                                         <skip>true</skip>
114                                 </configuration>
115                         </plugin>
116                         <plugin>
117                                 <groupId>org.apache.maven.plugins</groupId>
118                                 <artifactId>maven-resources-plugin</artifactId>
119                                 <version>2.7</version>
120                                 <executions>
121                                         <execution>
122                                                 <id>copy-docker-file</id>
123                                                 <phase>package</phase>
124                                                 <goals>
125                                                         <goal>copy-resources</goal>
126                                                 </goals>
127                                                 <configuration>
128                                                         <outputDirectory>${dockerLocation}</outputDirectory>
129                                                         <overwrite>true</overwrite>
130                                                         <resources>
131                                                                 <resource>
132                                                                         <directory>${basedir}/src/main/resources/docker</directory>
133                                                                         <filtering>true</filtering>
134                                                                         <includes>
135                                                                                 <include>**/*</include>
136                                                                         </includes>
137                                                                 </resource>
138                                                         </resources>
139                                                 </configuration>
140                                         </execution>
141                                 </executions>
142                         </plugin>
143                         <plugin>
144                                 <groupId>com.spotify</groupId>
145                                 <artifactId>docker-maven-plugin</artifactId>
146                                 <version>0.4.11</version>
147                                 <configuration>
148                                         <imageName>attos/dmaap</imageName>
149                                         <dockerDirectory>${dockerLocation}</dockerDirectory>
150                                         <serverId>docker-hub</serverId>
151                                         <registryUrl>https://index.docker.io/v1</registryUrl>
152                                         <imageTags>
153                                                 <imageTag>${dmaapImg}</imageTag>
154                                                 <imageTag>latest</imageTag>
155                                         </imageTags>
156                                         <forceTags>true</forceTags>
157                                 </configuration>
158                         </plugin>
159                         <plugin>
160                                 <groupId>com.blackducksoftware.integration</groupId>
161                                 <artifactId>hub-maven-plugin</artifactId>
162                                 <version>1.0.4</version>
163                                 <inherited>false</inherited>
164                                 <configuration>
165                                         <target>${project.basedir}</target>
166                                 </configuration>
167                                 <executions>
168                                         <execution>
169                                                 <id>create-bdio-file</id>
170                                                 <phase>package</phase>
171                                                 <goals>
172                                                         <goal>createHubOutput</goal>
173                                                 </goals>
174                                         </execution>
175                                 </executions>
176                         </plugin>
177                         <!-- <plugin>
178                                 <groupId>org.apache.maven.plugins</groupId>
179                                 <artifactId>maven-gpg-plugin</artifactId>
180                                 <version>1.5</version>
181                                 <executions>
182                                         <execution>
183                                                 <id>sign-artifacts</id>
184                                                 <phase>verify</phase>
185                                                 <goals>
186                                                         <goal>sign</goal>
187                                                 </goals>
188                                         </execution>
189                                 </executions>
190                         </plugin> -->   
191                         <plugin>
192                                 <groupId>org.sonatype.plugins</groupId>
193                                 <artifactId>nexus-staging-maven-plugin</artifactId>
194                                 <version>1.6.7</version>
195                                 <extensions>true</extensions>
196                                 <configuration>
197                                         <nexusUrl>${nexusproxy}</nexusUrl>
198                                         <stagingProfileId>176c31dfe190a</stagingProfileId>
199                                         <serverId>ecomp-staging</serverId>
200                                         <skipNexusStagingDeployMojo>${skip.staging.artifacts}</skipNexusStagingDeployMojo>
201                                 </configuration>
202                         </plugin>               
203                         <plugin>
204                                 <groupId>org.jacoco</groupId>
205                                 <artifactId>jacoco-maven-plugin</artifactId>
206                                 <version>0.7.7.201606060606</version>
207                                 <configuration>
208                                         <dumpOnExit>true</dumpOnExit>
209                                         <includes>
210                                                 <include>org.onap.clamp.*</include>
211                                         </includes>
212                                 </configuration>
213                                 <executions>
214                                         <execution>
215                                                 <id>pre-unit-test</id>
216                                                 <goals>
217                                                         <goal>prepare-agent</goal>
218                                                 </goals>
219                                                 <configuration>
220                                                         <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
221                                                         <!-- <append>true</append> -->
222                                                 </configuration>
223                                         </execution>
224                                         <execution>
225                                                 <id>pre-integration-test</id>
226                                                 <phase>pre-integration-test</phase>
227                                                 <goals>
228                                                         <goal>prepare-agent</goal>
229                                                 </goals>
230                                                 <configuration>
231                                                         <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>
232                                                         <!-- <append>true</append> -->
233                                                 </configuration>
234                                         </execution>
235                                         <execution>
236                         <goals>
237                             <goal>merge</goal>
238                         </goals>
239                         <phase>post-integration-test</phase>
240                         <configuration>
241                             <fileSets>
242                                 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">
243                                     <directory>${project.build.directory}/coverage-reports</directory>
244                                     <includes>
245                                         <include>*.exec</include>
246                                     </includes>
247                                 </fileSet>
248                             </fileSets>
249                             <destFile>${project.build.directory}/jacoco-dev.exec</destFile>
250                         </configuration>
251                     </execution>
252                                 </executions>
253                         </plugin>
254                                         
255                 </plugins>
256         </build>
257
258         <properties>
259                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
260                 <dockerLocation>${basedir}/target/swm/package/nix/dist_files/</dockerLocation>
261                 <docker.registry>hub.docker.com</docker.registry>
262
263                 <module.ajsc.namespace.name>dmaap</module.ajsc.namespace.name>
264                 <module.ajsc.namespace.version>v1</module.ajsc.namespace.version>
265                 <ajscRuntimeVersion>1.0.0</ajscRuntimeVersion>
266
267                 <!-- This will be the Absolute Root of the Project and should contain NO 
268                         Versioning -->
269                 <absoluteDistFilesRoot>/appl/${project.artifactId}</absoluteDistFilesRoot>
270                 <!-- <absoluteDistFilesRoot>/opt/app/dmaap/${project.artifactId}</absoluteDistFilesRoot> -->
271                 <!-- For Versioning upon installation, add /${project.version} to distFilesRoot. 
272                         For NO Versioning, leave as is -->
273                 <!-- example: /appl/${project.artifactId}/${project.version}. Also, add 
274                         ${project.version} to ${runAjscHome} for running locally. -->
275                 <distFilesRoot>/appl/${project.artifactId}</distFilesRoot>
276                 <!-- <distFilesRoot>/opt/app/dmaap/${project.artifactId}</distFilesRoot> -->
277                 <runAjscHome>${basedir}/target/swm/package/nix/dist_files${distFilesRoot}</runAjscHome>
278
279                 <!-- For SOA Cloud Installation <installOwnerUser>aft</installOwnerUser> 
280                         <installOwnerGroup>aft</installOwnerGroup> <ownerManagementGroup>com.att.acsi.saat.dt.dmaap.dev</ownerManagementGroup> -->
281                 <!-- For SOA Cloud Installation -->
282                 <installOwnerUser>msgrtr</installOwnerUser>
283                 <installOwnerGroup>dmaap</installOwnerGroup>
284                 <ownerManagementGroup>com.att.acsi.saat.dt.dmaap.dev</ownerManagementGroup>
285                 <!-- Port Selection. A value of 0 will allow for dynamic port selection. 
286                         For local testing, you may choose to hardcode this value to something like 
287                         8080 -->
288                 <serverPort>3904</serverPort>
289                 <sslport>3905</sslport>
290         
291                 <testRouteOffer>workstation</testRouteOffer>
292                 <testEnv>DEV</testEnv>
293                 <dmaapImg>1.0.19</dmaapImg>
294                 
295                 <sonar.language>java</sonar.language>
296                 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
297                 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
298                 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
299                 <sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath>
300                 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
301                 <sonar.projectVersion>${project.version}</sonar.projectVersion>
302                 
303                         <nexusproxy>https://nexus.onap.org</nexusproxy>
304                 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
305                 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
306                 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
307                 <sitePath>/content/sites/site/org/onap/clamp/${project.version}</sitePath>
308         </properties>
309
310         <!-- Distribution management -->
311
312
313         <!-- End Distribution management -->
314
315         <!-- The standard build tasks for this project are inherited from the parent. 
316                 Please do not override the build tasks. However tasks and/or profiles can 
317                 be included here as well as additional dependencies for your service. Any 
318                 runtime or compile scope dependencies will be copied to the INSTALLATION_PATH/extJars 
319                 folder and will be made available on the AJSC classpath for your service. 
320                 Please, NOTE: DME2 and CSM related dependencies are EXTERNALIZED within the 
321                 CSI environment. Therefore, they are provided within this project as "provided" 
322                 dependencies. In order for the AJSC to run properly, locally, the CSM and 
323                 DME2 dependencies will be copied into the target/commonLibs folder and will 
324                 be made available to the classpath of the AJSC through the use of the system 
325                 property, "AJSC_EXTERNAL_LIB_FOLDERS". This system property needs to be set 
326                 in the "runAjsc" maven profile within the pom.xml (and, is defaulted to do 
327                 so). If you have a startup failure related to a missing dme2 class not found 
328                 exception, please contact the AJSC team for assistance. You can email support 
329                 at ajsc-Support <DL-ajsc-Support@att.com>. For more information regarding 
330                 the usage of the AJSC service pom.xml and management of dependencies, please 
331                 goto wiki link:http://wiki.web.att.com/display/ajsc/pom.xml -->
332         <dependencies>
333
334                 <!-- cmn-CommonDataModel dependency added to resolve build issue not finding 
335                         version 100.0.64 -->
336                 
337                 <!-- <dependency>
338                         <groupId>csi-schemas-source</groupId>
339                         <artifactId>cmn-CommonDataModel</artifactId>
340                         <version>112.0.50</version>
341                 </dependency> -->
342         <!-- TODO: add open source version here -->
343                 <dependency>
344                         <groupId>com.att.cadi</groupId>
345                         <artifactId>cadi-core</artifactId>
346                         <version>1.3.0</version>
347                 </dependency>
348                 <dependency>
349                         <groupId>commons-io</groupId>
350                         <artifactId>commons-io</artifactId>
351                         <version>2.4</version>
352                 </dependency>
353                 <dependency>
354                         <groupId>org.apache.commons</groupId>
355                         <artifactId>commons-io</artifactId>
356                         <version>1.3.2</version>
357                 </dependency>
358                 <dependency>
359                         <groupId>com.att.nsa</groupId>
360                         <artifactId>msgrtr</artifactId>
361                         <version>0.0.5</version>
362                         <exclusions>
363                                 <exclusion>
364                                         <groupId>org.slf4j</groupId>
365                                         <artifactId>slf4j-log4j12</artifactId>
366                                 </exclusion>
367                                 <exclusion>
368                                         <groupId>com.att.ajsc</groupId>
369                                         <artifactId>ajsc-core</artifactId>
370                                 </exclusion>
371                                 <exclusion>
372                                         <groupId>org.apache.tomcat</groupId>
373                                         <artifactId>tomcat-catalina</artifactId>
374                                 </exclusion>
375
376                                 <exclusion>
377                                         <groupId>org.apache.tomcat.embed</groupId>
378                                         <artifactId>tomcat-embed-core</artifactId>
379                                 </exclusion>
380                                 <exclusion>
381                                         <groupId>org.apache.tomcat</groupId>
382                                         <artifactId>tomcat-util</artifactId>
383                                 </exclusion>
384                                 <!-- <exclusion> <groupId>com.att.nsa</groupId> <artifactId>saToolkit</artifactId> 
385                                         </exclusion> -->
386                                 <exclusion>
387                                         <groupId>com.att.nsa</groupId>
388                                         <artifactId>tomcat-util</artifactId>
389                                 </exclusion>
390
391                         </exclusions>
392                 </dependency>
393
394                 <dependency>
395                         <groupId>org.codehaus.jackson</groupId>
396                         <artifactId>jackson-jaxrs</artifactId>
397                         <version>1.9.13</version>
398                 </dependency>
399
400                 <dependency>
401                         <groupId>org.json</groupId>
402                         <artifactId>json</artifactId>
403                         <version>20131018</version>
404                 </dependency>
405
406                 <!-- CXF JAX-RS extension -->
407                 <dependency>
408                         <groupId>org.apache.cxf</groupId>
409                         <artifactId>cxf-rt-rs-extension-providers</artifactId>
410                         <version>3.0.4</version>
411                 </dependency>
412                 <dependency>
413                         <groupId>org.codehaus.jettison</groupId>
414                         <artifactId>jettison</artifactId>
415                         <version>1.3.7</version>
416                 </dependency>
417                 <!-- dme2 related dependencies -->
418                  <!-- <dependency>
419                         <groupId>net.cingular.enterprise</groupId>
420                         <artifactId>csm-framework</artifactId>
421                         <version>${csm.version}</version>
422                         <scope>provided</scope>
423                 </dependency>
424                 <dependency>
425                         <groupId>net.cingular.enterprise</groupId>
426                         <artifactId>csm-jmxsupport-jdk</artifactId>
427                         <version>${csm.version}</version>
428                         <scope>provided</scope>
429                 </dependency>
430                 <dependency>
431                         <groupId>net.cingular.enterprise</groupId>
432                         <artifactId>csm-jmx</artifactId>
433                         <version>${csm.version}</version>
434                         <scope>provided</scope>
435                 </dependency> -->
436
437                 <!-- For dom4j dependency ONLY! - If deploying to CSI env, remove "provided" 
438                         scope. In CSI env, this jar MUST be included within service project's swm 
439                         package -->
440                 <dependency>
441                         <groupId>dom4j</groupId>
442                         <artifactId>dom4j</artifactId>
443                         <version>1.6.1</version>
444                         <scope>provided</scope>
445                 </dependency>
446                 <dependency>
447                         <groupId>com.att.aft</groupId>
448                         <artifactId>dme2</artifactId>
449                         <version>${dme2.version}</version>
450                         <!-- <scope>provided</scope> -->
451                 </dependency>
452                 <dependency>
453                   <groupId>com.att.ajsc</groupId>
454                   <artifactId>ajsc-archetype-parent</artifactId>
455                   <version>1.0.0</version>
456                   <type>pom</type>
457                 </dependency>           
458                 
459                 <dependency>
460                         <groupId>com.att.cadi</groupId>
461                         <artifactId>cadi-aaf</artifactId>
462                         <version>1.3.0</version>
463                 </dependency>   
464                 
465                 <dependency>
466                         <groupId>com.att.inno</groupId>
467                         <artifactId>rosetta</artifactId>
468                         <version>1.2.11</version>
469                 </dependency>   
470                 <dependency>
471                         <groupId>com.att.inno</groupId>
472                         <artifactId>env</artifactId>
473                         <version>1.2.11</version>
474                 </dependency>           
475                 <dependency>
476                         <groupId>com.att.inno</groupId>
477                         <artifactId>xgen</artifactId>
478                         <version>1.2.11</version>
479                 </dependency>                           
480                 <dependency>
481                         <groupId>com.att.inno</groupId>
482                         <artifactId>rosetta</artifactId>
483                         <version>1.2.11</version>
484                 </dependency>                   
485         </dependencies>
486         <!-- <build> <resources> <resource> <directory>${basedir}/ajsc-shared-config/etc</directory> 
487                 </resource> </resources> </build> -->
488         <profiles>
489                 <!-- Use this profile to run the AJSC locally. This profile can be successfully 
490                         shutdown WITHIN eclipse even in a Windows environment. Debugging is also 
491                         available with this profile. -->
492                 <profile>
493                         <id>runAjsc</id>
494                         <build>
495                                 <defaultGoal>initialize</defaultGoal>
496                                 <plugins>
497                                         <plugin>
498                                                 <groupId>org.codehaus.mojo</groupId>
499                                                 <artifactId>exec-maven-plugin</artifactId>
500                                                 <version>1.3.2</version>
501                                                 <executions>
502                                                         <execution>
503                                                                 <phase>initialize</phase>
504                                                                 <goals>
505                                                                         <goal>java</goal>
506                                                                 </goals>
507                                                                 <configuration>
508                                                                         <!-- In order to better mimic a SOA cloud installation of AJSC (and 
509                                                                                 to help eliminate Maven/Eclipse/AJSC classpath issues that may be difficult 
510                                                                                 to diagnose), within this profile used to run locally, we are NOT including 
511                                                                                 project dependencies. These will be loaded by AJSC from $AJSC_HOME/extJars. 
512                                                                                 The only jar needed to run AJSC is the ajsc-runner.jar, and therefore is 
513                                                                                 the only dependency required by this profile to run locally. -->
514                                                                         <includeProjectDependencies>false</includeProjectDependencies>
515                                                                         <includePluginDependencies>true</includePluginDependencies>
516                                                                         <executable>java</executable>
517                                                                         <mainClass>com.att.ajsc.runner.Runner</mainClass>
518                                                                         <executableDependency>
519                                                                                 <groupId>com.att.ajsc</groupId>
520                                                                                 <artifactId>ajsc-runner</artifactId>
521                                                                         </executableDependency>
522                                                                         <additionalClasspathElements>
523                                                                                 <additionalClasspathElement>${basedir}/ajsc-shared-config/etc</additionalClasspathElement>
524                                                                         </additionalClasspathElements>
525
526                                                                         <environmentVariables>
527                                                                                 <AJSC_HOME>${runAjscHome}</AJSC_HOME>
528                                                                         </environmentVariables>
529
530                                                                         <!-- Main AJSC System Properties below (necessary for proper startup) -->
531                                                                         <systemProperties>
532                                                                                 <systemProperty>
533                                                                                         <key>AJSC_HOME</key>
534                                                                                         <value>${runAjscHome}</value>
535                                                                                 </systemProperty>
536                                                                                 <systemProperty>
537                                                                                         <key>AJSC_HOME</key>
538                                                                                         <value>${runAjscHome}</value>
539                                                                                 </systemProperty>
540                                                                                 <systemProperty>
541                                                                                         <key>AJSC_CONF_HOME</key>
542                                                                                         <value>${basedir}/bundleconfig-local</value>
543                                                                                 </systemProperty>
544                                                                                 <systemProperty>
545                                                                                         <key>logback.configurationFile</key>
546                                                                                         <value>${basedir}/ajsc-shared-config/etc/logback.xml</value>
547                                                                                 </systemProperty>
548                                                                                 <systemProperty>
549                                                                                         <key>AJSC_SHARED_CONFIG</key>
550                                                                                         <value>${basedir}/ajsc-shared-config</value>
551                                                                                 </systemProperty>
552
553                                                                                 <!-- Please, NOTE: The following 2 system properties will normally 
554                                                                                         be set within the sys-props.properties file once deployed to a node. We are 
555                                                                                         setting them HERE to run locally to make more efficient use of maven variable 
556                                                                                         replacement for ${basedir} -->
557                                                                                 <!-- AJSC_EXTERNAL_LIB_FOLDERS represents the particular jars that 
558                                                                                         will be externalized on a CSI node. This includes dme2 and csm related artifact. -->
559                                                                                 <sysproperty>
560                                                                                         <key>AJSC_EXTERNAL_LIB_FOLDERS</key>
561                                                                                         <value>${basedir}/target/commonLibs</value>
562                                                                                 </sysproperty>
563                                                                                 <!-- AJSC_EXTERNAL_PROPERTIES_FOLDERS represents the particular 
564                                                                                         files that may need to be added to the classpath. These files will be externalized 
565                                                                                         on a CSI node. This includes dme2 and csm related artifact (such as csm-config-app.properties). 
566                                                                                         Failure to have these files on the classpath may result in errors thrown 
567                                                                                         by csm framework. -->
568                                                                                 <sysproperty>
569                                                                                         <key>AJSC_EXTERNAL_PROPERTIES_FOLDERS</key>
570                                                                                         <value>${basedir}/ajsc-shared-config/etc</value>
571                                                                                 </sysproperty>
572
573                                                                                 <systemProperty>
574                                                                                         <key>AJSC_SERVICE_NAMESPACE</key>
575                                                                                         <value>${module.ajsc.namespace.name}</value>
576                                                                                 </systemProperty>
577                                                                                 <systemProperty>
578                                                                                         <key>AJSC_SERVICE_VERSION</key>
579                                                                                         <value>${module.ajsc.namespace.version}</value>
580                                                                                 </systemProperty>
581                                                                                 <systemProperty>
582                                                                                         <key>SOACLOUD_SERVICE_VERSION</key>
583                                                                                         <value>${project.version}</value>
584                                                                                 </systemProperty>
585                                                                                 <systemProperty>
586                                                                                         <key>server.port</key>
587                                                                                         <value>${serverPort}</value>
588                                                                                 </systemProperty>
589                                                                         </systemProperties>
590
591                                                                         <!-- Command Line Arguments to add to the java command. Here, you 
592                                                                                 can specify the port as well as the Context you want your service to run 
593                                                                                 in. Use context=/ to run in an unnamed Context (Root Context). The default 
594                                                                                 configuration of the AJSC is to run under the / Context. Setting the port 
595                                                                                 here can aid during the development phase of your service. However, you can 
596                                                                                 leave this argument out entirely, and the AJSC will default to using an Ephemeral 
597                                                                                 port. -->
598                                                                         <arguments>
599                                                                                 <argument>context=/</argument>
600                                                                                 <argument>port=${serverPort}</argument>
601                                                                                 <argument>sslport=${sslport}</argument>
602                                                                         </arguments>
603                                                                 </configuration>
604                                                         </execution>
605                                                 </executions>
606                                                 <configuration>
607                                                         <executable>java</executable>
608                                                 </configuration>
609                                                 <dependencies>
610                                                         <dependency>
611                                                                 <groupId>com.att.ajsc</groupId>
612                                                                 <artifactId>ajsc-runner</artifactId>
613                                                                 <version>${ajscRuntimeVersion}</version>
614                                                         </dependency>
615                                                 </dependencies>
616                                         </plugin>
617
618                                         <plugin>
619                                                 <groupId>org.apache.maven.plugins</groupId>
620                                                 <artifactId>maven-resources-plugin</artifactId>
621                                                 <version>2.7</version>
622                                                 <executions>
623                                                         <execution>
624                                                                 <id>copy-docker-file</id>
625                                                                 <phase>package</phase>
626                                                                 <goals>
627                                                                         <goal>copy-resources</goal>
628                                                                 </goals>
629                                                                 <configuration>
630                                                                         <outputDirectory>${dockerLocation}</outputDirectory>
631                                                                         <overwrite>true</overwrite>
632                                                                         <resources>
633                                                                                 <resource>
634                                                                                         <directory>${basedir}/src/main/resources/docker</directory>
635                                                                                         <filtering>true</filtering>
636                                                                                         <includes>
637                                                                                                 <include>**/*</include>
638                                                                                         </includes>
639                                                                                 </resource>
640                                                                         </resources>
641                                                                 </configuration>
642                                                         </execution>
643                                                 </executions>
644                                         </plugin>
645                                         <plugin>
646                                                 <groupId>com.spotify</groupId>
647                                                 <artifactId>docker-maven-plugin</artifactId>
648                                                 <version>0.4.11</version>
649                                                 <configuration>
650                                                         <imageName>${docker.registry}/${project.artifactId}</imageName>
651                                                         <dockerDirectory>${dockerLocation}</dockerDirectory>
652                                                         <serverId>docker-hub</serverId>
653                                                         <registryUrl>https://${docker.registry}</registryUrl>
654                                                         <imageTags>
655                                                                 <imageTag>${dmaapImg}</imageTag>
656                                                                 <imageTag>latest</imageTag>
657                                                         </imageTags>
658                                                         <forceTags>true</forceTags>
659                                                 </configuration>
660                                         </plugin>
661
662                                 </plugins>
663                         </build>
664                 </profile>
665         </profiles>
666         
667         <distributionManagement>
668                 <repository>
669                         <id>ecomp-releases</id>
670                         <name>Clamp Release Repository</name>
671                         <url>${nexusproxy}/${releaseNexusPath}</url>
672                 </repository>
673                 <snapshotRepository>
674                         <id>ecomp-snapshots</id>
675                         <name>Clamp Snapshot Repository</name>
676                         <url>${nexusproxy}/${snapshotNexusPath}</url>
677                 </snapshotRepository>
678                 <site>
679                         <id>ecomp-site</id>
680                         <url>dav:${nexusproxy}${sitePath}</url>
681                 </site>
682         </distributionManagement>
683         
684                 <repositories>
685                 <repository>
686                         <id>central</id>
687                         <name>Maven 2 repository 2</name>
688                         <url>http://repo2.maven.org/maven2/</url>
689                 </repository>
690                 <repository>
691                         <id>ecomp-releases</id>
692                         <name>ONAP Release Repository</name>
693                         <url>${nexusproxy}/${releaseNexusPath}</url>
694                 </repository>
695                 <repository>
696                         <id>ecomp-staging</id>
697                         <name>ONAP Staging Repository</name>
698                         <url>${nexusproxy}/${stagingNexusPath}</url>
699                 </repository>
700                 <repository>
701                         <id>ecomp-snapshots</id>
702                         <name>ONAP Snapshot Repository</name>
703                         <url>${nexusproxy}/${snapshotNexusPath}</url>
704                         <snapshots>
705                                 <enabled>true</enabled>
706                         </snapshots>
707                         <releases>
708                                 <enabled>false</enabled>
709                         </releases>
710                 </repository>
711                 <repository>
712                         <id>spring-repo</id>
713                         <name>Spring repo</name>
714                         <url>https://artifacts.alfresco.com/nexus/content/repositories/public/</url>
715                 </repository>
716                 <repository>
717                         <id>repository.jboss.org-public</id>
718                         <name>JBoss.org Maven repository</name>
719                         <url>https://repository.jboss.org/nexus/content/groups/public</url>
720                 </repository>
721         </repositories>
722 </project>