diff options
author | Areli, Fuss (af732p) <af732p@att.com> | 2018-05-17 20:15:19 +0300 |
---|---|---|
committer | Areli, Fuss (af732p) <af732p@att.com> | 2018-05-21 15:01:06 +0300 |
commit | a808ee1242564d7237e1dbec9336fd665d517dda (patch) | |
tree | 226be2d49e4917e866739d7ccca10af0949db67d /dcaedt_be | |
parent | 97aa2fa33ed0ea02e3226adb57e9d5864658aa20 (diff) |
fix pom
Add clean
Change-Id: I0f40bd987fa4941b013092c9cbc1ab332a46b9a2
Issue-ID: SDC-1339
Signed-off-by: Areli, Fuss (af732p) <af732p@att.com>
Diffstat (limited to 'dcaedt_be')
-rw-r--r-- | dcaedt_be/pom.xml | 27 |
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> |