Ignore node_modules in Maven and Gradle.
Change-Id: I7190cdddf4c3215caffb61fe441a0ff2329919cf
diff --git a/build.gradle b/build.gradle
index 7f9b905..4a27788 100644
--- a/build.gradle
+++ b/build.gradle
@@ -105,4 +105,8 @@
doLast {}
}
+processResources {
+ exclude("META-INF/resources/node_modules/**/*")
+}
+
build.dependsOn compileWeb
diff --git a/pom.xml b/pom.xml
index 2a42a29..77eb2cc 100644
--- a/pom.xml
+++ b/pom.xml
@@ -289,6 +289,16 @@
</plugin>
</plugins>
+ <resources>
+ <resource>
+ <directory>src/main/resources</directory>
+ <excludes>
+ <exclude>META-INF/resources/node_modules/**/*</exclude>
+ </excludes>
+ <filtering>false</filtering>
+ </resource>
+ </resources>
+
</build>
<profiles>