Uploaded image for project: 'Maven Release Plugin'
  1. Maven Release Plugin
  2. MRELEASE-917

Snapshot dependency not detected by release:prepare

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.5.1
    • Fix Version/s: None
    • Component/s: prepare
    • Labels:
      None
    • Environment:
      Maven 3.3.3, Java version: 1.8.0_45, vendor: Oracle Corporation, OS name: "mac os x", version: "10.10.4"

      Description

      Submodule pom contains a <test> dependency to a library which contains a snapshot dependency. This was was not detected by the release plugin.

      submodule pom (which should be released)

      <dependency>
      <groupId>com.github.stefanbirkner</groupId>
      <artifactId>system-rules</artifactId>
      <version>1.8.0</version>
      <scope>test</scope>
      </dependency>

      The system-rules library pom contains:

      <dependency>
      <groupId>commons-io</groupId>
      <artifactId>commons-io</artifactId>
      <version>[2.0,)</version>
      <scope>compile</scope>
      </dependency>

      This is resolved to a snapshot like commons-io 2.5-20150806.132407-140

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              salyh Hendrik Saly
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: