Uploaded image for project: 'Maven Install Plugin'
  1. Maven Install Plugin
  2. MINSTALL-33

mvn install:install-file should create appropriate entries so that dependencies with version ranges will use installed file.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Incomplete
    • 2.1
    • None
    • install:install-file
    • None
    • all

    Description

      when using install:install-file it should cooperate with the code that handles versions that don't have an explicit version, but specify a version range. For example, if I install hibernate-3.2.0rc4, and my pom.xml has the hibernate dependency specified as:

          <dependency>
            <groupId>hibernate</groupId>
            <artifactId>hibernate</artifactId>
            <version>[3.2.0rc4,)</version>
          </dependency> 
      

      maven will complain that it cannot find the hibernate version 3.2.0rc4. However if the dependency is specified as :

          <dependency>
            <groupId>hibernate</groupId>
            <artifactId>hibernate</artifactId>
            <version>3.2.0rc4</version>
          </dependency>
      

      then the project builds successfully.

      Attachments

        Activity

          People

            rfscholte Robert Scholte
            patmoore@ieee.org Patrick Moore
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: