Most601 / javadrone

Automatically exported from code.google.com/p/javadrone
0 stars 0 forks source link

android target mvn build failed #40

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
{{{
[ERROR] 
/Users/lord/src/javadrone/controltower-android/src/com/codeminders/ardrone/Contr
olMap.java:[17,19] generics are not supported in -source 1.3
[ERROR] (use -source 5 or higher to enable generics)
[ERROR] private HashMap<ControllerButton, List<AssignableControl>> map = new 
HashMap<ControllerButton, List<AssignableControl>>();
[ERROR] 
[ERROR] 
/Users/lord/src/javadrone/controltower-android/src/com/codeminders/ardrone/Contr
olMap.java:[47,13] annotations are not supported in -source 1.3
[ERROR] (use -source 5 or higher to enable annotations)
[ERROR] @Override
[ERROR] 
[ERROR] 
/Users/lord/src/javadrone/controltower-android/src/com/codeminders/ardrone/MainA
ctivity.java:[52,9] annotations are not supported in -source 1.3
[ERROR] (use -source 5 or higher to enable annotations)
[ERROR] @Override
[ERROR] 
[ERROR] 
/Users/lord/src/javadrone/controltower-android/src/com/codeminders/ardrone/MainA
ctivity.java:[119,23] generics are not supported in -source 1.3
[ERROR] (use -source 5 or higher to enable generics)
[ERROR] HashMap<String, UsbDevice> deviceList = manager.getDeviceList();
[ERROR] 
[ERROR] 
/Users/lord/src/javadrone/controltower-android/src/com/codeminders/ardrone/MainA
ctivity.java:[247,42] variable-arity methods are not supported in -source 1.3
[ERROR] (use -source 5 or higher to enable variable-arity methods)
[ERROR] protected Void doInBackground(Void... params) {
[ERROR] 
[ERROR] 
/Users/lord/src/javadrone/controltower-android/src/com/codeminders/ardrone/contr
oller/PS3Controller.java:[25,5] annotations are not supported in -source 1.3
[ERROR] (use -source 5 or higher to enable annotations)
[ERROR] @Override
[ERROR] 
[ERROR] 
/Users/lord/src/javadrone/controltower-android/src/com/codeminders/ardrone/contr
oller/SonyPS3Controller.java:[70,5] annotations are not supported in -source 1.3
[ERROR] (use -source 5 or higher to enable annotations)
[ERROR] @Override
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :controltower-android
}}}

Java version:

{{{
prosody /Users/lord/src/javadrone> java -version
java version "1.6.0_35"
Java(TM) SE Runtime Environment (build 1.6.0_35-b10-428-11M3811)
Java HotSpot(TM) 64-Bit Server VM (build 20.10-b01-428, mixed mode)
}}}

Original issue reported on code.google.com by kroko...@gmail.com on 15 Sep 2012 at 5:25

GoogleCodeExporter commented 8 years ago
full log

Original comment by kroko...@gmail.com on 15 Sep 2012 at 5:28

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by kroko...@gmail.com on 17 Sep 2012 at 10:37