mvn clean install site doesn't work
-----------------------------------

                 Key: MJAVADOC-264
                 URL: http://jira.codehaus.org/browse/MJAVADOC-264
             Project: Maven 2.x Javadoc Plugin
          Issue Type: Bug
    Affects Versions: 2.6, 2.5
            Reporter: Arnaud Brunet
         Attachments: build.log, myTest.zip

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 :
{quote}
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) mygroup:myartifact:jar:1.0-SNAPSHOT

  Try 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/file

  Alternatively, 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
{quote}

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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to