3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
4 xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
5 <modelVersion>4.0.0</modelVersion>
6 <groupId>org.acumos</groupId>
7 <artifactId>gateway</artifactId>
8 <version>1.0.0-SNAPSHOT</version>
10 <description>Federated Acumos Interface for inter-acumos and ONAP communication</description>
13 <groupId>org.springframework.boot</groupId>
14 <artifactId>spring-boot-starter-parent</artifactId>
15 <version>1.5.4.RELEASE</version>
19 <groupId>org.springframework.boot</groupId>
20 <artifactId>spring-boot-starter-parent</artifactId>
21 <version>1.5.4.RELEASE</version>
26 <encoding>UTF-8</encoding>
27 <!-- Stand-alone RESTFul application -->
28 <start-class>org.acumos.federation.gateway.Application</start-class>
29 <!-- Jenkins invokes mvn with argument -Dbuild.number=${BUILD_NUMBER} -->
30 <build.number>0</build.number>
31 <eelf.version>1.0.0</eelf.version>
32 <!-- tests require database to be running -->
33 <skipTests>true</skipTests>
34 <!-- Docker daemon -->
35 <docker.host.url>unix:/var/run/docker.sock</docker.host.url>
36 <!-- Docker image registry -->
37 <docker.registry.url>Set by Jenkins</docker.registry.url>
38 <docker.registry.login>Registry userId - supplied by jenkins</docker.registry.login>
39 <docker.registry.password>Registry password - supplied by jenkins</docker.registry.password>
40 <!-- dependencies versions -->
41 <slf4j.version>1.7.25</slf4j.version>
42 <logback.version>1.2.3</logback.version>
43 <spring.boot.devtools.version>1.5.8.RELEASE</spring.boot.devtools.version>
44 <spring.boot.starter.web.version>1.5.8.RELEASE</spring.boot.starter.web.version>
45 <spring.boot.starter.security.version>1.5.8.RELEASE</spring.boot.starter.security.version>
46 <spring.boot.starter.test.version>1.5.8.RELEASE</spring.boot.starter.test.version>
47 <spring.boot.configuration.processor.version>1.5.8.RELEASE</spring.boot.configuration.processor.version>
48 <!-- All acumos.nexus.* are overridden by Jenkins settings -->
49 <acumos.nexus.url>http://cognita-nexus01.eastus.cloudapp.azure.com:8081</acumos.nexus.url>
50 <acumos.nexus.snapshot.path>repository/repo_cognita_platform_maven_snapshots</acumos.nexus.snapshot.path>
51 <acumos.nexus.release.path>repository/repo_cognita_platform_maven</acumos.nexus.release.path>
56 <id>acumos-snapshots</id>
57 <name>acumos-repository-snapshots</name>
58 <url>${acumos.nexus.url}/${acumos.nexus.snapshot.path}</url>
61 <id>acumos-releases</id>
62 <name>acumos-repository-releases</name>
63 <url>${acumos.nexus.url}/${acumos.nexus.release.path}</url>
66 <id>onap-snapshots</id>
67 <name>ONAP Snapshot Repository</name>
68 <url>${onap.nexus.url}/${onap.nexus.snapshot.path}</url>
71 <id>onap-releases</id>
72 <name>ONAP Release Repository</name>
73 <url>${onap.nexus.url}/${onap.nexus.release.path}</url>
79 <groupId>org.json</groupId>
80 <artifactId>json</artifactId>
81 <version>20160212</version>
84 <groupId>org.slf4j</groupId>
85 <artifactId>slf4j-api</artifactId>
86 <version>${slf4j.version}</version>
89 <groupId>ch.qos.logback</groupId>
90 <artifactId>logback-classic</artifactId>
91 <version>${logback.version}</version>
94 <groupId>ch.qos.logback</groupId>
95 <artifactId>logback-core</artifactId>
96 <version>${logback.version}</version>
100 <groupId>org.acumos</groupId>
101 <artifactId>acumos-docker-client</artifactId>
102 <version>1.0.0-SNAPSHOT</version>
106 <groupId>org.acumos</groupId>
107 <artifactId>acumos-nexus-client</artifactId>
108 <version>1.10.9</version>
111 <groupId>org.springframework.boot</groupId>
112 <artifactId>spring-boot-starter-security</artifactId>
113 <version>${spring.boot.starter.security.version}</version>
116 <groupId>org.springframework.boot</groupId>
117 <artifactId>spring-boot-starter-web</artifactId>
118 <version>${spring.boot.starter.web.version}</version>
122 <groupId>org.springframework.boot</groupId>
123 <artifactId>spring-boot-starter-test</artifactId>
124 <version>${spring.boot.starter.test.version}</version>
128 <groupId>org.springframework.boot</groupId>
129 <artifactId>spring-boot-configuration-processor</artifactId>
130 <version>${spring.boot.configuration.processor.version}</version>
131 <optional>true</optional>
134 <groupId>org.apache.httpcomponents</groupId>
135 <artifactId>httpclient</artifactId>
136 <version>4.5</version>
139 <groupId>org.springframework.shell</groupId>
140 <artifactId>spring-shell</artifactId>
141 <version>1.2.0.RELEASE</version>
144 <groupId>org.acumos.common-dataservice</groupId>
145 <artifactId>cmn-data-svc-client</artifactId>
146 <version>1.9.0-SNAPSHOT</version>
149 <groupId>io.springfox</groupId>
150 <artifactId>springfox-swagger2</artifactId>
151 <version>2.6.1</version>
154 <groupId>io.springfox</groupId>
155 <artifactId>springfox-swagger-ui</artifactId>
156 <version>2.6.1</version>
159 <groupId>com.att.eelf</groupId>
160 <artifactId>eelf-core</artifactId>
161 <version>${eelf.version}</version>
164 <groupId>javax.inject</groupId>
165 <artifactId>javax.inject</artifactId>
169 <groupId>io.jsonwebtoken</groupId>
170 <artifactId>jjwt</artifactId>
171 <version>0.6.0</version>
174 <groupId>org.python</groupId>
175 <artifactId>jython-standalone</artifactId>
176 <version>2.7.1-rc3</version>
179 <groupId>junit</groupId>
180 <artifactId>junit</artifactId>
181 <version>3.8.1</version>
185 <groupId>commons-cli</groupId>
186 <artifactId>commons-cli</artifactId>
187 <version>1.2</version>
190 <groupId>org.apache.commons</groupId>
191 <artifactId>commons-lang3</artifactId>
192 <version>3.6</version>
199 <groupId>org.apache.maven.plugins</groupId>
200 <artifactId>maven-compiler-plugin</artifactId>
201 <version>3.0</version>
208 <groupId>org.apache.maven.plugins</groupId>
209 <artifactId>maven-jar-plugin</artifactId>
213 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
216 <Build-Number>${project.version}.${build.number}</Build-Number>
217 <Build-Time>${maven.build.timestamp}</Build-Time>
223 <groupId>org.springframework.boot</groupId>
224 <artifactId>spring-boot-maven-plugin</artifactId>
228 <goal>repackage</goal>
234 <groupId>org.apache.maven.plugins</groupId>
235 <artifactId>maven-dependency-plugin</artifactId>
236 <version>2.10</version>
239 <id>copy-dependencies</id>
240 <phase>package</phase>
242 <goal>copy-dependencies</goal>
245 <outputDirectory>${project.build.directory}/deps</outputDirectory>
246 <overWriteReleases>false</overWriteReleases>
247 <overWriteSnapshots>false</overWriteSnapshots>
248 <overWriteIfNewer>true</overWriteIfNewer>
254 <groupId>io.fabric8</groupId>
255 <artifactId>docker-maven-plugin</artifactId>
256 <version>0.21.0</version>
258 <verbose>true</verbose>
259 <dockerHost>${docker.host.url}</dockerHost>
260 <registry>${docker.registry.url}</registry>
262 <username>${docker.registry.login}</username>
263 <password>${docker.registry.password}</password>
267 <name>federation-gateway:${project.version}</name>
269 <!-- This is the same FROM used in a Dockerfile -->
270 <!-- <from>openjdk:8-jdk</from> -->
271 <from>frolvlad/alpine-oraclejdk8:slim</from>
276 <source>application.properties.template</source>
278 <destName>application.properties</destName>
281 <source>src/test/resourcecs/acumosa.pkcs12</source>
283 <destName>acumosa.pkcs12</destName>
286 <source>src/test/resources/acumosb.pkcs12</source>
288 <destName>acumosb.pkcs12</destName>
291 <source>src/test/resources/acumosTrustStore.jks</source>
293 <destName>acumosTrustStore.jks</destName>
296 <source>target/${project.artifactId}-${project.version}.${project.packaging}</source>
302 <!-- This is the same CMD used in a Dockerfile -->
304 <shell>cd /maven; java -Djava.security.egd=file:/dev/./urandom -jar ${project.artifactId}-${project.version}.${project.packaging}</shell>
312 <groupId>org.codehaus.mojo</groupId>
313 <artifactId>license-maven-plugin</artifactId>
314 <version>1.14</version>
316 <licenseName>acumos</licenseName>
317 <licenseResolver>${project.baseUri}/src/license</licenseResolver>
318 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
319 <processStartTag>===============LICENSE_START=======================================================</processStartTag>
320 <processEndTag>===============LICENSE_END=========================================================</processEndTag>
321 <sectionDelimiter>===================================================================================</sectionDelimiter>
322 <inceptionYear>2017</inceptionYear>
323 <organizationName>AT&T Intellectual Property & Tech Mahindra. All rights reserved.</organizationName>
324 <projectName>Acumos</projectName>
325 <canUpdateCopyright>true</canUpdateCopyright>
326 <canUpdateDescription>true</canUpdateDescription>
327 <canUpdateLicense>true</canUpdateLicense>
328 <emptyLineAfterHeader>true</emptyLineAfterHeader>
330 <include>**/*.java</include>
338 <goal>update-file-header</goal>
340 <phase>process-sources</phase>
346 <groupId>org.jacoco</groupId>
347 <artifactId>jacoco-maven-plugin</artifactId>
348 <version>0.7.6.201602180812</version>
351 <id>default-prepare-agent</id>
353 <goal>prepare-agent</goal>
357 <id>default-report</id>
358 <phase>prepare-package</phase>
368 <distributionManagement>
370 <!-- must match ID in Jenkins settings -->
371 <id>acumos-nexus</id>
372 <name>acumos-repository-snapshots</name>
373 <url>${acumos.nexus.url}/${acumos.nexus.snapshot.path}</url>
374 </snapshotRepository>
376 <!-- must match ID in Jenkins settings -->
377 <id>acumos-nexus</id>
378 <name>acumos-repository-releases</name>
379 <url>${acumos.nexus.url}/${acumos.nexus.release.path}</url>
381 </distributionManagement>