Details
-
Bug
-
Resolution: Fixed
-
Major
-
5.4.2
-
None
-
N/A
-
N/A
-
Awaiting Contributor feedback
-
Description
Releasing fails on windows os with message :
[INFO] --- maven-enforcer-plugin:1.0.1:enforce (enforce-javadoc-exists) @ application-forum --- [WARNING] Rule 0: org.apache.maven.plugins.enforcer.EvaluateBeanshell failed with message: Couldn't evaluate condition: ("xar" != "jar") || ("xar" == "jar" && new java.io.File("D:\dev\git\xwiki-app\application-forum2\target\checkout\target/appl cation-forum-1.1-SNAPSHOT-javadoc.jar").exists()) [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 24.499s [INFO] Finished at: Sun Mar 23 23:30:29 GMT+01:00 2014 [INFO] Final Memory: 28M/499M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:1.0.1:enforce (enforce-javadoc-exists) on project application-forum: Some E forcer rules have failed. Look above for specific messages explaining why the rule failed. -> [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
The workaround is to add -Denforcer.skip=true to your command as in:
mvn release:perform -Denforcer.skip=true
Attachments
Issue Links
- is related to
-
MJAVADOC-329 Loading...