m2Eclipse in my STS 2.3.2 seems broken. I have been reduced to doing this:
Delete my local Maven installation and repository. Delete my STS 2.3.2 installation (which took long enough to create with hibernate tools plugins and Flash Builder and several other things I use).
Install a squeaky clean STS 2.3.2. Looks like it has a Maven Runtime: Embedded (3.0-SNAPSHOT/0.10.0.20100209-800). Nothing else added to STS.
Start STS.
Create a simple maven project from the simplest maven web-app archetype.
So far so good. There is a .pom with one dependency (JUnit) the JUnit .jar shows up fine in the project's "Maven Dependencies" library and Maven has started to build my local repository again.
Open the .pom editor. Go to Dependencies tab. Add dependency button...
What shows up? The "Select Dependency" dialog of course. But now the problems start: Add something to the filter area and the damn thing filters for .poms only! I.e. Exactly the same behavior as if you "Navigate->Open Maven POM..." and you get the Search Maven POM dialogue.
Same thing happens if I right click a .pom and do "Add Dependency" from there.
HOWEVER, if I edit a dependency right in to the .pom it works "fine" - files downloaded to my local repository and show up in the projects "Maven Dependencies" library.
Also the Navigate->Open Type From Maven is broken.
I do not have a lot of hair, but what I have has turned gray and I am pulling it out. I assume I have done something really stupid - but what?
Any help would be hugely appreciated.
Ted


Reply With Quote
