1 <?xml version="1.0" encoding="UTF-8"?>
3 xmlns="http://maven.apache.org/POM/4.0.0"
4 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5 <modelVersion>4.0.0</modelVersion>
6 <groupId>org.onap.sdc.dcae-d.dt-be-main</groupId>
7 <artifactId>dcae_dt_be</artifactId>
8 <packaging>war</packaging>
9 <name>DCAE DT BE</name>
11 <groupId>org.onap.sdc.dcae-d.dt-be-main</groupId>
12 <artifactId>dcae_dt_be_main</artifactId>
13 <version>1.2.0-SNAPSHOT</version>
17 <docker.staging.tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</docker.staging.tag>
22 <groupId>org.springframework.boot</groupId>
23 <artifactId>spring-boot-starter-web</artifactId>
26 <groupId>org.springframework.boot</groupId>
27 <artifactId>spring-boot-starter-tomcat</artifactId>
32 <groupId>org.springframework.boot</groupId>
33 <artifactId>spring-boot-starter-test</artifactId>
37 <groupId>org.apache.commons</groupId>
38 <artifactId>commons-lang3</artifactId>
39 <version>3.5</version>
42 <groupId>commons-net</groupId>
43 <artifactId>commons-net</artifactId>
44 <version>3.3</version>
47 <groupId>com.jcraft</groupId>
48 <artifactId>jsch</artifactId>
49 <version>0.1.54</version>
52 <groupId>com.google.code.gson</groupId>
53 <artifactId>gson</artifactId>
54 <version>2.8.0</version>
57 <groupId>org.json</groupId>
58 <artifactId>json</artifactId>
59 <version>20160810</version>
62 <groupId>org.onap.sdc.dcae-d.dt-be-main</groupId>
63 <artifactId>DCAE-DT-Catalog-ASDC</artifactId>
64 <version>${project.version}</version>
67 <groupId>org.onap.sdc.dcae-d.dt-be-main</groupId>
68 <artifactId>DCAE-DT-Catalog-API</artifactId>
69 <version>${project.version}</version>
72 <groupId>org.onap.sdc.dcae-d.dt-be-main</groupId>
73 <artifactId>DCAE-DT-Catalog-Commons</artifactId>
74 <version>${project.version}</version>
77 <groupId>org.onap.sdc.dcae-d.dt-be-main</groupId>
78 <artifactId>DCAE-DT-Catalog-DB</artifactId>
79 <version>${project.version}</version>
82 <groupId>org.onap.sdc.dcae-d.dt-be-main</groupId>
83 <artifactId>DCAE-DT-Catalog-Service</artifactId>
84 <version>${project.version}</version>
87 <groupId>org.powermock</groupId>
88 <artifactId>powermock-module-junit4</artifactId>
89 <version>1.6.4</version>
93 <groupId>org.powermock</groupId>
94 <artifactId>powermock-api-mockito</artifactId>
95 <version>1.6.4</version>
99 <groupId>org.testng</groupId>
100 <artifactId>testng</artifactId>
101 <version>6.9.10</version>
105 <groupId>com.googlecode.json-simple</groupId>
106 <artifactId>json-simple</artifactId>
107 <version>1.1.1</version>
110 <groupId>io.springfox</groupId>
111 <artifactId>springfox-swagger2</artifactId>
112 <version>2.6.1</version>
113 <scope>compile</scope>
116 <groupId>io.springfox</groupId>
117 <artifactId>springfox-swagger-ui</artifactId>
118 <version>2.6.1</version>
119 <scope>compile</scope>
122 <groupId>javax.servlet</groupId>
123 <artifactId>javax.servlet-api</artifactId>
124 <version>4.0.0</version>
125 <scope>provided</scope>
132 <activeByDefault>false</activeByDefault>
136 <groupId>org.springframework.boot</groupId>
137 <artifactId>spring-boot-starter-jetty</artifactId>
138 <version>1.5.2.RELEASE</version>
141 <groupId>org.eclipse.jetty.websocket</groupId>
142 <artifactId>*</artifactId>
147 <groupId>javax.servlet</groupId>
148 <artifactId>javax.servlet-api</artifactId>
149 <version>4.0.0</version>
150 <scope>provided</scope>
155 <!--<id>server</id>-->
157 <!--<activeByDefault>true</activeByDefault>-->
159 <!--<dependencies>-->
161 <!--<groupId>javax.servlet</groupId>-->
162 <!--<artifactId>javax.servlet-api</artifactId>-->
163 <!--<version>4.0.0</version>-->
165 <!--</dependencies>-->
173 <artifactId>maven-resources-plugin</artifactId>
174 <version>3.0.2</version>
177 <id>copy-dcae-be-war</id>
178 <phase>prepare-package</phase>
180 <goal>copy-resources</goal>
183 <outputDirectory>${project.parent.basedir}/docker/docker_be/target</outputDirectory>
186 <directory>${project.basedir}/target</directory>
188 <include>dcae.war</include>
197 <groupId>io.fabric8</groupId>
198 <artifactId>docker-maven-plugin</artifactId>
199 <version>0.23.0</version>
201 <verbose>true</verbose>
202 <apiVersion>1.23</apiVersion>
203 <registry>nexus3.onap.org:10001</registry>
206 <username>docker</username>
207 <password>docker</password>
211 <!-- Build backend image -->
213 <name>onap/dcae-be</name>
214 <alias>dcae-be</alias>
216 <cleanup>try</cleanup>
217 <dockerFileDir>${project.parent.basedir}/docker/docker_be</dockerFileDir>
219 <tag>${docker.tag}</tag>
220 <tag>${docker.latest.tag}</tag>
221 <tag>${docker.staging.tag}</tag>
229 <id>clean-images</id>
230 <phase>pre-clean</phase>
235 <removeAll>true</removeAll>
236 <image>onap/dcae-be</image>
240 <id>generate-images</id>
241 <phase>package</phase>
248 <phase>deploy</phase>
253 <image>onap/dcae-be</image>
264 <finalName>dcae</finalName>
267 <groupId>org.apache.maven.plugins</groupId>
268 <artifactId>maven-surefire-plugin</artifactId>
271 <groupId>org.springframework.boot</groupId>
272 <artifactId>spring-boot-maven-plugin</artifactId>
274 <webXml>src/main/webapp/WEB-INF/web.xml</webXml>
277 <!-- this is relative to the pom.xml directory -->
278 <directory>src/main/webapp/</directory>
284 <groupId>org.apache.maven.plugins</groupId>
285 <artifactId>maven-war-plugin</artifactId>
289 <Specification-Version>${project.version}</Specification-Version>