1 <project xmlns="http://maven.apache.org/POM/4.0.0"
2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4 <modelVersion>4.0.0</modelVersion>
6 <artifactId>onboarding-cucumber</artifactId>
7 <name>cucumber-report</name>
10 <groupId>org.openecomp.sdc</groupId>
11 <artifactId>sdc-onboarding</artifactId>
12 <version>1.3.1-SNAPSHOT</version>
13 <relativePath>../onboarding/pom.xml</relativePath>
19 <artifactId>maven-clean-plugin</artifactId>
20 <version>2.6.1</version>
23 <id>clean.dist.folder</id>
31 <directory>${basedir}/report</directory>
33 <include>**/*</include>
37 <directory>${basedir}/resources/downloads</directory>
39 <include>**/*</include>
43 <directory>${basedir}/docs</directory>
45 <include>**/*</include>
56 <artifactId>maven-antrun-plugin</artifactId>
59 <id>create-reporting-folders</id>
60 <phase>generate-sources</phase>
63 <echo message="Generate reports and downloads folders"/>
64 <mkdir dir="${basedir}/report"/>
65 <mkdir dir="${basedir}/resources/downloads"/>
75 <!-- ============================================= -->
76 <!-- Build the UI module node code -->
77 <!-- ============================================= -->
79 <groupId>com.github.eirslett</groupId>
80 <artifactId>frontend-maven-plugin</artifactId>
81 <version>1.6</version>
84 <installDirectory>${project.parent.parent.basedir}</installDirectory>
90 <id>install node and yarn</id>
92 <goal>install-node-and-yarn</goal>
95 <nodeVersion>v9.4.0</nodeVersion>
96 <yarnVersion>v1.3.2</yarnVersion>
101 <id>yarn run install</id>
106 <arguments>install</arguments>
110 <id>yarn run cucumber docs</id>
115 <yarnInheritsProxyConfigFromMaven>false</yarnInheritsProxyConfigFromMaven>
116 <arguments>run cucumber-docs</arguments>
121 <id>yarn run cucumber test</id>
126 <yarnInheritsProxyConfigFromMaven>false</yarnInheritsProxyConfigFromMaven>
127 <arguments>run test-and-report</arguments>