Closed aler closed 9 years ago
After running Maven build command I got the error:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project dynamodb-streams-kinesis-adapter: Fatal error compiling: invalid target release: 1.7 -> [Help 1]
I am on Mac OS 10.10.2. Installed Maven 3.2.5 with homebrew. Java version "1.8.0_25"
Looks like it was a Maven problem. It was using Apple java version instead of latest one.
adding JAVA_HOME=$(/usr/libexec/java_home) to profile solved the problem.
After running Maven build command I got the error:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project dynamodb-streams-kinesis-adapter: Fatal error compiling: invalid target release: 1.7 -> [Help 1]
I am on Mac OS 10.10.2. Installed Maven 3.2.5 with homebrew. Java version "1.8.0_25"