Vince,
I don't have maven-compiler-plugin and settings.xml configured, but why
should I?   The JAVA_HOME should *supposedly* be sufficient.    I do agree
with you, that by adding the maven-compiler-plugin to the parent pom.xml
will fix my angst, but I shouldn't have to do that.    From the debug
output, [DEBUG]   (f) executable = null/bin/javac,  the path is pointing to
null.


Enrique




                                                                       
             Vincent Latombe                                           
             <vincent.latombe@                                         
             gmail.com>                                                 To
                                       Maven Users List                
             09/07/2010 12:15          <[email protected]>        
             PM                                                         cc
                                                                       
                                                                   Subject
             Please respond to         Re: Maven failing due to javac path
               "Maven Users            issue -- Windows                
                   List"                                               
             <[email protected]                                         
                  he.org>                                              
                                                                       
                                                                       
                                                                       




What's your effective pom? (especially maven-compiler-plugin
configuration?)
I'm guessing something like a property that is supposed to be set through a
profile in settings.xml depending on your environment is not defined.

2010/9/7 per-henrik hedman <[email protected]>

> what's the output from "mvn -version"? Could help determine what the
> actual value of JAVA_HOME according to mvn.
>
> What resides in the  C:\IBM\ibm-java-sdk-60-win-i386\sdk\bin ?
>
> can you run javac -version?
>
> Per-Henrik
>
> On Tue, Sep 7, 2010 at 6:43 PM, Trevor Harmon <[email protected]> wrote:
> > On Sep 7, 2010, at 9:34 AM, Enrique Gaona wrote:
> >> Can't say if it works with Oracle's JDK, since I've not tried it
before.
> >>
> > Trying with Oracle's would help determine where the problem lies.
> >> One workaround would be specify the maven-compiler-plugin in the
parent
> pom.xml, but I really don't want to do that.
> >>
> >
> > Can't you just point JAVA_HOME and your PATH to the Oracle JDK?
> >
> > Trevor
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


--
Vincent

Reply via email to