Sent from my [rhymes with tryPod] ;-)

On 4 Nov 2009, at 18:51, "Jamie Whitehouse" <jamie.whiteho...@genesyslab.com > wrote:

I was just about to ask that, if the 1.5 home was symlinked to 1.6.

You may want to consider the animal-sniffer plugin to detect and error
on Java API incompatibles.  The one from Codehaus mojos should be out
shortly,

just polishing off the documentation.  should be ready soon


in the mean time Kohsuke's is working for me.

-----Original Message-----
From: Benson Margulies [mailto:bimargul...@gmail.com]
Sent: Wednesday, November 04, 2009 1:37 PM
To: Maven Users List
Subject: Re: Can't seem to get rid of 1.6

That doesn't help with bootclasspath inventory.

However, I've found my problem. On MacOS snow leopard, the So-called
Java 1.5 home is actually java 1.6!


On Wed, Nov 4, 2009 at 1:29 PM, Damon Jacobsen
<dajacob...@lifetouch.com> wrote:
My understanding is the by using that target attribute, maven is still
using the default java installation to compile, but the byte code
generated will be compatible with the java version specified.

Damon

-----Original Message-----
From: Benson Margulies [mailto:bimargul...@gmail.com]
Sent: Wednesday, November 04, 2009 10:24 AM
To: Maven Users List
Subject: Can't seem to get rid of 1.6

I have set JAVA_HOME to a 1.5 java home.

I have traced the mvn shell script to watch it get used.

I have set <source/> and <target/> in the compiler plugin to 1.5. I
have checked the results with help:effective-pom.

Nonetheless, code that calls the new
DocumentBuilderFactory.newInstance(<several args>) compiles and even
runs with no errors.

I can't easily deinstall 1.6 from my mac. Has anyone else got a
suggestion what stupid mistake I'm making here?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org


______________________________________________________________________


This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
_____________________________________________________________________


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



--- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---------------------------------------------------------------------- CONFIDENTIALITY NOTICE: This e-mail and any files attached may contain confidential and proprietary information of Alcatel-Lucent and/or its affiliated entities. Access by the intended recipient only is authorized. Any liability arising from any party acting, or refraining from acting, on any information contained in this e-mail is hereby excluded. If you are not the intended recipient, please notify the sender immediately, destroy the original transmission and its attachments and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Copyright in this e-mail and any attachments belongs to Alcatel-Lucent and/or its affiliated entities.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to