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> |
ml636r | 452cb5b | 2017-02-26 16:56:52 +0200 | [diff] [blame] | 14 | <packaging>pom</packaging> |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 15 | |
ml636r | 72e56e4 | 2017-02-27 12:36:59 +0200 | [diff] [blame] | 16 | <properties> |
| 17 | <sonar.skip>true</sonar.skip> |
| 18 | </properties> |
| 19 | |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 20 | <build> |
| 21 | <plugins> |
ml636r | 5d2f54c | 2017-02-19 23:56:00 +0200 | [diff] [blame] | 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> |
ml636r | 5d2f54c | 2017-02-19 23:56:00 +0200 | [diff] [blame] | 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 | |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 58 | <plugin> |
ml636r | 452cb5b | 2017-02-26 16:56:52 +0200 | [diff] [blame] | 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> |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 101 | <artifactId>maven-war-plugin</artifactId> |
| 102 | <configuration> |
| 103 | <webXml>webapp-onboarding\WEB-INF\web.xml</webXml> |
| 104 | </configuration> |
ml636r | 452cb5b | 2017-02-26 16:56:52 +0200 | [diff] [blame] | 105 | </plugin> --> |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 106 | </plugins> |
| 107 | </build> |
| 108 | |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 109 | </project> |