summaryrefslogtreecommitdiffstats
path: root/workflow-designer-be/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'workflow-designer-be/pom.xml')
-rw-r--r--workflow-designer-be/pom.xml45
1 files changed, 33 insertions, 12 deletions
diff --git a/workflow-designer-be/pom.xml b/workflow-designer-be/pom.xml
index 8cea7cb0..dd108a12 100644
--- a/workflow-designer-be/pom.xml
+++ b/workflow-designer-be/pom.xml
@@ -93,6 +93,10 @@
<scope>runtime</scope>
</dependency>
<dependency>
+ <groupId>org.apache.httpcomponents</groupId>
+ <artifactId>httpclient</artifactId>
+ </dependency>
+ <dependency>
<groupId>org.mapstruct</groupId>
<artifactId>mapstruct</artifactId>
<version>${mapstruct.version}</version>
@@ -132,12 +136,12 @@
<dependency>
<groupId>org.onap.sdc.sdc-be-common</groupId>
<artifactId>session-lib</artifactId>
- <version>1.5.2-SNAPSHOT</version>
+ <version>1.5.2</version>
</dependency>
<dependency>
<groupId>org.onap.sdc.sdc-be-common</groupId>
<artifactId>versioning-lib</artifactId>
- <version>1.5.2-SNAPSHOT</version>
+ <version>1.5.2</version>
<exclusions>
<exclusion>
<groupId>org.springframework.boot</groupId>
@@ -148,7 +152,7 @@
<dependency>
<groupId>org.onap.sdc.sdc-be-common</groupId>
<artifactId>zusammen-lib</artifactId>
- <version>1.5.2-SNAPSHOT</version>
+ <version>1.5.2</version>
<exclusions>
<exclusion>
<groupId>org.springframework.boot</groupId>
@@ -189,6 +193,28 @@
<build>
<plugins>
<plugin>
+ <artifactId>maven-resources-plugin</artifactId>
+ <version>2.6</version>
+ <executions>
+ <execution>
+ <id>copy-resources-docker</id>
+ <phase>install</phase>
+ <goals>
+ <goal>copy-resources</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>${basedir}/docker</outputDirectory>
+ <resources>
+ <resource>
+ <directory>${project.build.directory}</directory>
+ <include>${project.build.finalName}.jar</include>
+ </resource>
+ </resources>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
<configuration>
@@ -199,15 +225,10 @@
<tags>
<tag>${project.version}</tag>
</tags>
- <from>openjdk:8-jdk-alpine</from>
- <user>root</user>
- <assembly>
- <descriptorRef>artifact</descriptorRef>
- <targetDir>/</targetDir>
- </assembly>
- <entryPoint>
- java ${JAVA_OPTIONS} -jar /${project.build.finalName}.jar
- </entryPoint>
+ <dockerFileDir>${project.basedir}/docker</dockerFileDir>
+ <args>
+ <ARTIFACT>${project.build.finalName}.jar</ARTIFACT>
+ </args>
</build>
</image>
</images>