1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0"
3 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">
4 <modelVersion>4.0.0</modelVersion>
5 <groupId>org.onap.sdc.dcae-d.dt-be-main</groupId>
6 <artifactId>dcae_dt_be</artifactId>
7 <packaging>war</packaging>
8 <name>DCAE DT BE</name>
10 <groupId>org.onap.sdc.dcae-d.dt-be-main</groupId>
11 <artifactId>dcae_dt_be_main</artifactId>
12 <version>1.3.0-SNAPSHOT</version>
16 <!--suppress UnresolvedMavenProperty -->
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>2.0.0-beta.5</version>
93 <groupId>org.powermock</groupId>
94 <artifactId>powermock-api-mockito2</artifactId>
95 <version>2.0.0-beta.5</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.8.0</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>2.0.5.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-clean-plugin</artifactId>
176 <id>delete dcae be war</id>
184 <directory>${project.parent.basedir}/docker/docker_be/target</directory>
185 <followSymlinks>false</followSymlinks>
187 <include>*.war</include>
196 <artifactId>maven-resources-plugin</artifactId>
197 <version>3.0.2</version>
200 <id>copy-dcae-be-war</id>
201 <phase>install</phase>
203 <goal>copy-resources</goal>
206 <outputDirectory>${project.parent.basedir}/docker/docker_be/target</outputDirectory>
209 <directory>${project.basedir}/target</directory>
211 <include>dcae.war</include>
220 <groupId>io.fabric8</groupId>
221 <artifactId>docker-maven-plugin</artifactId>
222 <version>0.23.0</version>
224 <verbose>true</verbose>
225 <apiVersion>1.23</apiVersion>
226 <registry>nexus3.onap.org:10001</registry>
229 <username>docker</username>
230 <password>docker</password>
234 <!-- Build backend image -->
236 <name>onap/dcae-be</name>
237 <alias>dcae-be</alias>
239 <cleanup>try</cleanup>
240 <dockerFileDir>${project.parent.basedir}/docker/docker_be</dockerFileDir>
242 <tag>${docker.tag}</tag>
243 <tag>${docker.latest.tag}</tag>
244 <tag>${docker.staging.tag}</tag>
252 <id>clean-images</id>
253 <phase>pre-clean</phase>
258 <removeAll>true</removeAll>
259 <image>onap/dcae-be</image>
263 <id>generate-images</id>
264 <phase>install</phase>
271 <phase>deploy</phase>
276 <image>onap/dcae-be</image>
287 <finalName>dcae</finalName>
290 <groupId>org.apache.maven.plugins</groupId>
291 <artifactId>maven-surefire-plugin</artifactId>
294 <groupId>org.springframework.boot</groupId>
295 <artifactId>spring-boot-maven-plugin</artifactId>
299 <goal>repackage</goal>
302 <classifier>exec</classifier>
307 <webXml>src/main/webapp/WEB-INF/web.xml</webXml>
310 <!-- this is relative to the pom.xml directory -->
311 <directory>src/main/webapp/</directory>
317 <groupId>org.apache.maven.plugins</groupId>
318 <artifactId>maven-war-plugin</artifactId>
322 <Specification-Version>${project.version}</Specification-Version>