Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 1 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
ml636r | 5d2f54c | 2017-02-19 23:56:00 +0200 | [diff] [blame^] | 2 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 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> |
ml636r | 5d2f54c | 2017-02-19 23:56:00 +0200 | [diff] [blame^] | 16 | <repositories> |
| 17 | <repository> |
| 18 | <id>node</id> |
| 19 | <name>Node</name> |
| 20 | <url>https://maven-nodejs-proxy.pvtool.org/</url> |
| 21 | </repository> |
| 22 | </repositories> |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 23 | <build> |
| 24 | <plugins> |
ml636r | 5d2f54c | 2017-02-19 23:56:00 +0200 | [diff] [blame^] | 25 | |
| 26 | |
| 27 | <plugin> |
| 28 | <groupId>io.wcm.maven.plugins</groupId> |
| 29 | <artifactId>nodejs-maven-plugin</artifactId> |
| 30 | <executions> |
| 31 | <execution> |
| 32 | <phase>compile</phase> |
| 33 | <goals> |
| 34 | <goal>run</goal> |
| 35 | </goals> |
| 36 | </execution> |
| 37 | </executions> |
| 38 | <configuration> |
| 39 | <npmVersion>4.3.0</npmVersion> |
| 40 | <nodeJsVersion>7.5.0</nodeJsVersion> |
| 41 | <nodeJsDirectory>/tmp/nodejs</nodeJsDirectory> |
| 42 | <tasks> |
| 43 | <npmInstallTask> |
| 44 | <workingDirectory>${session.executionRootDirectory}/dox-sequence-diagram-ui</workingDirectory> |
| 45 | </npmInstallTask> |
| 46 | <nodeJsTask> |
| 47 | <workingDirectory>${session.executionRootDirectory}/dox-sequence-diagram-ui</workingDirectory> |
| 48 | <moduleName>webpack</moduleName> |
| 49 | </nodeJsTask> |
| 50 | <npmInstallTask> |
| 51 | <workingDirectory>${project.basedir}</workingDirectory> |
| 52 | </npmInstallTask> |
| 53 | <nodeJsTask> |
| 54 | <workingDirectory>${project.basedir}</workingDirectory> |
| 55 | <moduleName>gulp</moduleName> |
| 56 | <arguments> |
| 57 | <argument>build</argument> |
| 58 | </arguments> |
| 59 | </nodeJsTask> |
| 60 | </tasks> |
| 61 | </configuration> |
| 62 | </plugin> |
| 63 | |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 64 | <plugin> |
| 65 | <artifactId>maven-war-plugin</artifactId> |
| 66 | <configuration> |
| 67 | <webXml>webapp-onboarding\WEB-INF\web.xml</webXml> |
| 68 | </configuration> |
| 69 | </plugin> |
| 70 | </plugins> |
| 71 | </build> |
| 72 | |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 73 | </project> |