aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHerbert Eiselt <herbert.eiselt@highstreet-technologies.com>2019-06-07 10:36:11 +0200
committerHerbert Eiselt <herbert.eiselt@highstreet-technologies.com>2019-06-07 10:36:35 +0200
commit1445dabe9bc28629077033e2f189ad05dc61b884 (patch)
tree4dd58a0c6a551ee244b62e9e87e6dee066976940
parent63c4144c0664db9ea526c0608a30b47de80eed86 (diff)
SDNR Fix odlux unstable build problem
Remove node_modules with symlinks Issue-ID: SDNC-792 Signed-off-by: Herbert Eiselt <herbert.eiselt@highstreet-technologies.com> Change-Id: Iebf0b9b8be3bf60eb493e04fa7135ed166013259
-rw-r--r--sdnr/wt/odlux/pom.xml25
1 files changed, 25 insertions, 0 deletions
diff --git a/sdnr/wt/odlux/pom.xml b/sdnr/wt/odlux/pom.xml
index 4998fc859..5c7cb621d 100644
--- a/sdnr/wt/odlux/pom.xml
+++ b/sdnr/wt/odlux/pom.xml
@@ -34,4 +34,29 @@
<module>apps/app-installer</module>
</modules>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>exec-maven-plugin</artifactId>
+ <groupId>org.codehaus.mojo</groupId>
+ <executions>
+ <execution><!-- Run our version calculation script -->
+ <id>Clean node and node_modules</id>
+ <phase>package</phase>
+ <goals>
+ <goal>exec</goal>
+ </goals>
+ <configuration>
+ <executable>rm</executable>
+ <arguments>
+ <argument>-r</argument>
+ <argument>node_modules</argument>
+ </arguments>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+
</project>