[ 
https://issues.apache.org/jira/browse/MINSTALL-33?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17965895#comment-17965895
 ] 

Olivier Lamy commented on MINSTALL-33:
--------------------------------------

This project has moved from Jira to GitHub Issues. This issue was migrated to 
[apache/maven-install-plugin#143|https://github.com/apache/maven-install-plugin/issues/143].
 

> mvn install:install-file should create appropriate entries so that 
> dependencies with version ranges will use installed file.
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MINSTALL-33
>                 URL: https://issues.apache.org/jira/browse/MINSTALL-33
>             Project: Maven Install Plugin (Moved to GitHub Issues)
>          Issue Type: Bug
>          Components: install:install-file
>    Affects Versions: 2.1
>         Environment: all
>            Reporter: Patrick Moore
>            Assignee: Robert Scholte
>            Priority: Major
>
> 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:
> {code:xml}
>     <dependency>
>       <groupId>hibernate</groupId>
>       <artifactId>hibernate</artifactId>
>       <version>[3.2.0rc4,)</version>
>     </dependency> 
> {code}
> maven will complain that it cannot find the hibernate version {{3.2.0rc4}}. 
> However if the dependency is specified as :
> {code:xml}
>     <dependency>
>       <groupId>hibernate</groupId>
>       <artifactId>hibernate</artifactId>
>       <version>3.2.0rc4</version>
>     </dependency>
> {code}
> then the project builds successfully. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to