maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dennis Lundberg (JIRA)" <>
Subject [jira] Closed: (MIDEA-70) Idea Plugin does not handle any kind of Version ranges
Date Sun, 15 Oct 2006 18:47:52 GMT
     [ ]

Dennis Lundberg closed MIDEA-70.

    Resolution: Duplicate

> Idea Plugin does not handle any kind of Version ranges
> ------------------------------------------------------
>                 Key: MIDEA-70
>                 URL:
>             Project: Maven 2.x Idea Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0
>            Reporter: Jan Thomae
>            Priority: Blocker
> I am using version ranges in my project.  For example, i have specified a range for hibernate:
>         <dependency>
>             <groupId>org.hibernate</groupId>
>             <artifactId>hibernate</artifactId>
>             <version>[3.1.3,)</version>
>         </dependency>
> Now idea:idea tries to download[3.1.3,)/hibernate-[3.1.3,).pom
instead of recognizing that i have given a range and looking for an appropriate version. Since
it cannot resolve the dependency, it does not create any dependencies for the module at all.
> Even worse, it crashes if any dependency uses version ranges. I could live with the issue
and stick to fixed versions for the time being, however i have no control about the poms of
the dependencies i am linking, so if a pom of a dependency is containing a version range,
i am totally out of luck. E.g one of my modules references to  jasperreports:
> <dependency>
>             <groupId>jasperreports</groupId>
>             <artifactId>jasperreports</artifactId>
>             <version>1.2.7</version>
>         </dependency>
> which itself contains a ranged dependency. When i try to do idea:idea on that one i get:
> INFO] Building TTT 2006 Reporting Plugin
> [INFO]    task-segment: [idea:idea]
> [INFO] ----------------------------------------------------------------------------
> [INFO] Preparing idea:idea
> [INFO] No goals needed for project - skipping
> [INFO] [idea:idea]
> [INFO] ------------------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [INFO] Unable to build project dependencies.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message