Re: Build of trunk failed due to org.apache.maven.plugin.enforcer.RequireJavaVersion

2008-02-04 Thread Dan Becker


Dan Becker wrote:
> 
> This is my first post here, but I thought this might be a quickie for the
> Geronimo community.
> 
> I am attempting to build the trunk of Geronimo using the command "mvn
> install" from my local trunk checkout. A number fo poms are downloaded,
> and then my build runs into a problem (most likely
> a newbie maven setup problem, did not see similar problem on list):
> [INFO] [enforcer:enforce {execution: default}]
> [WARNING] Rule 0: org.apache.maven.plugin.enforcer.RequireJavaVersion
> failed wit
> h message: Detected JDK Version: 1.6.0-4 is not in the allowed range
> [1.5,1.6).
> 

Thanks for your help folks. You are indeed correct that the build must be
done with JDK 1.5 or greater, but not 1.6. I was thrown off by the error
message with the range [1.5,1.6). I guess the round paren excludes the 1.6
endpoint. Anyway, I am now progressing.

Thanks, Dan Becker
-- 
View this message in context: 
http://www.nabble.com/Build-of-trunk-failed-due-to-org.apache.maven.plugin.enforcer.RequireJavaVersion-tp15273467s134p15277978.html
Sent from the Apache Geronimo - Dev mailing list archive at Nabble.com.



Re: Build of trunk failed due to org.apache.maven.plugin.enforcer.RequireJavaVersion

2008-02-04 Thread David Jencks

Hi Dan,

I believe our build only works with java 1.5 at the moment.

Also, in an unrelated issue, it looks like Sun may have broken a  
maven repository that we rely on for the jaxb jars.


Hopefully the repo issue will be solved soon.

thanks
david jencks

On Feb 4, 2008, at 10:48 AM, Dan Becker wrote:



Hello folks,

This is my first post here, but I thought this might be a quickie  
for the

Geronimo community.

I am attempting to build the trunk of Geronimo using the command "mvn
install" from my local trunk checkout. A number fo poms are  
downloaded, and

then my build runs into a problem (most likely
a newbie maven setup problem, did not see similar problem on list):
[INFO] [enforcer:enforce {execution: default}]
[WARNING] Rule 0:  
org.apache.maven.plugin.enforcer.RequireJavaVersion failed

wit
h message: Detected JDK Version: 1.6.0-4 is not in the allowed range
[1.5,1.6).

Environment:
java version "1.6.0_04"
   Java(TM) SE Runtime Environment (build 1.6.0_04-b12)
   Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode, sharing)
Maven 2.0.7
svn 1.4.6
Windows XP (Build 2600.xpsp.0501011-1528: Service Pack 2)

Any pointers for how to resolve the Java version issue or some  
other setup

item I may have forgotten?
Thanks, Dan Becker

--
View this message in context: http://www.nabble.com/Build-of-trunk- 
failed-due-to-org.apache.maven.plugin.enforcer.RequireJavaVersion- 
tp15273467s134p15273467.html
Sent from the Apache Geronimo - Dev mailing list archive at  
Nabble.com.






Re: Build of trunk failed due to org.apache.maven.plugin.enforcer.RequireJavaVersion

2008-02-04 Thread Joe Bohn

Hi Dan and welcome aboard!

At the moment you need to build with a 1.5 jre.  I'm using 1.5.0_14 but 
any 1.5 should work.  There's a check included in the root pom to 
require 1.5 or higher but not 1.6.


HTH,
Joe



Dan Becker wrote:

Hello folks,

This is my first post here, but I thought this might be a quickie for the
Geronimo community.

I am attempting to build the trunk of Geronimo using the command "mvn
install" from my local trunk checkout. A number fo poms are downloaded, and
then my build runs into a problem (most likely
a newbie maven setup problem, did not see similar problem on list):
[INFO] [enforcer:enforce {execution: default}]
[WARNING] Rule 0: org.apache.maven.plugin.enforcer.RequireJavaVersion failed
wit
h message: Detected JDK Version: 1.6.0-4 is not in the allowed range
[1.5,1.6).

Environment:
java version "1.6.0_04"
   Java(TM) SE Runtime Environment (build 1.6.0_04-b12)
   Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode, sharing)
Maven 2.0.7
svn 1.4.6
Windows XP (Build 2600.xpsp.0501011-1528: Service Pack 2)

Any pointers for how to resolve the Java version issue or some other setup
item I may have forgotten?
Thanks, Dan Becker





Build of trunk failed due to org.apache.maven.plugin.enforcer.RequireJavaVersion

2008-02-04 Thread Dan Becker

Hello folks,

This is my first post here, but I thought this might be a quickie for the
Geronimo community.

I am attempting to build the trunk of Geronimo using the command "mvn
install" from my local trunk checkout. A number fo poms are downloaded, and
then my build runs into a problem (most likely
a newbie maven setup problem, did not see similar problem on list):
[INFO] [enforcer:enforce {execution: default}]
[WARNING] Rule 0: org.apache.maven.plugin.enforcer.RequireJavaVersion failed
wit
h message: Detected JDK Version: 1.6.0-4 is not in the allowed range
[1.5,1.6).

Environment:
java version "1.6.0_04"
   Java(TM) SE Runtime Environment (build 1.6.0_04-b12)
   Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode, sharing)
Maven 2.0.7
svn 1.4.6
Windows XP (Build 2600.xpsp.0501011-1528: Service Pack 2)

Any pointers for how to resolve the Java version issue or some other setup
item I may have forgotten?
Thanks, Dan Becker

-- 
View this message in context: 
http://www.nabble.com/Build-of-trunk-failed-due-to-org.apache.maven.plugin.enforcer.RequireJavaVersion-tp15273467s134p15273467.html
Sent from the Apache Geronimo - Dev mailing list archive at Nabble.com.