Hi,
I've set up a Maven build to create an EJB jar and an EAR application which I deploy to JBoss. I'm using Eclipse 3.0 in order to develop my code and I really love the hot code deployment feature. However, because I built my EAR file with Maven (i.e. the standard jdk compiler) and Eclipse uses it's own compiler, the hot deployment doesn't work (I'm getting a "Hot code replace failed - Scheme change not implemented" exception). On http://eclipsewiki.editme.com/ANTFaq I found an explanation how to configure Ant in order to use the Eclipse compiler by setting the property "-Dbuild.compiler=org.eclipse.jdt.core.JDTCompilerAdapter". However, Maven doesn't find the Eclipse compiler and I get an "<ant:javac> Compiler Adapter 'org.eclipse.jdt.core.JDTCompilerAdapter' can't be found." exception. Where do I have to place the jdtCompilerAdapter.jar and jdtcore.jar files so that Maven/Ant/Ant-Jelly-Plugin or whatever finds the org.eclipse.jdt.core.JDTCompilerAdapter class? I already tried to add them to the Maven/lib directory, however it had no effect. Or is there any other way to tell Maven how to use the Eclipse compiler? Thanks in advance, Joern
