diff options
-rw-r--r-- | gui-editors/gui-editor-apex/pom.xml | 38 |
1 files changed, 12 insertions, 26 deletions
diff --git a/gui-editors/gui-editor-apex/pom.xml b/gui-editors/gui-editor-apex/pom.xml index 61ea8af..905ad47 100644 --- a/gui-editors/gui-editor-apex/pom.xml +++ b/gui-editors/gui-editor-apex/pom.xml @@ -135,6 +135,18 @@ <build> <defaultGoal>install</defaultGoal> <outputDirectory>${project.build.directory}/classes</outputDirectory> + <resources> + <resource> + <directory>src/main/resources</directory> + <excludes> + <exclude>webapp/node/**</exclude> + <exclude>webapp/node_modules/**</exclude> + <exclude>webapp/webpack.config.js</exclude> + <exclude>webapp/package.json</exclude> + <exclude>webapp/package-lock.json</exclude> + </excludes> + </resource> + </resources> <plugins> <plugin> <groupId>com.github.eirslett</groupId> @@ -185,32 +197,6 @@ </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-resources-plugin</artifactId> - <version>3.1.0</version> - <configuration> - <overwrite>true</overwrite> - </configuration> - <executions> - <execution> - <id>Copy frontend build to target</id> - <phase>prepare-package</phase> - <goals> - <goal>copy-resources</goal> - </goals> - <configuration> - <outputDirectory>${project.build.directory}/classes/webapp</outputDirectory> - <resources> - <resource> - <directory>${webapp.dir}/dist</directory> - <filtering>false</filtering> - </resource> - </resources> - </configuration> - </execution> - </executions> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-clean-plugin</artifactId> <version>3.0.0</version> <configuration> |