Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
2.5, 2.6
-
None
-
None
-
None
Description
Hi,
I tried to generate a maven site for a projet with multiple modules using maven-javadoc-plugin in version 2.6. But i got this error :
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.Missing:
----------
1) mygroup:myartifact:jar:1.0-SNAPSHOTTry downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=mygroup -DartifactId=myartifact -Dversion=1.0-SNAPSHOT -Dpa
ckaging=jar -Dfile=/path/to/fileAlternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=mygroup -DartifactId=myartifact -Dversion=1.0-SNAPSHOT -Dpack
aging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]Path to dependency:
1) mygroup:moduleA:jar:1.0-SNAPSHOT
2) mygroup:myartifact:jar:1.0-SNAPSHOT
I tried downgrade to 2.5 but I had always the error. With the 2.4 version, it works.
I attach a test projet. Before each build, you must delete mygroup directory in your maven repository.
Attachments
Attachments
Issue Links
- duplicates
-
MJAVADOC-116 Impossible to aggregate javadoc if snapshot never built
- Closed