Maven Javadoc Plugin
  1. Maven Javadoc Plugin
  2. MJAVADOC-116

Impossible to aggregate javadoc if snapshot never built

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.2
    • Fix Version/s: None
    • Labels:
      None

      Description

      In a multi-module projet, I build an aggregated Javadoc for the site.

      The project is built with "mvn clean deploy site-deploy"

      When I add a new project, the next build always fails because the javadoc plugin can't find at least one snapshot for the new added module

      In the following example, I added a new module tele.persistance:pers-commons, which have never been built before.
      Maven tries to download it but it can't find it (never build before).

       [INFO] [site:site]
      [WARNING] Unable to load parent project from repository: Could not find the model file '/continuum-folders/working-directory/116/../pom.xml'.
      [INFO] Skipped "About" report, file "index.html" already exists for the English version.
      [ERROR] VM #displayTree: error : too few arguments to macro. Wanted 2 got 0
      [ERROR] VM #menuItem: error : too few arguments to macro. Wanted 1 got 0
      [INFO] Generate "JavaDocs" report.
      [INFO] snapshot tele:commons:1.2.0-alpha-1-SNAPSHOT: checking for updates from mirror.snapshots
      [INFO] snapshot tele.persistance:pers-data:1.2.0-alpha-1-SNAPSHOT: checking for updates from mirror.snapshots
      [INFO] snapshot tele.persistance:pers-api:1.2.0-alpha-1-SNAPSHOT: checking for updates from mirror.snapshots
      [INFO] snapshot tele.persistance:pers-commons:1.2.0-alpha-1-SNAPSHOT: checking for updates from mirror.snapshots
      Downloading: http://proxy/maven2-snapshots/repository/tele/persistance/pers-commons/1.2.0-alpha-1-SNAPSHOT/pers-commons-1.2.0-alpha-1-SNAPSHOT.jar
      [WARNING] Unable to get resource 'tele.persistance:pers-commons:jar:1.2.0-alpha-1-SNAPSHOT' from repository mirror.snapshots (http://proxy/maven2-snapshots/repository)
      [INFO] ------------------------------------------------------------------------
      [ERROR] BUILD ERROR
      [INFO] ------------------------------------------------------------------------
      [INFO] Failed to resolve artifact.
      
      Missing:
      ----------
      1) tele.persistance:pers-commons:jar:1.2.0-alpha-1-SNAPSHOT
      
        Try downloading the file manually from the project website.
      
        Then, install it using the command: 
            mvn install:install-file -DgroupId=tele.persistance -DartifactId=pers-commons \
                -Dversion=1.2.0-alpha-1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
      
        Path to dependency: 
        	1) tele.persistance:pers-dao:jar:1.2.0-alpha-1-SNAPSHOT
        	2) tele.persistance:pers-commons:jar:1.2.0-alpha-1-SNAPSHOT
      
      ----------
      1 required artifact is missing.
      
      for artifact: 
        tele.persistance:pers-dao:jar:1.2.0-alpha-1-SNAPSHOT
      
      from the specified remote repositories:
        central (http://repo1.maven.org/maven2),
        mirror.snapshots (http://proxy/maven2-snapshots/repository)
      

      If I make an intermediate "install", everything works fine

      1. clean javadoc-plugin-test-case with classifier use.zip
        5 kB
        dlecan
      2. javadoc-plugin-test-case.zip
        6 kB
        Antonio Petrelli
      3. javadoc-plugin-test-case with classifier use.zip
        158 kB
        dlecan
      4. log.txt
        404 kB
        dlecan
      5. mymobiliartest.zip
        48 kB
        Patrick M.J. Roth
      6. tiles-log.txt
        15 kB
        Antonio Petrelli

        Issue Links

          Activity

          dlecan created issue -
          Arne Degenring made changes -
          Field Original Value New Value
          Link This issue is related to MJAVADOC-111 [ MJAVADOC-111 ]
          Paul Gier made changes -
          Link This issue depends upon MJAVADOC-119 [ MJAVADOC-119 ]
          Paul Gier made changes -
          Link This issue relates to MJAVADOC-119 [ MJAVADOC-119 ]
          Siveton Vincent made changes -
          Link This issue depends upon MJAVADOC-119 [ MJAVADOC-119 ]
          Antonio Petrelli made changes -
          Attachment javadoc-plugin-test-case.zip [ 28575 ]
          Olivier Lamy (*$^¨%`£) made changes -
          Testcase included yes
          Siveton Vincent made changes -
          Fix Version/s 2.4 [ 13630 ]
          Siveton Vincent made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Assignee Vincent Siveton [ siveton ]
          Resolution Fixed [ 1 ]
          Siveton Vincent made changes -
          Status Closed [ 6 ] Reopened [ 4 ]
          Resolution Fixed [ 1 ]
          dlecan made changes -
          Attachment log.txt [ 32404 ]
          dlecan made changes -
          Attachment javadoc-plugin-test-case with classifier use.zip [ 33011 ]
          dlecan made changes -
          Attachment clean javadoc-plugin-test-case with classifier use.zip [ 33012 ]
          Antonio Petrelli made changes -
          Attachment tiles-log.txt [ 33029 ]
          Wendy Smoak made changes -
          Fix Version/s 2.4 [ 13630 ]
          Siveton Vincent made changes -
          Status Reopened [ 4 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Fix Version/s 2.5 [ 14120 ]
          Siveton Vincent made changes -
          Status Closed [ 6 ] Reopened [ 4 ]
          Resolution Fixed [ 1 ]
          Siveton Vincent made changes -
          Status Reopened [ 4 ] Closed [ 6 ]
          Resolution Won't Fix [ 2 ]
          Siveton Vincent made changes -
          Link This issue is related to MNG-3023 [ MNG-3023 ]
          Siveton Vincent made changes -
          Link This issue depends upon MNG-3283 [ MNG-3283 ]
          Siveton Vincent made changes -
          Status Closed [ 6 ] Reopened [ 4 ]
          Resolution Won't Fix [ 2 ]
          Siveton Vincent made changes -
          Fix Version/s 2.5 [ 14120 ]
          Damien Coraboeuf made changes -
          Link This issue relates to MNG-3685 [ MNG-3685 ]
          Siveton Vincent made changes -
          Link This issue is duplicated by MJAVADOC-260 [ MJAVADOC-260 ]
          Siveton Vincent made changes -
          Link This issue is duplicated by MJAVADOC-264 [ MJAVADOC-264 ]
          Francis De Brabandere made changes -
          Link This issue is related to MJAVADOC-276 [ MJAVADOC-276 ]
          Patrick M.J. Roth made changes -
          Attachment mymobiliartest.zip [ 59227 ]
          Michael Osipov made changes -
          Resolution Won't Fix [ 2 ]
          Status Reopened [ 4 ] Closed [ 6 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 11:56:47 UTC 2015 [ 1428235007093 ]
          Mark Thomas made changes -
          Workflow jira [ 12722353 ] Default workflow, editable Closed status [ 12762503 ]
          Mark Thomas made changes -
          Project Import Mon Apr 06 00:11:46 UTC 2015 [ 1428279106587 ]
          Mark Thomas made changes -
          Workflow jira [ 12959895 ] Default workflow, editable Closed status [ 12996778 ]

            People

            • Assignee:
              Siveton Vincent
              Reporter:
              dlecan
            • Votes:
              51 Vote for this issue
              Watchers:
              43 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development