Merge "Fix UI and docker"
[sdc.git] / openecomp-ui / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3         <modelVersion>4.0.0</modelVersion>
4
5         <parent>
6                 <groupId>org.openecomp.sdc</groupId>
7                 <artifactId>sdc-main</artifactId>
8                 <version>1.0.0-SNAPSHOT</version>
9         </parent>
10
11         <groupId>org.openecomp.sdc.onboarding</groupId>
12         <artifactId>onboarding-fe</artifactId>
13         <name>onboarding-ui-war</name>
14
15         <packaging>war</packaging>
16         <build>
17                 <plugins>
18
19
20                         <plugin>
21                                 <groupId>io.wcm.maven.plugins</groupId>
22                                 <artifactId>nodejs-maven-plugin</artifactId>
23                                 <executions>
24                                         <execution>
25                                                 <phase>compile</phase>
26                                                 <goals>
27                                                         <goal>run</goal>
28                                                 </goals>
29                                         </execution>
30                                 </executions>
31                                 <configuration>
32                                         <tasks>
33                                                 <npmInstallTask>
34                                                         <workingDirectory>${session.executionRootDirectory}/dox-sequence-diagram-ui</workingDirectory>
35                                                 </npmInstallTask>
36                                                 <nodeJsTask>
37                                                         <workingDirectory>${session.executionRootDirectory}/dox-sequence-diagram-ui</workingDirectory>
38                                                         <moduleName>webpack</moduleName>
39                                                 </nodeJsTask>
40                                                 <npmInstallTask>
41                                                         <workingDirectory>${project.basedir}</workingDirectory>
42                                                 </npmInstallTask>
43                                                 <nodeJsTask>
44                                                         <workingDirectory>${project.basedir}</workingDirectory>
45                                                         <moduleName>gulp</moduleName>
46                                                         <arguments>
47                                                                 <argument>build</argument>
48                                                         </arguments>
49                                                 </nodeJsTask>
50                                         </tasks>
51                                 </configuration>
52                         </plugin>
53
54                         <plugin>
55                                 <artifactId>maven-war-plugin</artifactId>
56                                 <configuration>
57                                         <webXml>webapp-onboarding\WEB-INF\web.xml</webXml>
58                                 </configuration>
59                         </plugin>
60                 </plugins>
61         </build>
62
63 </project>