Author: tchemit Date: 2011-08-18 15:05:42 +0200 (Thu, 18 Aug 2011) New Revision: 1147 Url: http://nuiton.org/repositories/revision/mavenpom/1147 Log: Evolution #1683: Create the surefire-workdir in the build before tests Modified: trunk/pom.xml Modified: trunk/pom.xml =================================================================== --- trunk/pom.xml 2011-08-16 23:11:47 UTC (rev 1146) +++ trunk/pom.xml 2011-08-18 13:05:42 UTC (rev 1147) @@ -489,8 +489,27 @@ <plugins> + <!-- http://nuiton.org/issues/1683 : creates the surefire-workdir --> <plugin> + <artifactId>maven-antrun-plugin</artifactId> + <executions> + <execution> + <id>generate-surefire-workdir</id> + <phase>generate-test-sources</phase> + <configuration> + <target> + <mkdir dir="${basedir}/target/surefire-workdir"/> + </target> + </configuration> + <goals> + <goal>run</goal> + </goals> + </execution> + </executions> + </plugin> + <plugin> + <artifactId>maven-enforcer-plugin</artifactId> <executions> <execution>