History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-22863
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Critical Critical
Assignee: Anton Makeev
Reporter: Anton Makeev
Votes: 1
Watchers: 4
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

Maven: multi-module project with {*.version} dependencies is not imported

Created: 26 Oct 07 17:47   Updated: 21 Dec 07 15:09
Component/s: Maven Integration
Fix Version/s: Selena 7.0.3

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Fixed in build: 7,589


 Description  « Hide
I'm having this same problem. I've upgraded from 7274 to 7312 (on ubuntu) and I lost the ability to import maven projects with multiple modules.
Here is my parent pom.xml: http://svn.codehaus.org/trails/trunk/trails/pom.xml
You can download the whole project from there.

status update:
I'm using release 7.0.1 (build 7634).
If I replace references to ${*.version} with version numbers, I does import OK
The "soft links" workaround also works, but then I have to create files like:
~/.m2/repository/hsqldb/hsqldb/${hsqldb.version}/hsqldb-${hsqldb.version}.pom
~/.m2/repository/hsqldb/hsqldb/${hsqldb.version}/hsqldb-${hsqldb.version}.jar
Which is not only painful to do, it also doesn't let me use more than 1 different version for the same library.

I still think that Idea should be able to import projects that are using "<properties>" to define libraries version numbers.
Maven 2.0.7 does validate the project.

see http://www.jetbrains.net/jira/browse/IDEADEV-22126



 All   Comments   Work Log   Change History      Sort Order:
Alejandro Scandroli - 26 Oct 07 18:00
Here is a workaround:
In build 7364 I have replaced maven and maven-web plugins, with the versions from build 7274, and it looks like everything is working now.

Nasokin Arseny - 30 Oct 07 09:57
This is issue of the maven embedded and same issue was in this tracker.

Alejandro, If you fix it, we'll wait for the nearest EAP build to check it.


Anton Makeev - 05 Dec 07 15:42
Fix will be available right AFTER 7.0.2

Alejandro Scandroli - 21 Dec 07 15:03
Thank you guys, I'm using build 7613 now, and it's working great!.
Thanks.

Anton Makeev - 21 Dec 07 15:09
Thank you for feedback 8)