I am trying to use the maven binaries for a tangential task in my build 
wrapper.

To test this I tried adding the following lines:

        MavenInstallation m2 = ((MavenModuleSetBuild) 
build).getProject().getMaven();
        listener.getLogger().println("maven home="+m2.getHome());

the first line returns the correct MavenInstallation for my project.  But 
the getHome() method returns null.

Is that normal behavior when the installation auto installs maven?

I am running jenkins 1.509.4 under centos 6.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to