|
|
|
[
Permlink
| « Hide
]
Vladislav Kaznacheev - 03 Jul 07 14:50
For some reason Maven Embedder refuses to parse those files. I suspect it has something to do with properties (values in {}). I will investigate
Furthermore if I try to create the modules using mvn idea:idea, this new version will not open claiming that it has undefined variables. So basically no way to use IntelliJ 7.0 in our project.
Nice job, and good customer support. What I understand from here is either stick to version 6.0 or to Eclipse 3.3, am I correct? Sorry about keeping you waiting. I know how you must feel, but please do not give up on us yet: this is not a release version, remember?
I have consulted with the author of Maven (Jason van Zyl). In fact Jason is sitting right beside me as I am typing this. So here is what he said: Sorry, that's not all (had hit Enter too soon).
The good news is that Jason is going to fix that in the Embedder, so we will have it fixed in the release version. I fix this with installing project by maven and copy files with version "correction"
If it needed, I can publish this script. build 7,361
I am finding that if a profiles.xml descriptor is present at all, the Maven Embedder chokes and IDEA fails to discover the Maven project. Since the profiles.xml cannot be used (I move it to the side), several properties don't get assigned, which then causes the first problem, unresolved variables. Unresolved variables also cause the Maven Embedder to choke, and IDEA fails to find the projects. So what am I doing? I have a profiles.xml with <activeProfile> declarations This is used all over the place in the Appfuse project, so it is pretty important to get fixed if you want to support those users, as well as others that have picked up on that usage of Maven 2. Sadly, this all worked in 7M2 maven embedded has problems with resolving artifacts with variables.
you can use scripts which I has published in The problem with env.* vars has been solved. Please next eap or bugfix release.
As for your pom files - after fixing several issues with <parent> properties (i've repointed from global_build/dev/pom.xml to global_build/pom.xml and have added relativePath to parent into servers/pom.xml) it was correctly imported. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||