blob: ee6d32dd9a73ade1cd045fda90b5ae3beb0db307 [file] [log] [blame]
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.openecomp.sdc</groupId>
<artifactId>sdc-main</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>
<groupId>org.openecomp.sdc.onboarding</groupId>
<artifactId>onboarding-fe</artifactId>
<name>onboarding-ui-war</name>
<packaging>war</packaging>
<build>
<plugins>
<plugin>
<groupId>io.wcm.maven.plugins</groupId>
<artifactId>nodejs-maven-plugin</artifactId>
<executions>
<execution>
<phase>compile</phase>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
<configuration>
<tasks>
<npmInstallTask>
<workingDirectory>${session.executionRootDirectory}/dox-sequence-diagram-ui</workingDirectory>
</npmInstallTask>
<nodeJsTask>
<workingDirectory>${session.executionRootDirectory}/dox-sequence-diagram-ui</workingDirectory>
<moduleName>webpack</moduleName>
</nodeJsTask>
<npmInstallTask>
<workingDirectory>${project.basedir}</workingDirectory>
</npmInstallTask>
<nodeJsTask>
<workingDirectory>${project.basedir}</workingDirectory>
<moduleName>gulp</moduleName>
<arguments>
<argument>build</argument>
</arguments>
</nodeJsTask>
</tasks>
</configuration>
</plugin>
<plugin>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<webXml>webapp-onboarding\WEB-INF\web.xml</webXml>
</configuration>
</plugin>
</plugins>
</build>
</project>