You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2016/01/12 21:12:44 UTC

[jira] [Closed] (MJAVADOC-360) JavaDoc aggregation fails (ignores deployed snapshots, complains that release versions don't satisfy the version range)

     [ https://issues.apache.org/jira/browse/MJAVADOC-360?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Osipov closed MJAVADOC-360.
-----------------------------------
    Resolution: Auto Closed

This issue has been auto closed because it has been inactive for a long period of time. If you think this issue still persists, retest your problem with the most recent version of Maven and the affected component, reopen and post your results.

> JavaDoc aggregation fails (ignores deployed snapshots, complains that release versions don't satisfy the version range)
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: MJAVADOC-360
>                 URL: https://issues.apache.org/jira/browse/MJAVADOC-360
>             Project: Maven Javadoc Plugin
>          Issue Type: Bug
>    Affects Versions: 2.8.1
>         Environment: Apache Maven 3.0.4 (rNON-CANONICAL_2012-01-24_13-02_root; 2012-01-24 13:02:02+0000)
> Maven home: /opt/maven
> Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
> Java home: /usr/lib/jvm/java-6-openjdk/jre
> Default locale: en_GB, platform encoding: UTF-8
> OS name: "linux", version: "3.6.11-1-arch", arch: "amd64", family: "unix"
> java version "1.6.0_24"
> OpenJDK Runtime Environment (IcedTea6 1.11.5) (ArchLinux-6.b24_1.11.5-1-x86_64)
> OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)
>            Reporter: mark r
>
> A multi-module project that uses a few deployed snapshots is now failing to build due to the javadoc aggregator giving the following error:
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-javadoc-plugin:2.8.1:aggregate
> (aggregate) on project io7m-jcanephora: An error has occurred in
> JavaDocs report generation:  Unable to find a version in [2.0.0, 2.1.0,
> 2.1.1, 2.1.2, 2.2.0, 2.3.0] to match the range
> [2.4.0-SNAPSHOT,2.4.0-SNAPSHOT],[2.4.0,3.0.0) [ERROR]
> com.io7m.jaux:io7m-jaux:jar:null
> Essentially, the aggregator seems to be saying that only the released versions (on the Central repository) are being considered for use, and they don't fall within the range given by the dependency on the snapshot version of that package (io7m-jaux).
> This was originally discussed on the mailing list here (to no resolution, but it was suggested that I open this issue):
> https://mail-archives.apache.org/mod_mbox/maven-users/201301.mbox/%3C20130108140632.851A193@athena.apache.org%3E
> I have uploaded a snapshot of the project to the github repository at:
> https://github.com/io7m/io7m-jcanephora
> The README file gives two required public repositories necessary to build the project, and recommends the use of -Dmaven.test.skip=true (as the test suite is quite intensive and not needed here). I've been building with "mvn -C clean verify -Dmaven.test.skip=true.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)