-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
env.JAVA_HOME undefined #76
Comments
JAVA_HOME is a pretty standard environment variable, we’ve had probe using java.home in the past as sometimes it gets set to the jre. At least this way you can ensure it’s a jdk, so just set it in your environment. We can add to some building notes when we get round to it ;) On 9 Jul 2014, at 16:59, André Pinto notifications@github.com wrote:
|
I have JAVA_HOME defined as an environment variable. The problem is with ${env.JAVA_HOME}. I don't know why Maven is not picking that environment property on my system, nevertheless the official documentation says we should use ${java.home}:
in http://books.sonatype.com/mvnref-book/reference/resource-filtering-sect-properties.html |
I build the current code just fine on a mac, without any ref to classes.jar, I don't fancy hacking our profiles like that... As for java.home, once the travis build is passing, submit a pull request and if travis passes then we'll include it. |
My intention with the stackoverflow post was just to show a typical configuration for the JDK tools dependency using java.home. |
Ah ok
|
I was getting these errors while building the project:
replacing ${env.JAVA_HOME} with ${java.home} on the referred lines fixed the problem.
The text was updated successfully, but these errors were encountered: