summaryrefslogtreecommitdiffstats
path: root/dcaedt_be
diff options
context:
space:
mode:
Diffstat (limited to 'dcaedt_be')
-rw-r--r--dcaedt_be/pom.xml27
1 files changed, 25 insertions, 2 deletions
diff --git a/dcaedt_be/pom.xml b/dcaedt_be/pom.xml
index c5acbe6..ca5f8dd 100644
--- a/dcaedt_be/pom.xml
+++ b/dcaedt_be/pom.xml
@@ -169,13 +169,36 @@
<id>docker</id>
<build>
<plugins>
+ <plugin>
+ <artifactId>maven-clean-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>delete dcae be war</id>
+ <phase>clean</phase>
+ <goals>
+ <goal>clean</goal>
+ </goals>
+ <configuration>
+ <filesets>
+ <fileset>
+ <directory>${project.parent.basedir}/docker/docker_be/target</directory>
+ <followSymlinks>false</followSymlinks>
+ <includes>
+ <include>*.war</include>
+ </includes>
+ </fileset>
+ </filesets>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>3.0.2</version>
<executions>
<execution>
<id>copy-dcae-be-war</id>
- <phase>prepare-package</phase>
+ <phase>install</phase>
<goals>
<goal>copy-resources</goal>
</goals>
@@ -238,7 +261,7 @@
</execution>
<execution>
<id>generate-images</id>
- <phase>package</phase>
+ <phase>install</phase>
<goals>
<goal>build</goal>
</goals>