IntelliJ 9, Glassfish 2.1.1 & Maven2

Posted by Xetius on Stack Overflow See other posts from Stack Overflow or by Xetius
Published on 2010-03-29T17:25:22Z Indexed on 2010/03/29 21:13 UTC
Read the original article Hit count: 597

Filed under:
|
|

I have a Maven2 project which I am editing in IntelliJ IDEA 9.0.2. I am trying to build it and debug it within a Glassfish 2.1.1 container.

This is only working sometimes. Occasionally it is giving me an error, telling me it can't deploy. Other times, it deploys, but does not run the filtering on the POM, not replacing a variable in the sun-web.xml file (and other container specific files) leaving it as ${targetenv} instead of replacing it with the value it should.

I think I am missing something here, and have something very confused, but I have no idea what.

Any help would be most gratefully received.

© Stack Overflow or respective owner

Related posts about maven-2

Related posts about intellij-idea