After running mvn javadoc:aggregate I get:
[INFO] Building Atlassian Crowd Bundled Plugins [INFO] ------------------------------------------------------------------------ Downloading: https://m2proxy.atlassian.com/repository/internal/com/atlassian/crowd/crowd-sal/2.3.2/crowd-sal-2.3.2.bundle [INFO] Unable to find resource 'com.atlassian.crowd:crowd-sal:bundle:2.3.2' in repository central (https://m2proxy.atlassian.com/repository/internal) Downloading: https://m2proxy.atlassian.com/repository/m1/com/atlassian/crowd/crowd-sal/2.3.2/crowd-sal-2.3.2.bundle [INFO] Unable to find resource 'com.atlassian.crowd:crowd-sal:bundle:2.3.2' in repository atlassian-m1-repository (https://m2proxy.atlassian.com/repository/m1) [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to resolve artifact. Missing: ---------- 1) com.atlassian.crowd:crowd-sal:bundle:2.3.2 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=com.atlassian.crowd -DartifactId=crowd-sal -Dversion=2.3.2 -Dpackaging=bundle -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=com.atlassian.crowd -DartifactId=crowd-sal -Dversion=2.3.2 -Dpackaging=bundle -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) com.atlassian.crowd:crowd-bundled-plugins:pom:2.3.2 2) com.atlassian.crowd:crowd-sal:bundle:2.3.2 ---------- 1 required artifact is missing. for artifact: com.atlassian.crowd:crowd-bundled-plugins:pom:2.3.2 from the specified remote repositories: central (https://m2proxy.atlassian.com/repository/internal), atlassian-m1-repository (https://m2proxy.atlassian.com/repository/m1) [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 21 seconds [INFO] Finished at: Wed Aug 10 18:23:34 CDT 2011 [INFO] Final Memory: 62M/618M [INFO] ------------------------------------------------------------------------
Workaround seems to be to run mvn install javadoc:aggregate instead.
I have seen similar behaviour lately with release:prepare target as well.
This issue seems to be fixed in Maven 2.2.1. (And is still fixed in Maven 3.0.3.)