summaryrefslogtreecommitdiffstats
path: root/dcaedt_be
diff options
context:
space:
mode:
authorStone, Avi (as206k) <as206k@att.com>2018-05-17 13:04:39 +0300
committerStone, Avi (as206k) <as206k@att.com>2018-05-17 13:06:10 +0300
commitc936da8efa5f13ebfc2f1218ffd9eb88dcc79023 (patch)
treed688f865f5d3684b0b17533f4ca7eb9d960b178c /dcaedt_be
parent530230e2299a1c78a79779ac03b0bbcf58260480 (diff)
Fix pom for docker files
Fix poms for docker files so the docker job would run Change-Id: I630106bc83f098e286f3e83913b064f507cc9294 Issue-ID: SDC-1339 Signed-off-by: Stone, Avi (as206k) <as206k@att.com>
Diffstat (limited to 'dcaedt_be')
-rw-r--r--dcaedt_be/pom.xml32
1 files changed, 32 insertions, 0 deletions
diff --git a/dcaedt_be/pom.xml b/dcaedt_be/pom.xml
index 0c999ad..ee6e5ab 100644
--- a/dcaedt_be/pom.xml
+++ b/dcaedt_be/pom.xml
@@ -154,6 +154,38 @@
</dependency>
</dependencies>
</profile>
+ <profile>
+ <id>docker</id>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-resources-plugin</artifactId>
+ <version>3.0.2</version>
+ <executions>
+ <execution>
+ <id>copy-dcae-be-war</id>
+ <phase>validate</phase>
+ <goals>
+ <goal>copy-resources</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>${project.parent.basedir}/docker/docker_be/target</outputDirectory>
+ <resources>
+ <resource>
+ <directory>${project.basedir}/target</directory>
+ <includes>
+ <include>dcae.war</include>
+ </includes>
+ </resource>
+ </resources>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+
</profiles>
<build>
<finalName>dcae</finalName>