fix pom

Add clean

Change-Id: I0f40bd987fa4941b013092c9cbc1ab332a46b9a2
Issue-ID: SDC-1339
Signed-off-by: Areli, Fuss (af732p) <af732p@att.com>
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>