diff options
-rw-r--r-- | pom.xml | 28 |
1 files changed, 8 insertions, 20 deletions
@@ -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> |