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.2.0-SNAPSHOT</version>
12 <groupId>org.onap.sdc.sdc-workflow-designer</groupId>
13 <artifactId>sdc-workflow-designer</artifactId>
14 <version>1.2.0-SNAPSHOT</version>
20 <artifactId>maven-clean-plugin</artifactId>
21 <version>2.6.1</version>
24 <id>clean.dist.folder</id>
32 <directory>${basedir}/report</directory>
34 <include>**/*</include>
38 <directory>${basedir}/resources/downloads</directory>
40 <include>**/*</include>
44 <directory>${basedir}/docs</directory>
46 <include>**/*</include>
50 <directory>${basedir}</directory>
52 <include>jenkinsConfig.json</include>
64 <artifactId>maven-antrun-plugin</artifactId>
67 <id>create-reporting-folders</id>
68 <phase>generate-sources</phase>
71 <echo message="Generate reports and downloads folders"/>
72 <mkdir dir="${basedir}/report"/>
73 <mkdir dir="${basedir}/resources/downloads"/>
83 <!-- ============================================= -->
84 <!-- Build the UI module node code -->
85 <!-- ============================================= -->
87 <groupId>com.github.eirslett</groupId>
88 <artifactId>frontend-maven-plugin</artifactId>
89 <version>1.6</version>
92 <installDirectory>${project.parent.parent.basedir}</installDirectory>
98 <id>install node and yarn</id>
100 <goal>install-node-and-yarn</goal>
103 <nodeVersion>v9.4.0</nodeVersion>
104 <yarnVersion>v1.3.2</yarnVersion>
109 <id>yarn run install</id>
114 <arguments>install</arguments>
118 <id>yarn run cucumber docs</id>
123 <yarnInheritsProxyConfigFromMaven>false</yarnInheritsProxyConfigFromMaven>
124 <arguments>run cucumber-docs</arguments>
129 <id>yarn run cucumber test</id>
134 <yarnInheritsProxyConfigFromMaven>false</yarnInheritsProxyConfigFromMaven>
135 <arguments>run test-and-report</arguments>
145 <artifactId>maven-resources-plugin</artifactId>
146 <version>2.6</version>
150 <phase>validate</phase>
152 <goal>copy-resources</goal>
155 <outputDirectory>${basedir}</outputDirectory>
158 <directory>${basedir}/resources</directory>
160 <include>jenkinsConfig.json</include>
162 <filtering>true</filtering>