summaryrefslogtreecommitdiffstats
path: root/workflow-designer-be/pom.xml
diff options
context:
space:
mode:
authorilanap <ilanap@amdocs.com>2019-11-18 13:38:23 +0200
committerOren Kleks <oren.kleks@amdocs.com>2019-11-20 09:17:43 +0000
commit820f4ec65a28ed822d4205b05ac6fbbd910a46cc (patch)
tree9af0eb05005a9ebd00abbdb1e6388570c05e1cf0 /workflow-designer-be/pom.xml
parentcc074920eeb217ef645a5bdc658eb7af3651a343 (diff)
Changes for backend to support SSL
Changes to support starting in https mode and changes to support making a secured call to the SDC backend Issue-ID: SDC-2405 Signed-off-by: ilanap <ilanap@amdocs.com> Change-Id: I0588484fdcb0903934814906672f4fc9a76eca2c Signed-off-by: ilanap <ilanap@amdocs.com>
Diffstat (limited to 'workflow-designer-be/pom.xml')
-rw-r--r--workflow-designer-be/pom.xml50
1 files changed, 41 insertions, 9 deletions
diff --git a/workflow-designer-be/pom.xml b/workflow-designer-be/pom.xml
index 9bf4e75d..601f10ee 100644
--- a/workflow-designer-be/pom.xml
+++ b/workflow-designer-be/pom.xml
@@ -121,6 +121,10 @@
</exclusions>
</dependency>
<dependency>
+ <groupId>org.apache.httpcomponents</groupId>
+ <artifactId>httpclient</artifactId>
+ </dependency>
+ <dependency>
<groupId>org.mapstruct</groupId>
<artifactId>mapstruct-jdk8</artifactId>
<version>${mapstruct.version}</version>
@@ -175,6 +179,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>
@@ -185,20 +211,26 @@
<tags>
<tag>${project.version}</tag>
</tags>
- <from>openjdk:8-jdk-alpine</from>
- <user>root</user>
- <assembly>
- <targetDir>/</targetDir>
- <descriptor>${project.basedir}/src/main/resources/assembly.xml</descriptor>
- </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>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.sonatype.plugins</groupId>
+ <artifactId>nexus-staging-maven-plugin</artifactId>
+ <version>1.6.8</version>
+ <extensions>true</extensions>
+ <configuration>
+ <serverId>onap-staging</serverId>
+ <nexusUrl>${nexus.proxy}</nexusUrl>
+ <stagingProfileId>${staging.profile.id}</stagingProfileId>
+ </configuration>
+ </plugin>
</plugins>
</build>
</profile>