Hi Julien, Is it working with 2.6 and not with 2.6.1? We have several its [1], specifically MJAVADOC-181, all seems to work. So please create an issue [2] with a test case and your log files, we will be able to track it.
Thanks, Vincent [1] https://svn.apache.org/repos/asf/maven/plugins/trunk/maven-javadoc-plugin/src/it [2] http://jira.codehaus.org/browse/MJAVADOC 2009/10/30 Julien HENRY <henr...@yahoo.fr>: > 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-unsubscr...@maven.apache.org > For additional commands, e-mail: dev-h...@maven.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org