[ 
https://jira.codehaus.org/browse/MIDEA-84?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Osipov closed MIDEA-84.
-------------------------------

    Resolution: Won't Fix

Please refer to 
https://cwiki.apache.org/confluence/display/MAVEN/The+Great+JIRA+Cleanup+of+2014
 if you're wondering why this issue was closed out.

> VersionRange not handled correctly
> ----------------------------------
>
>                 Key: MIDEA-84
>                 URL: https://jira.codehaus.org/browse/MIDEA-84
>             Project: Maven IDEA Plugin (RETIRED)
>          Issue Type: Bug
>    Affects Versions: 2.0
>         Environment: Windows
>            Reporter: Walter Angerer
>
> The Plugin doesn't handle VersionRange like for example "[2.2,2.3]" 
> correctly. We have following scenario which should work:
> pom.xml:
>         <dependency>
>             <groupId>servletapi</groupId>
>             <artifactId>servletapi</artifactId>
>             <version>[2.2,2.3]</version>
>             <scope>provided</scope>
>         </dependency>
> Error thrown by the idea plugin:
> Downloading: 
> http://demuc17005.de.pri.o2.com:8887/proxy/servletapi/servletapi/[2.2,2.3]/servletapi-[2.2,2.3].jar
> [WARNING] Unable to get resource 'servletapi:servletapi:jar:[2.2,2.3]' from 
> repository central (http://repo1.maven.org/m
> aven2)
> [WARNING] An error occurred during dependency resolution of the following 
> artifact:
>     com.o2.portal:o2-abaxx-customerdata20.4-SNAPSHOT
> Caused by: Missing:
> ----------
> 1) servletapi:servletapi:jar:[2.2,2.3]
>   Try downloading the file manually from the project website.
>   Then, install it using the command:
>       mvn install:install-file -DgroupId=servletapi -DartifactId=servletapi \
>           -Dversion=[2.2,2.3] -Dpackaging=jar -Dfile=/path/to/file
>   Path to dependency:
>         1) com.o2.portal:o2-abaxx-customerdata:war:20.4-SNAPSHOT
>         2) servletapi:servletapi:jar:[2.2,2.3]
> ----------
> 1 required artifact is missing.
> for artifact:
>   com.o2.portal:o2-abaxx-customerdata:war:20.4-SNAPSHOT



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Reply via email to