Details
-
Bug
-
Resolution: Fixed
-
Blocker
-
4.1-milestone-1
-
None
-
Unknown
-
n/a
-
n/a
-
Description
(below is the content of an email sent to xwiki-devs mailing list)
Hi,
I'm going to have to delay the release because the WYSIWYG war distribution is breaking it.
It builds ok but fails to release. I tried specifying <type>jar</type> in the dependency plugin
configuration to no avail. I'm going to have to get some help on this issue because I'm neither
a maven expert not an expert on the WYSIWYG war distribution and I'm not sure what it's trying
to achieve and how.
Caleb
Below is the release failure:
I noticed a few builds had failed with this exception but thought it was a case of
local repository in a bad state.
[INFO] XWiki Platform - Workspace - Parent POM ........... SUCCESS [0.022s] [INFO] XWiki Platform - Workspace - API .................. SUCCESS [0.537s] [INFO] XWiki Platform - Workspace - Template Features .... SUCCESS [0.081s] [INFO] XWiki Platform - Workspace - UI ................... SUCCESS [4.767s] [INFO] XWiki Platform - WYSIWYG Editor - WAR Distribution FAILURE [0.025s] [INFO] XWiki Platform - XML - Parent POM ................. SKIPPED [INFO] XWiki Platform - XML - Script Service ............. SKIPPED [INFO] XWiki Platform - XMLRPC - Client .................. SKIPPED [INFO] XWiki Platform - ZIP Explorer ..................... SKIPPED [INFO] XWiki Platform - Legacy ........................... SKIPPED [INFO] XWiki Platform - Legacy - Old Core ................ SKIPPED [INFO] XWiki Platform - Legacy - Observation ............. SKIPPED [INFO] XWiki Platform - Legacy - Annotation .............. SKIPPED [INFO] XWiki Platform - Legacy - Model ................... SKIPPED [INFO] XWiki Platform - Legacy - Office Importer ......... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3:17.080s [INFO] Finished at: Mon May 28 20:50:28 CEST 2012 [INFO] Final Memory: 214M/655M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.4:copy (default) on project xwiki-platform-wysiwyg-war: Error copying artifact from /home/hudsonagent/releases/xwiki-trunks/xwiki-platform/xwiki-platform-core/xwiki-platform-wysiwyg/xwiki-platform-wysiwyg-client/target/classes to /home/hudsonagent/releases/xwiki-trunks/xwiki-platform/xwiki-platform-core/xwiki-platform-wysiwyg/xwiki-platform-wysiwyg-war/target/xwiki-platform-wysiwyg-war-4.1-milestone-2/WEB-INF/lib/xwiki-platform-wysiwyg-client-4.1-milestone-2-shared.jar: /home/hudsonagent/releases/xwiki-trunks/xwiki-platform/xwiki-platform-core/xwiki-platform-wysiwyg/xwiki-platform-wysiwyg-client/target/classes (Is a directory) -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :xwiki-platform-wysiwyg-war hudsonagent@ks365275:~/releases/xwiki-trunks$