blob: 579e1f79eba0c51bec4858f4a7a0d4a661aa401f [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
Michael Landoefa037d2017-02-19 12:57:33 +020016 <build>
17 <plugins>
ml636r5d2f54c2017-02-19 23:56:00 +020018
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>
ml636r5d2f54c2017-02-19 23:56:00 +020032 <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
Michael Landoefa037d2017-02-19 12:57:33 +020054 <plugin>
ml636r452cb5b2017-02-26 16:56:52 +020055 <groupId>com.coderplus.maven.plugins</groupId>
56 <artifactId>copy-rename-maven-plugin</artifactId>
57 <version>1.0</version>
58 <executions>
59 <execution>
60 <id>copy-file</id>
61 <phase>compile</phase>
62 <goals>
63 <goal>copy</goal>
64 </goals>
65 <configuration>
66 <sourceFile>${project.basedir}/dist/onboarding.war</sourceFile>
67 <destinationFile>${project.basedir}/target/onboarding-fe-${project.version}.war</destinationFile>
68 </configuration>
69 </execution>
70 </executions>
71 </plugin>
72
73 <plugin>
74 <groupId>org.codehaus.mojo</groupId>
75 <artifactId>build-helper-maven-plugin</artifactId>
76 <version>1.7</version>
77 <executions>
78 <execution>
79 <id>attach-artifacts</id>
80 <phase>compile</phase>
81 <goals>
82 <goal>attach-artifact</goal>
83 </goals>
84 <configuration>
85 <artifacts>
86 <artifact>
87 <file>${project.basedir}/target/onboarding-fe-${project.version}.war</file>
88 <type>war</type>
89 </artifact>
90 </artifacts>
91 </configuration>
92 </execution>
93 </executions>
94 </plugin>
95
96<!-- <plugin>
Michael Landoefa037d2017-02-19 12:57:33 +020097 <artifactId>maven-war-plugin</artifactId>
98 <configuration>
99 <webXml>webapp-onboarding\WEB-INF\web.xml</webXml>
100 </configuration>
ml636r452cb5b2017-02-26 16:56:52 +0200101 </plugin> -->
Michael Landoefa037d2017-02-19 12:57:33 +0200102 </plugins>
103 </build>
104
Michael Landoefa037d2017-02-19 12:57:33 +0200105</project>