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.3-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>
49 <directory>${basedir}</directory>
51 <include>jenkinsConfig.json</include>
63 <artifactId>maven-antrun-plugin</artifactId>
66 <id>create-reporting-folders</id>
67 <phase>generate-sources</phase>
70 <echo message="Generate reports and downloads folders"/>
71 <mkdir dir="${basedir}/report"/>
72 <mkdir dir="${basedir}/resources/downloads"/>
82 <!-- ============================================= -->
83 <!-- Build the UI module node code -->
84 <!-- ============================================= -->
86 <groupId>com.github.eirslett</groupId>
87 <artifactId>frontend-maven-plugin</artifactId>
88 <version>1.6</version>
91 <installDirectory>${project.parent.parent.basedir}</installDirectory>
97 <id>install node and yarn</id>
99 <goal>install-node-and-yarn</goal>
102 <nodeVersion>v9.4.0</nodeVersion>
103 <yarnVersion>v1.3.2</yarnVersion>
108 <id>yarn run install</id>
113 <arguments>install</arguments>
117 <id>yarn run cucumber docs</id>
122 <yarnInheritsProxyConfigFromMaven>false</yarnInheritsProxyConfigFromMaven>
123 <arguments>run cucumber-docs</arguments>
128 <id>yarn run cucumber test</id>
133 <yarnInheritsProxyConfigFromMaven>false</yarnInheritsProxyConfigFromMaven>
134 <arguments>run test-and-report</arguments>
144 <artifactId>maven-resources-plugin</artifactId>
145 <version>2.6</version>
149 <phase>validate</phase>
151 <goal>copy-resources</goal>
154 <outputDirectory>${basedir}</outputDirectory>
157 <directory>${basedir}/resources</directory>
159 <include>jenkinsConfig.json</include>
161 <filtering>true</filtering>