BDD: tests fail if report folder is missing 81/49481/2
authordfx1971 <avi.ziv@amdocs.com>
Wed, 30 May 2018 12:14:22 +0000 (15:14 +0300)
committerEinav Keidar <einavw@amdocs.com>
Wed, 30 May 2018 15:01:18 +0000 (15:01 +0000)
Change-Id: I523f3a0a3619feace27493e3f7111bcca9e5add9
Issue-ID: SDC-1385
Signed-off-by: dfx1971 <avi.ziv@amdocs.com>
openecomp-bdd/pom.xml

index e73bb69..22abfe9 100644 (file)
                 </executions>
             </plugin>
 
+
+            <plugin>
+                <artifactId>maven-antrun-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>create-reporting-folders</id>
+                        <phase>generate-sources</phase>
+                        <configuration>
+                            <tasks>
+                                <echo message="Generate reports and downloads folders"/>
+                                <mkdir dir="${basedir}/report"/>
+                                <mkdir dir="${basedir}/resources/downloads"/>
+                            </tasks>
+                        </configuration>
+                        <goals>
+                            <goal>run</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+
             <!-- ============================================= -->
             <!-- Build the UI module node code -->
             <!-- ============================================= -->