summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2022-05-14 20:43:57 +0200
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2022-05-18 21:45:51 +0200
commitd383b6af1cec499a91168e3a75bfdf4f87d650c2 (patch)
treeddf7dd01f03ed53446ce0f728974a4264fabe318
parentdca6e52695378e54e6661e92ba0849b6b37cf9cd (diff)
KB119 POM: Extend resource exclusion list.
Change-Id: If0c9bb286ccfe05bc1911dda6ebcfd895dc71e59
-rw-r--r--pom.xml28
1 files changed, 8 insertions, 20 deletions
diff --git a/pom.xml b/pom.xml
index bd45380..b4ed900 100644
--- a/pom.xml
+++ b/pom.xml
@@ -328,25 +328,6 @@
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>${resources-plugin.version}</version>
- <executions>
- <execution>
- <id>copy-resources</id>
- <phase>prepare-package</phase>
- <goals>
- <goal>copy-resources</goal>
- </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>
- <filtering>false</filtering>
- </resource>
- </resources>
- </configuration>
- </execution>
- </executions>
</plugin>
<!-- Liquibase -->
@@ -448,12 +429,19 @@
<resources>
<resource>
- <directory>src/main/resources</directory>
+ <targetPath>META-INF/resources</targetPath>
+ <directory>${project.basedir}/src/main/resources/META-INF/resources/dist</directory>
+ <filtering>false</filtering>
+ </resource>
+ <resource>
+ <directory>${project.basedir}/src/main/resources</directory>
<excludes>
<exclude>META-INF/resources/.cache</exclude>
<exclude>META-INF/resources/.eslintrc.js</exclude>
<exclude>META-INF/resources/.flowconfig</exclude>
<exclude>META-INF/resources/.parcel-cache/**/*</exclude>
+ <exclude>META-INF/resources/build/**/*</exclude>
+ <exclude>META-INF/resources/cms2/fonts/**/*</exclude>
<exclude>META-INF/resources/dist/**/*</exclude>
<exclude>META-INF/resources/node_modules/**/*</exclude>
<exclude>META-INF/resources/web_modules/**/*</exclude>