maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonio Petrelli" <>
Subject [m2][release-plugin] Release fails with aggregate Javadocs
Date Tue, 03 Apr 2007 09:41:33 GMT
Hi all!
I wanted to prepare the release for Tiles, but when it tries to create
the site, it fails with a dependency error [1].
The problem is that the "tiles-parent" pom contains the configuration
for the Javadoc plugin that aggregates the Javadoc of its modules.
When generating the site alone, the workaround is to run "mvn install
site", so that the artifact are installed and, therefore, available.
But during the release process this kind of workaround is not possible
(in fact, after the failure it is possible to run "mvn install" and
launch "mvn release:perform again" and everything works).
So my question is: is there a way to solve this problem? For example
by executing the "install" phase before the site generation, but I
don't know how to do it.
I am using Maven 2.0.5, Javadoc plugin 2.2, Release plugin 2.0-beta-4

Thanks in advance


[1] <snip>
1) org.apache.tiles:tiles-api:jar:2.0.3

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.apache.tiles -DartifactId=tiles-api
          -Dversion=2.0.3 -Dpackaging=jar -Dfile=/path/to/file

  Path to dependency:
        1) org.apache.tiles:tiles-core:jar:2.0.3
        2) org.apache.tiles:tiles-api:jar:2.0.3

1 required artifact is missing.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message