basho-labs / riak-data-migrator

Riak logical export and data migration tool (using Java client)
15 stars 6 forks source link

Does not build on Ubuntu 12.04 #13

Closed JohnEmhoff closed 10 years ago

JohnEmhoff commented 10 years ago

I'm assuming it's a configuration issue somewhere -- most of the compiler errors are long the lines of "use -source 5 or higher to enable generics". The first few lines of output are:

riak-data-migrator/src/main/java/com/basho/proserv/datamigrator/riak/RiakNotFoundException.java:[13,2] error: annotations are not supported in -source 1.3

  (use -source 5 or higher to enable annotations)
riak-data-migrator/src/main/java/com/basho/proserv/datamigrator/riak/Connection.java:[23,31] error: ';' expected

riak-data-migrator/src/main/java/com/basho/proserv/datamigrator/riak/Connection.java:[23,34] error: not a statement

riak-data-migrator/src/main/java/com/basho/proserv/datamigrator/riak/Connection.java:[23,38] error: ';' expected
$ javac -version
javac 1.7.0_40
broach commented 10 years ago

@JohnEmhoff It's because of how maven is configured on your system. The PR referenced above should fix it.

JohnEmhoff commented 10 years ago

@broach Awesome, that takes care of it. Thanks!