This is a strange issue, but I'm throwing it out to this newsgroup since I'm
not sure how to proceed. I have a custom ant task that I want to run after
the packaging phase (copy the test-jar somewhere). Some configurations work
and some don't:
1) m2e using embedded maven - doesn't work
2) maven 2.0.9 cli - works
3) m2e using external 2.0.9 - works
4) m2e using embedded maven AND making the profile "active by default" -
works
5) also downloaded and tried 2.1.0 which works as well
What is most confusing is that I can't reproduce this on a simple project.
So it must be something in my complex project structure. I tried debugging
m2e but got stuck without the source code for the embedded maven jars.
Ring a bell for anyone? What could cause a profile not to be picked up? Any
suggestions on how to debug further?