Hi, On Tue, Feb 16, 2010 at 8:12 PM, Richard Hirsch <hirsch.d...@gmail.com> wrote: > On Tue, Feb 16, 2010 at 5:28 PM, Bertrand Delacretaz <bdelacre...@apache.org >> wrote:
>>... 4) When trying to build esme-java-client with "mvn clean install" I >> get "Embedded error: Error while executing the external compiler" if >> JAVA_HOME is not set. >> > > How can you deal with this via maven? Is this an ESME problem or a maven > problem?... Looks just like a weird maven-compiler-plugin setup in esme-java-client/pom.xml, the patch below fixes it. I get test failures then, but that's another story. -Bertrand Index: pom.xml =================================================================== --- pom.xml (revision 910855) +++ pom.xml (working copy) @@ -46,26 +46,6 @@ <configuration> <verbose>true</verbose> <fork>true</fork> - <executable>${JAVA_HOME}/bin/javac</executable> - <!-- - define the JAVA_1_4_HOME property in .m2/settings.xml for portability, e.g.: - <settings> - [...] - <profiles> - [...] - <profile> - <id>compiler</id> - <properties> - <JAVA_1_4_HOME>C:\Program Files\Java\j2sdk1.4.2_09</JAVA_1_4_HOME> - </properties> - </profile> - </profiles> - [...] - <activeProfiles> - <activeProfile>compiler</activeProfile> - </activeProfiles> - </settings> - --> <compilerVersion>1.4</compilerVersion> </configuration> </plugin> --------------------------------------------------------------------- To unsubscribe, e-mail: general-unsubscr...@incubator.apache.org For additional commands, e-mail: general-h...@incubator.apache.org