Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Not A Bug
-
Affects Version/s: 2.5, 2.6, 2.6.1, 2.7, 2.8
-
Fix Version/s: None
-
Labels:None
-
Environment:Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100)
Java version: 1.6.0_26, vendor: Apple Inc.
-
Testcase included:yes
-
Number of attachments :
Description
If I want to compile generate-wadl sample of Jersey 1.8 in its standard configuration with maven-javadoc-plugin version 2.4, everything works well. If I change to a higher javadoc version, the build fails:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.8:javadoc (default) on project generate-wadl: An error has occurred in JavaDocs report generation: Unable to find artifact:groupId = 'com.sun.jersey' [ERROR] artifactId = 'jersey-server' [ERROR] version = '1.8': Failure to find com.sun.jersey:jersey-server:bundle:1.8 in http://nexus.xxx/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced [ERROR] [ERROR] Try downloading the file manually from the project website. [ERROR] [ERROR] Then, install it using the command: [ERROR] mvn install:install-file -DgroupId=com.sun.jersey -DartifactId=jersey-server -Dversion=1.8 -Dpackaging=bundle -Dfile=/path/to/file [ERROR] [ERROR] Alternatively, if you host your own repository you can deploy the file there: [ERROR] mvn deploy:deploy-file -DgroupId=com.sun.jersey -DartifactId=jersey-server -Dversion=1.8 -Dpackaging=bundle -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
What confuses me is the
{com.sun.jersey:jersey-server:bundle:1.8}. Shouldn't it be
{com.sun.jersey:jersey-server:1.8}or
{com.sun.jersey:bundle:1.8}?
The generate-wadl sample is available here: http://java.net/projects/jersey/sources/svn/show/tags/jersey-1.8/jersey/samples/generate-wadl
To reproduce the build failure, edit pom.xml and change maven-javadoc-plugin version from 2.4 to 2.8.
Activity
Benson Margulies
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Status | Open [ 1 ] | Closed [ 6 ] |
| Assignee | Benson Margulies [ bmargulies ] | |
| Resolution | Not A Bug [ 6 ] |
This is not a problem with the maven-javadoc-plugin.