SDNR Fix odlux unstable build problem 67/89567/1
authorHerbert Eiselt <herbert.eiselt@highstreet-technologies.com>
Fri, 7 Jun 2019 08:36:11 +0000 (10:36 +0200)
committerHerbert Eiselt <herbert.eiselt@highstreet-technologies.com>
Fri, 7 Jun 2019 08:36:35 +0000 (10:36 +0200)
Remove node_modules with symlinks

Issue-ID: SDNC-792
Signed-off-by: Herbert Eiselt <herbert.eiselt@highstreet-technologies.com>
Change-Id: Iebf0b9b8be3bf60eb493e04fa7135ed166013259

sdnr/wt/odlux/pom.xml

index 4998fc8..5c7cb62 100644 (file)
         <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>