You've updated to the 2.10 javadoc plugin, which is - sadly, showing a
lot of problems ( exactly what you're seeing ). I'd roll back to 2.9.1
like most people are.
Mark
On 25 Sep 2014, at 18:36, Antti O. wrote:
Hi all, I've started seeing failures when doing a release during this
week.
The projects released just fine previously.
The release fails at the "perform" stage when it's doing
"attach-javadocs".
Usually the error is something like this, the javadoc plugin fails
with
dependencies:
[INFO] [ERROR] Failed to execute goal
org.apache.maven.plugins:maven-javadoc-plugin:2.10:jar
(attach-javadocs) on
project MyProj: MavenReportException: Error while creating archive:
[INFO]
[ERROR] Exit code: 1 -
E:\jenkins-work\release_MyProj-1.2\workspace\target\checkout\src\main\java\...\MyController.java:3:
package javax.portlet does not exist [INFO] [ERROR] import
javax.portlet.RenderRequest; [INFO] [ERROR] ^ [INFO] [ERROR]
E:\jenkins-work\release_aulis-Portlets-1.2\workspace\target\checkout\src\main\java\...\MyController.java:4:
package javax.portlet does not exist
A workaround is to skip the javadoc generation but it has to be
configured
for each project. There are quite a number of those in my
environment.. But
why does javadoc generation even need the dependencies?
Anyone else having the same problem?
--
View this message in context:
http://maven.40175.n5.nabble.com/Release-fails-with-maven-javadoc-plugin-2-10-tp5806511.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]