blob: 400ad9a5336654c3de139a0e6ee9fed7b3e57ddf [file] [log] [blame]
Michael Landoefa037d2017-02-19 12:57:33 +02001<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
ml636r5d2f54c2017-02-19 23:56:00 +02002 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
Michael Landoefa037d2017-02-19 12:57:33 +02003 <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>
ml636r452cb5b2017-02-26 16:56:52 +020014 <packaging>pom</packaging>
Michael Landoefa037d2017-02-19 12:57:33 +020015
ml636r72e56e42017-02-27 12:36:59 +020016 <properties>
17 <sonar.skip>true</sonar.skip>
18 </properties>
19
Michael Landoefa037d2017-02-19 12:57:33 +020020 <build>
21 <plugins>
ml636r5d2f54c2017-02-19 23:56:00 +020022
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>
ml636r5d2f54c2017-02-19 23:56:00 +020036 <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
Michael Landoefa037d2017-02-19 12:57:33 +020058 <plugin>
ml636r452cb5b2017-02-26 16:56:52 +020059 <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>
Michael Landoefa037d2017-02-19 12:57:33 +0200101 <artifactId>maven-war-plugin</artifactId>
102 <configuration>
103 <webXml>webapp-onboarding\WEB-INF\web.xml</webXml>
104 </configuration>
ml636r452cb5b2017-02-26 16:56:52 +0200105 </plugin> -->
Michael Landoefa037d2017-02-19 12:57:33 +0200106 </plugins>
107 </build>
108
Michael Landoefa037d2017-02-19 12:57:33 +0200109</project>