I'm guessing your inherit a parent pom that has a compiler plugin configuration. Isn't it?
2010/9/7 Enrique Gaona <[email protected]> > 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 > > > > [image: Inactive hide details for Vincent Latombe ---09/07/2010 12:16:37 > PM---What's your effective pom? (especially maven-compiler-plu]Vincent > Latombe ---09/07/2010 12:16:37 PM---What's your effective pom? (especially > maven-compiler-plugin configuration?) > > > *Vincent Latombe <[email protected]>* > > 09/07/2010 12:15 PM > Please respond to > "Maven Users List" <[email protected]> > > > > To > > Maven Users List <[email protected]> > cc > > > Subject > > Re: Maven failing due to javac path issue -- Windows > 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 > > -- Vincent
