update pom version + change version file
[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.1.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         <packaging>pom</packaging>
15
16         <properties>
17                 <sonar.skip>true</sonar.skip>
18         </properties>
19
20         <build>
21                 <plugins>
22
23
24                         <plugin>
25                                 <groupId>io.wcm.maven.plugins</groupId>
26                                 <artifactId>nodejs-maven-plugin</artifactId>
27                                 <executions>
28                                         <execution>
29                                                 <phase>compile</phase>
30                                                 <goals>
31                                                         <goal>run</goal>
32                                                 </goals>
33                                         </execution>
34                                 </executions>
35                                 <configuration>
36                                         <tasks>
37                                                 <npmInstallTask>
38                                                         <workingDirectory>${session.executionRootDirectory}/dox-sequence-diagram-ui</workingDirectory>
39                                                 </npmInstallTask>
40                                                 <nodeJsTask>
41                                                         <workingDirectory>${session.executionRootDirectory}/dox-sequence-diagram-ui</workingDirectory>
42                                                         <moduleName>webpack</moduleName>
43                                                 </nodeJsTask>
44                                                 <npmInstallTask>
45                                                         <workingDirectory>${project.basedir}</workingDirectory>
46                                                 </npmInstallTask>
47                                                 <nodeJsTask>
48                                                         <workingDirectory>${project.basedir}</workingDirectory>
49                                                         <moduleName>gulp</moduleName>
50                                                         <arguments>
51                                                                 <argument>build</argument>
52                                                         </arguments>
53                                                 </nodeJsTask>
54                                         </tasks>
55                                 </configuration>
56                         </plugin>
57
58                         <plugin>
59         <groupId>com.coderplus.maven.plugins</groupId>
60         <artifactId>copy-rename-maven-plugin</artifactId>
61         <version>1.0</version>
62         <executions>
63           <execution>
64             <id>copy-file</id>
65             <phase>compile</phase>
66             <goals>
67               <goal>copy</goal>
68             </goals>
69             <configuration>
70               <sourceFile>${project.basedir}/dist/onboarding.war</sourceFile>
71               <destinationFile>${project.basedir}/target/onboarding-fe-${project.version}.war</destinationFile>
72             </configuration>
73           </execution>
74         </executions>
75       </plugin>
76
77       <plugin>
78         <groupId>org.codehaus.mojo</groupId>
79         <artifactId>build-helper-maven-plugin</artifactId>
80         <version>1.7</version>
81         <executions>
82                 <execution>
83                         <id>attach-artifacts</id>
84                         <phase>compile</phase>
85                         <goals>
86                                 <goal>attach-artifact</goal>
87                         </goals>
88                         <configuration>
89                                 <artifacts>
90                                         <artifact>
91                                                 <file>${project.basedir}/target/onboarding-fe-${project.version}.war</file>
92                                                 <type>war</type>                           
93                                         </artifact>
94                                 </artifacts>
95                         </configuration>
96                 </execution>
97         </executions>
98       </plugin>
99
100 <!--                    <plugin>
101                                 <artifactId>maven-war-plugin</artifactId>
102                                 <configuration>
103                                         <webXml>webapp-onboarding\WEB-INF\web.xml</webXml>
104                                 </configuration>
105                         </plugin> -->
106                 </plugins>
107         </build>
108
109 </project>