Uploaded image for project: 'Maven Javadoc Plugin'
  1. Maven Javadoc Plugin
  2. MJAVADOC-264

mvn clean install site doesn't work

    XMLWordPrintableJSON

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-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

      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

        1. myTest.zip
          71 kB
          Arnaud Brunet
        2. build.log
          5 kB
          Arnaud Brunet

        Issue Links

          Activity

            People

              Unassigned Unassigned
              gronono Arnaud Brunet
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: