You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Nick Stolwijk <ni...@gmail.com> on 2009/11/03 11:58:11 UTC

Re: Regression with maven-javadoc-plugin 2.6.1 and release:perform

I have the same problem. Can someone shine a light on this?

With regards,

Nick Stolwijk
~Java Developer~

IPROFS BV.
Claus Sluterweg 125
2012 WS Haarlem
http://www.iprofs.nl


On Fri, Oct 30, 2009 at 3:42 PM, Julien HENRY <he...@yahoo.fr> wrote:

> Hi,
>
> I have a multimodule project and it fails during release:perform with new
> javadoc plugin.
>
> I'm working on a simple project to open an issue, but let me explain the
> issue in case someone can tell me if there is something wrong in my
> configuration.
>
> Say my project is composed of:
>
> Parent
>  - moduleA
>  - moduleB
>  - moduleC
>
> moduleB depends on moduleC.
>
> When release:perform execture mvn deploy -Dperformrelease=true on the
> freshly checkouted parent, the build fails
>
> log says:
> INFO
> ------------------------------------------------------------------------
> INFO Building MyCompany moduleA
> INFO   task-segment: [deploy]
> INFO
> ------------------------------------------------------------------------
> [...]
> INFO [javadoc:jar {execution: attach-javadocs}]
> INFO The goal 'org.apache.maven.plugins:maven-javadoc-plugin:2.6.1:javadoc'
> has not be previously called for the project:
> 'com.mycompany:moduleB:jar:3.1.9'. Trying to invoke it...
> INFO MavenInvocationException: Error when invoking Maven, consult the
> invoker log file:
> D:\Projects\parent\target\checkout\moduleA\target\invoker\maven-javadoc-plugin1287795137.txt
> INFO
> ------------------------------------------------------------------------
> INFO BUILD ERROR
> INFO
> ------------------------------------------------------------------------
>
>
> And in the file there is:
>
> Invoking Maven for the goals:
> [org.apache.maven.plugins:maven-javadoc-plugin:2.6.1:javadoc] with no
> properties
>
> M2_HOME=d:\apache-maven-2.2.1\bin\..
> MAVEN_OPTS=-Xmx1024m -XX:MaxPermSize=256m
> JAVA_HOME=C:\Program Files\Java\jdk1.6.0_14\jre\..
> JAVA_OPTS=null
>
> INFO Scanning for projects...
> INFO
> ------------------------------------------------------------------------
> INFO Building MyCompany - moduleB
> INFO    task-segment:
> [org.apache.maven.plugins:maven-javadoc-plugin:2.6.1:javadoc]
> INFO
> ------------------------------------------------------------------------
> INFO Preparing javadoc:javadoc
> INFO No goals needed for project - skipping
> Downloading:
> http://xxxxxxxxxxxx/com/mycompany/moduleC/3.1.9/moduleC-3.1.9.pom
> INFO Unable to find resource 'com.mycompany:moduleC:pom:3.1.9' in
> repository central (http://central)
> INFO
> ------------------------------------------------------------------------
> ERROR BUILD ERROR
> INFO
> ------------------------------------------------------------------------
> INFO Failed to resolve artifact.
>
> Missing:
> ----------
> 1) com.mycompany:moduleC:jar:3.1.9
>
>  Try downloading the file manually from the project website.
>
>  Then, install it using the command:
>      mvn install:install-file xxxxxxx
>
>  Path to dependency:
>      1) com.mycompany:moduleB:jar:3.1.9
>      2) com.mycompany:moduleC:jar:3.1.9
>
>
> Regards,
>
> Julien
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>