I've managed to recreate the problem. mvn clean package works, but mvn clean test does not
seems to be a problem here in the *pom.xml* <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <executions> <!-- Unpack the JSP Wiki Pages --> <execution> <id>unpack-wikipages-private</id> <phase>generate-resources</phase> <goals> <goal>unpack</goal> </goals> Documentation: https://maven.apache.org/plugins/maven-dependency-plugin/unpack-mojo.html Lifecycle phases = http://maven.apache.org/ref/3.3.3//maven-core/lifecycles.html I've changed the <phase> to package, and I think that solves the problem. We always run package to create the war file so I think this is ok. I've checked this into SVN, and I think it should work. Feel free to update if you think there is a better way. Cheers, David V On Wed, Aug 5, 2015 at 5:18 AM, Dirk Frederickx <dirk.frederi...@gmail.com> wrote: > Trying to run > > mvn clean test > > > But getting this error : > > [INFO] Apache JSPWiki .................................... SUCCESS [0.678s] > > [INFO] Apache JSPWiki initial wiki pages builder ......... SUCCESS [0.021s] > > [INFO] Apache JSPWiki initial wiki pages (de) ............ SUCCESS [0.345s] > > [INFO] Apache JSPWiki initial wiki pages (en) ............ SUCCESS [0.059s] > > [INFO] Apache JSPWiki initial wiki pages (es) ............ SUCCESS [0.054s] > > [INFO] Apache JSPWiki initial wiki pages (fi) ............ SUCCESS [0.036s] > > [INFO] Apache JSPWiki initial wiki pages (fr) ............ SUCCESS [0.050s] > > [INFO] Apache JSPWiki initial wiki pages (it) ............ SUCCESS [0.058s] > > [INFO] Apache JSPWiki initial wiki pages (nl) ............ SUCCESS [0.064s] > > [INFO] Apache JSPWiki initial wiki pages (pt_BR) ......... SUCCESS [0.055s] > > [INFO] Apache JSPWiki initial wiki pages (ru) ............ SUCCESS [0.043s] > > [INFO] Apache JSPWiki initial wiki pages (zh_CN) ......... SUCCESS [0.048s] > > [INFO] Apache JSPWiki Main War ........................... FAILURE [1.798s] > > [INFO] Apache JSPWiki portable ........................... SKIPPED > > [INFO] jspwiki-it-builder ................................ SKIPPED > > [INFO] jspwiki-selenium-tests ............................ SKIPPED > > [INFO] jspwiki-it-test-custom ............................ SKIPPED > > [INFO] jspwiki-it-test-custom-absolute-urls .............. SKIPPED > > [INFO] jspwiki-it-test-custom-jdbc ....................... SKIPPED > > [INFO] jspwiki-it-test-cma ............................... SKIPPED > > [INFO] jspwiki-it-test-cma-jdbc .......................... SKIPPED > > [INFO] > ------------------------------------------------------------------------ > > [INFO] BUILD FAILURE > > [INFO] > ------------------------------------------------------------------------ > > [INFO] Total time: 3.631s > > [INFO] Finished at: Tue Aug 04 20:52:10 CEST 2015 > > [INFO] Final Memory: 25M/540M > > [INFO] > ------------------------------------------------------------------------ > > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-dependency-plugin:2.8:unpack > (unpack-wikipages-private) on project jspwiki-war: Artifact has not been > packaged yet. When used on reactor artifact, unpack should be executed > after packaging: see MDEP-98. -> [Help 1] > > > > Any suggestions ? > > > > dirk >