edgent-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dale LaBossiere <dml.apa...@gmail.com>
Subject maven: java7 build?
Date Mon, 25 Sep 2017 16:32:11 GMT
Chris, 

Thought I understood how but I'm running into a problem.
I’ve got ~/.m2/toolchains.xml setup and JAVA_HOME and even tried adding JAVA8_HOME but the
following fails.
What’s the right command?

$ mvn clean install -Ptoolchain,platform-java7,platform-android
...
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Edgent: Platforms: Java7 1.2.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ edgent-platforms-java7 ---
[INFO]
[INFO] --- maven-toolchains-plugin:1.1:toolchain (default) @ edgent-platforms-java7 ---
[INFO] Required toolchain: jdk [ vendor='oracle' version='1.7' ]
[INFO] Found matching toolchain for type jdk: JDK[/Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home]
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-property) @ edgent-platforms-java7
---
[WARNING] Rule 0: org.apache.maven.plugins.enforcer.RequireProperty failed with message:
The retrolambda-maven-plugin requires a path to Java 8. You must set a 'java8.home' property!
[INFO] ------------------------------------------------------------------------


Thanks in advance!
— Dale
Mime
View raw message