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 <groupId>org.openecomp.sdc</groupId>
7 <artifactId>workflow-cucumber</artifactId>
8 <name>cucumber-report</name>
9 <version>1.6.4-SNAPSHOT</version>
14 <artifactId>maven-clean-plugin</artifactId>
15 <version>2.6.1</version>
18 <id>clean.dist.folder</id>
26 <directory>${basedir}/report</directory>
28 <include>**/*</include>
32 <directory>${basedir}/resources/downloads</directory>
34 <include>**/*</include>
38 <directory>${basedir}/docs</directory>
40 <include>**/*</include>
44 <directory>${basedir}</directory>
46 <include>jenkinsConfig.json</include>
58 <artifactId>maven-antrun-plugin</artifactId>
61 <id>create-reporting-folders</id>
62 <phase>generate-sources</phase>
65 <echo message="Generate reports and downloads folders"/>
66 <mkdir dir="${basedir}/report"/>
67 <mkdir dir="${basedir}/resources/downloads"/>
77 <!-- ============================================= -->
78 <!-- Build the UI module node code -->
79 <!-- ============================================= -->
81 <groupId>com.github.eirslett</groupId>
82 <artifactId>frontend-maven-plugin</artifactId>
83 <version>1.8.0</version>
86 <installDirectory>${project.parent.parent.basedir}</installDirectory>
92 <id>install node and yarn</id>
94 <goal>install-node-and-yarn</goal>
97 <nodeVersion>v10.17.0</nodeVersion>
98 <yarnVersion>v1.19.1</yarnVersion>
103 <id>yarn run install</id>
108 <arguments>install</arguments>
112 <id>yarn run cucumber docs</id>
117 <yarnInheritsProxyConfigFromMaven>false</yarnInheritsProxyConfigFromMaven>
118 <arguments>run cucumber-docs</arguments>
123 <id>yarn run cucumber test</id>
128 <yarnInheritsProxyConfigFromMaven>false</yarnInheritsProxyConfigFromMaven>
129 <arguments>run test-and-report</arguments>
139 <artifactId>maven-resources-plugin</artifactId>
140 <version>2.6</version>
144 <phase>validate</phase>
146 <goal>copy-resources</goal>
149 <outputDirectory>${basedir}</outputDirectory>
152 <directory>${basedir}/resources</directory>
154 <include>jenkinsConfig.json</include>
156 <filtering>true</filtering>