incubator-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bertrand Delacretaz <bdelacre...@apache.org>
Subject Re: [VOTE] Approve the release of apache-esme-incubating-1.0
Date Wed, 17 Feb 2010 08:18:39 GMT
Hi,

On Tue, Feb 16, 2010 at 8:12 PM, Richard Hirsch <hirsch.dick@gmail.com> wrote:
> On Tue, Feb 16, 2010 at 5:28 PM, Bertrand Delacretaz <bdelacretaz@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-unsubscribe@incubator.apache.org
For additional commands, e-mail: general-help@incubator.apache.org


Mime
View raw message