awslabs / dynamodb-streams-kinesis-adapter

The Amazon DynamoDB Streams Adapter implements the Amazon Kinesis interface so that your application can use KCL to consume and process data from a DynamoDB stream.
Apache License 2.0
97 stars 37 forks source link

building from sources error #1

Closed aler closed 9 years ago

aler commented 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"

aler commented 9 years ago

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.