summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2020-09-11 10:10:50 +0200
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2020-09-11 10:10:50 +0200
commit652bd2cd359acc81dd4c734ef49b9e3fd2168306 (patch)
treef08abb93cba6b171d62015a5e5f50a8cbd1aba69
parent653eaa798fff0061816df7fd5992b945528911e9 (diff)
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
-rw-r--r--pom.xml3
1 files changed, 2 insertions, 1 deletions
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>