That was it.  My path and java_home were pointing to a 1.5 jre.  I fixed 
that and it works perfectly.

Thank you!

Tim McGinnis
717 720-1962
Web Development
AES/PHEAA



From:
"Stephen Connolly" <stephen.alan.conno...@gmail.com>
To:
"Maven Users List" <users@maven.apache.org>
Date:
07/23/2010 02:00 AM
Subject:
Re: Confused about compiler used for release



probably you have a disconnect between your PATH and JAVA_HOME environment
variables.

release:prepare sort of forks a maven process and the environment may be
different in that case.

For example we have a project that is half built with ANT and half built
with Maven. currently our release process is

mvn release:prepare release:perform
cd target/checkout
ant deploy

but yet, if we bind antrun:run or exec:exec to the deploy phase and try 
and
do an ant deploy there it fails due to some subtle environment variable
differences in the forked maven... strangely mvn deploy works just fine at
calling ant deploy, but when in the release:perform the ant script bombs
out!

-Stephen

PS ignore Martin the robot's reply, it's completely irrelevant

On 22 July 2010 19:01, Timothy Mcginnis <tmcgi...@aessuccess.org> wrote:

> I am confused about something.
>
> I have a project where I have specified that the compiler target and
> source are to be 1.6.  I can run mvn deploy and everything works fine.
> When I try to run mvn release:prepare it tells me the compiler (javac)
> does not support 1.6.  Why is it using two different compilers??
>
> Tim McGinnis
> 717 720-1962
> Web Development
> AES/PHEAA
>
> 
==============================================================================
> This message contains privileged and confidential information intended 
for
> the above addressees only.  If you
> receive this message in error please delete or destroy this message 
and/or
> attachments.
>
> The sender of this message will fully cooperate in the civil and 
criminal
> prosecution of any individual engaging
> in the unauthorized use of this message.
>
> 
==============================================================================
>



==============================================================================
This message contains privileged and confidential information intended for the 
above addressees only.  If you
receive this message in error please delete or destroy this message and/or 
attachments.  

The sender of this message will fully cooperate in the civil and criminal 
prosecution of any individual engaging
in the unauthorized use of this message.
==============================================================================

Reply via email to