aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/dist/sdc-onboard-db-init-docker/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'openecomp-be/dist/sdc-onboard-db-init-docker/pom.xml')
-rw-r--r--openecomp-be/dist/sdc-onboard-db-init-docker/pom.xml31
1 files changed, 29 insertions, 2 deletions
diff --git a/openecomp-be/dist/sdc-onboard-db-init-docker/pom.xml b/openecomp-be/dist/sdc-onboard-db-init-docker/pom.xml
index e4ea7a7859..7ceb47082e 100644
--- a/openecomp-be/dist/sdc-onboard-db-init-docker/pom.xml
+++ b/openecomp-be/dist/sdc-onboard-db-init-docker/pom.xml
@@ -3,7 +3,6 @@
<modelVersion>4.0.0</modelVersion>
<name>openecomp-sdc-docker-db-init</name>
- <groupId>org.openecomp.sdc</groupId>
<artifactId>openecomp-sdc-docker-db-init</artifactId>
<packaging>pom</packaging>
@@ -27,6 +26,34 @@
<build>
<plugins>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-clean-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>clean-docker-artifacts</id>
+ <phase>clean</phase>
+ <goals>
+ <goal>clean</goal>
+ </goals>
+ <configuration>
+ <filesets>
+ <fileset>
+ <directory>
+ artifacts
+ </directory>
+ <followSymlinks>false</followSymlinks>
+ <includes>
+ <include>init_keyspaces.cql</include>
+ <include>init_schemas.cql</include>
+ <include>upgrade-scripts/**</include>
+ </includes>
+ </fileset>
+ </filesets>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>3.0.2</version>
<executions>
@@ -46,7 +73,7 @@
<includes>
<include>init_keyspaces.cql</include>
<include>init_schemas.cql</include>
- <include>alter_tables.cql</include>
+ <include>upgrade-scripts/**</include>
</includes>
</resource>
</resources>