KB56 Fix resource copy step.
The Maven Resources Plugin defaulted to not overwriting files that
were already present in the target if they had a newer modification
timestamp. This led to unpredictable behavior during the packaging
phase, where the resources generated by Parcel did not override the
original source files.
This patch sets the overwrite flag when copying the generated
resources, fixing the problem.
Change-Id: I047f5eb7d56e4444233ec12d94be43a12137010b
diff --git a/pom.xml b/pom.xml
index 29e987f..9e3411a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -284,6 +284,7 @@
</goals>
<configuration>
<outputDirectory>${basedir}/target/classes/META-INF/resources</outputDirectory>
+ <overwrite>true</overwrite>
<resources>
<resource>
<directory>${basedir}/src/main/resources/META-INF/resources/dist</directory>
@@ -306,7 +307,7 @@
<dependencies>
<dependency>
<groupId>org.liquibase.ext</groupId>
- <artifactId>liquibase-hibernate5</artifactId> <!-- note: I tried hibernate4 release version as well -->
+ <artifactId>liquibase-hibernate5</artifactId>
<version>${liquibase.version}</version>
</dependency>
<dependency>