openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Perham <>
Subject build problem
Date Tue, 22 Aug 2006 15:50:28 GMT

OpenJPA fails to build when the JAVA_HOME is set to Java 5 but Java 1.4 is
first in the path.  This is because Maven 2 uses JAVA_HOME inside "mvn" but
just executes "java" by default when forking the unit tests.  The fix is
relatively simple - override the surefire JVM setting:


I believe this will be fixed in the next surefire release.

(Maven PMC member and hopeful OpenJPA user)
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message