Priority
Critical
Type
Bug 
State
Fixed 
Assignee
Anton Makeev 
Subsystem
Maven Integration 
Affected versions
Fixed in
Fixed in build
Next build 
Fixed in build
7589
  • Submitted by   Anton Makeev
    2 years ago (26 Oct 2007 17:47)
  • Updated by   root
    3 weeks ago (17 Jan 2010 19:54)
  • Jira: IDEA-41750
    (history, comments)

IDEA-41750

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

1
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

Issue was resolved
Comments (5)
 
History (1)
 
Links
 
Alejandro Scandroli
  Alejandro Scandroli
26 Oct 2007 18:00
(2 years ago)
#permalink
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
  Nasokin Arseny
30 Oct 2007 09:57
(2 years ago)
#permalink
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
  Anton Makeev
05 Dec 2007 15:42
(2 years ago)
#permalink
Fix will be available right AFTER 7.0.2
Alejandro Scandroli
  Alejandro Scandroli
21 Dec 2007 15:03
(2 years ago)
#permalink
Thank you guys, I'm using build 7613 now, and it's working great!.
Thanks.
Anton Makeev
  Anton Makeev
21 Dec 2007 15:09
(2 years ago)
#permalink
Thank _you_ for feedback 8)