diff options
author | waynedunican <wayne.dunican@est.tech> | 2020-09-21 09:19:42 +0100 |
---|---|---|
committer | waynedunican <wayne.dunican@est.tech> | 2020-10-02 09:06:00 +0100 |
commit | 51b0c6c9b06d97d007d99cdcd8651a97b0b792df (patch) | |
tree | 4388fe094039c59c6391ac30bd20be58697a5385 /gui-editors/gui-editor-apex/pom.xml | |
parent | 33c9f2c07083f2f94f909a27f406da2744c4158f (diff) |
JS Testing added for apex-editor
Last apex-editor/pom.xml change to exclude the /dist folder
Issue-ID: POLICY-2783
Change-Id: I076aac4e503c7e5f2ea39fa9291153be4b119808
Signed-off-by: waynedunican <wayne.dunican@est.tech>
Diffstat (limited to 'gui-editors/gui-editor-apex/pom.xml')
-rw-r--r-- | gui-editors/gui-editor-apex/pom.xml | 41 |
1 files changed, 11 insertions, 30 deletions
diff --git a/gui-editors/gui-editor-apex/pom.xml b/gui-editors/gui-editor-apex/pom.xml index 5cb3036..019e4dd 100644 --- a/gui-editors/gui-editor-apex/pom.xml +++ b/gui-editors/gui-editor-apex/pom.xml @@ -185,6 +185,9 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> + <configuration> + <overwrite>true</overwrite> + </configuration> <executions> <execution> <id>Copy frontend build to target</id> @@ -225,36 +228,6 @@ </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-dependency-plugin</artifactId> - <executions> - <execution> - <id>unpack-shared-resources</id> - <goals> - <goal>unpack-dependencies</goal> - </goals> - <phase>generate-resources</phase> - <configuration> - <outputDirectory>${project.build.directory}/classes/webapp</outputDirectory> - <!--use as much as needed to be specific...also scope,type,classifier etc--> - <includeArtifacIds>apex-client-common</includeArtifacIds> - <includeGroupIds>org.onap.policy.apex-pdp.client</includeGroupIds> - <excludeTransitive>true</excludeTransitive> - <excludeTransitive>true</excludeTransitive> - <excludeTypes>jar</excludeTypes> - <includeTypes>zip</includeTypes> - </configuration> - </execution> - </executions> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-resources-plugin</artifactId> - <configuration> - <overwrite>true</overwrite> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <configuration> <excludes> @@ -312,6 +285,14 @@ <exclude>META-INF/*.SF</exclude> <exclude>META-INF/*.DSA</exclude> <exclude>META-INF/*.RSA</exclude> + <exclude>webapp/package-lock.json</exclude> + <exclude>webapp/package.json</exclude> + <exclude>webapp/.babelrc</exclude> + <exclude>webapp/.gitignore</exclude> + <exclude>webapp/webpack.config.js</exclude> + <exclude>webapp/dist/</exclude> + <exclude>webapp/js/Apex*.js</exclude> + <exclude>webapp/js/__test__/</exclude> </excludes> </filter> </filters> |