Prototik / HoloEverywhere

NO LONGER MAINTAINED. DEVELOP FOR 4.X+ DUDE.
MIT License
2.18k stars 607 forks source link

Compiling new 2.2.1 with Maven #773

Closed arichiardi closed 10 years ago

arichiardi commented 10 years ago

Hello, I tried to compile 2.2.1-SNAPSHOT with Maven so that we can again sync with Maven Central but I received a lot of missing symbols. It looks like some class is referring to some android support v4 class that is not there anymore. Where can I find, for instance SupportContextMenu. I looked everywhere with no avail. I had to modify the pom.xml with the following and point to grepcode repo for the android package but now the dependencies are satisfied:

<dependency>
     <groupId>com.google.android</groupId>
     <artifactId>android</artifactId>
     <version>4.4.2_r1</version>
     <scope>provided</scope>
     <exclusions>
           <exclusion>
               <groupId>org.microemu</groupId>
               <artifactId>microemu-extensions</artifactId>
           </exclusion>
     </exclusions>
</dependency>
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project library: Compilation failure: Compilation failure:
[ERROR] /home/kapitan/git/HoloEverywhere/library/src/android/support/v7/internal/view/menu/ContextMenuDecorView.java:[5,40] cannot find symbol
[ERROR] symbol  : class SupportContextMenu
[ERROR] location: package android.support.v4.internal.view
[ERROR] /home/kapitan/git/HoloEverywhere/library/src/android/support/v7/internal/view/menu/ContextMenuBuilder.java:[9,40] cannot find symbol
[ERROR] symbol  : class SupportContextMenu
[ERROR] location: package android.support.v4.internal.view
[ERROR] /home/kapitan/git/HoloEverywhere/library/src/android/support/v7/internal/view/menu/ContextMenuBuilder.java:[15,64] cannot find symbol
[ERROR] symbol: class SupportContextMenu
[ERROR] /home/kapitan/git/HoloEverywhere/library/src/android/support/v7/internal/view/menu/ContextMenuBuilder.java:[16,13] cannot find symbol
[ERROR] symbol  : class ContextMenuInfo
[ERROR] location: class android.support.v7.internal.view.menu.ContextMenuBuilder
[ERROR] /home/kapitan/git/HoloEverywhere/library/src/android/support/v7/internal/view/menu/ContextMenuBuilder.java:[24,12] cannot find symbol
[ERROR] symbol  : class ContextMenuInfo
[ERROR] location: class android.support.v7.internal.view.menu.ContextMenuBuilder
[ERROR] /home/kapitan/git/HoloEverywhere/library/src/android/support/v7/internal/view/menu/ContextMenuBuilder.java:[28,15] cannot find symbol
[ERROR] symbol  : class ContextMenuInfo
[ERROR] location: class android.support.v7.internal.view.menu.ContextMenuBuilder
[ERROR] /home/kapitan/git/HoloEverywhere/library/src/android/support/v7/internal/view/menu/ContextMenuBuilder.java:[51,12] cannot find symbol
[ERROR] symbol  : class SupportContextMenu
[ERROR] location: class android.support.v7.internal.view.menu.ContextMenuBuilder
[ERROR] /home/kapitan/git/HoloEverywhere/library/src/android/support/v7/internal/view/menu/ContextMenuBuilder.java:[56,12] cannot find symbol
[ERROR] symbol  : class SupportContextMenu
[ERROR] location: class android.support.v7.internal.view.menu.ContextMenuBuilder
[ERROR] /home/kapitan/git/HoloEverywhere/library/src/android/support/v7/internal/view/menu/ContextMenuBuilder.java:[61,12] cannot find symbol
[ERROR] symbol  : class SupportContextMenu
[ERROR] location: class android.support.v7.internal.view.menu.ContextMenuBuilder
[ERROR] /home/kapitan/git/HoloEverywhere/library/src/android/support/v7/internal/view/menu/ContextMenuBuilder.java:[66,12] cannot find symbol
[ERROR] symbol  : class SupportContextMenu
[ERROR] location: class android.support.v7.internal.view.menu.ContextMenuBuilder
[ERROR] /home/kapitan/git/HoloEverywhere/library/src/android/support/v7/internal/view/menu/ContextMenuBuilder.java:[71,12] cannot find symbol
[ERROR] symbol  : class SupportContextMenu
[ERROR] location: class android.support.v7.internal.view.menu.ContextMenuBuilder
[ERROR] /home/kapitan/git/HoloEverywhere/library/src/android/support/v7/internal/view/menu/ContextMenuBuilder.java:[95,16] cannot find symbol
[ERROR] symbol  : class ContextMenuInfo
[ERROR] location: interface android.support.v7.internal.view.menu.ContextMenuBuilder.ContextMenuInfoGetter
[ERROR] /home/kapitan/git/HoloEverywhere/library/src/org/holoeverywhere/widget/datetimepicker/date/DatePickerDialog.java:[19,15] cannot find symbol
[ERROR] symbol  : class Manifest
[ERROR] location: package android
[ERROR] /home/kapitan/git/HoloEverywhere/library/src/org/holoeverywhere/widget/datetimepicker/time/RadialPickerLayout.java:[19,15] cannot find symbol
[ERROR] symbol  : class Manifest
[ERROR] location: package android
[ERROR] /home/kapitan/git/HoloEverywhere/library/src/android/support/v7/internal/view/menu/ContextMenuWrapperICS.java:[5,40] cannot find symbol
[ERROR] symbol  : class SupportContextMenu
[ERROR] location: package android.support.v4.internal.view
[ERROR] /home/kapitan/git/HoloEverywhere/library/src/android/support/v7/internal/view/menu/ContextMenuWrapperICS.java:[9,70] cannot find symbol
[ERROR] symbol: class SupportContextMenu
[ERROR] /home/kapitan/git/HoloEverywhere/library/src/android/support/v7/internal/view/menu/ContextMenuWrapperICS.java:[23,12] cannot find symbol
[ERROR] symbol  : class SupportContextMenu
[ERROR] location: class android.support.v7.internal.view.menu.ContextMenuWrapperICS
[ERROR] /home/kapitan/git/HoloEverywhere/library/src/android/support/v7/internal/view/menu/ContextMenuWrapperICS.java:[29,12] cannot find symbol
[ERROR] symbol  : class SupportContextMenu
[ERROR] location: class android.support.v7.internal.view.menu.ContextMenuWrapperICS
[ERROR] /home/kapitan/git/HoloEverywhere/library/src/android/support/v7/internal/view/menu/ContextMenuWrapperICS.java:[35,12] cannot find symbol
[ERROR] symbol  : class SupportContextMenu
[ERROR] location: class android.support.v7.internal.view.menu.ContextMenuWrapperICS
[ERROR] /home/kapitan/git/HoloEverywhere/library/src/android/support/v7/internal/view/menu/ContextMenuWrapperICS.java:[41,12] cannot find symbol
[ERROR] symbol  : class SupportContextMenu
[ERROR] location: class android.support.v7.internal.view.menu.ContextMenuWrapperICS
[ERROR] /home/kapitan/git/HoloEverywhere/library/src/android/support/v7/internal/view/menu/ContextMenuWrapperICS.java:[47,12] cannot find symbol
[ERROR] symbol  : class SupportContextMenu
[ERROR] location: class android.support.v7.internal.view.menu.ContextMenuWrapperICS
[ERROR] /home/kapitan/git/HoloEverywhere/library/src/android/support/v7/app/ActionBarActivity.java:[122,42] package android.R does not exist
[ERROR] /home/kapitan/git/HoloEverywhere/library/src/android/support/v7/internal/view/menu/ContextMenuDecorView.java:[31,40] cannot find symbol
[ERROR] symbol  : class SupportContextMenu
[ERROR] location: class android.support.v7.internal.view.menu.ContextMenuDecorView
[ERROR] /home/kapitan/git/HoloEverywhere/library/src/org/holoeverywhere/drawable/DrawableCompat.java:[153,19] cannot access java.lang.AutoCloseable
[ERROR] class file for java.lang.AutoCloseable not found
[ERROR] /home/kapitan/git/HoloEverywhere/library/src/org/holoeverywhere/drawable/DrawableCompat.java:[241,31] cannot find symbol
[ERROR] symbol  : method mergeDrawableStates(int[],int[])
[ERROR] location: class android.support.v4.view.ViewCompat
[ERROR] /home/kapitan/git/HoloEverywhere/library/src/android/support/v7/internal/view/menu/ContextMenuBuilder.java:[32,9] cannot find symbol
[ERROR] symbol  : class ContextMenuInfo
[ERROR] location: class android.support.v7.internal.view.menu.ContextMenuBuilder
[ERROR] /home/kapitan/git/HoloEverywhere/library/src/android/support/v7/internal/view/menu/ContextMenuBuilder.java:[36,25] cannot find symbol
[ERROR] symbol  : class ContextMenuInfo
[ERROR] location: class android.support.v7.internal.view.menu.ContextMenuBuilder
[ERROR] /home/kapitan/git/HoloEverywhere/library/src/android/support/v7/internal/view/menu/ContextMenuBuilder.java:[52,17] cannot find symbol
[ERROR] symbol  : class SupportContextMenu
[ERROR] location: class android.support.v7.internal.view.menu.ContextMenuBuilder
[ERROR] /home/kapitan/git/HoloEverywhere/library/src/android/support/v7/internal/view/menu/ContextMenuBuilder.java:[50,5] method does not override or implement a method from a supertype
[ERROR] /home/kapitan/git/HoloEverywhere/library/src/android/support/v7/internal/view/menu/ContextMenuBuilder.java:[57,17] cannot find symbol
[ERROR] symbol  : class SupportContextMenu
[ERROR] location: class android.support.v7.internal.view.menu.ContextMenuBuilder
[ERROR] /home/kapitan/git/HoloEverywhere/library/src/android/support/v7/internal/view/menu/ContextMenuBuilder.java:[55,5] method does not override or implement a method from a supertype
[ERROR] /home/kapitan/git/HoloEverywhere/library/src/android/support/v7/internal/view/menu/ContextMenuBuilder.java:[62,17] cannot find symbol
[ERROR] symbol  : class SupportContextMenu
[ERROR] location: class android.support.v7.internal.view.menu.ContextMenuBuilder
[ERROR] /home/kapitan/git/HoloEverywhere/library/src/android/support/v7/internal/view/menu/ContextMenuBuilder.java:[60,5] method does not override or implement a method from a supertype
[ERROR] /home/kapitan/git/HoloEverywhere/library/src/android/support/v7/internal/view/menu/ContextMenuBuilder.java:[67,17] cannot find symbol
[ERROR] symbol  : class SupportContextMenu
[ERROR] location: class android.support.v7.internal.view.menu.ContextMenuBuilder
[ERROR] /home/kapitan/git/HoloEverywhere/library/src/android/support/v7/internal/view/menu/ContextMenuBuilder.java:[65,5] method does not override or implement a method from a supertype
[ERROR] /home/kapitan/git/HoloEverywhere/library/src/android/support/v7/internal/view/menu/ContextMenuBuilder.java:[72,17] cannot find symbol
[ERROR] symbol  : class SupportContextMenu
[ERROR] location: class android.support.v7.internal.view.menu.ContextMenuBuilder
[ERROR] /home/kapitan/git/HoloEverywhere/library/src/android/support/v7/internal/view/menu/ContextMenuBuilder.java:[70,5] method does not override or implement a method from a supertype
[ERROR] /home/kapitan/git/HoloEverywhere/library/src/org/holoeverywhere/widget/FastScroller.java:[29,20] reportScrollStateChange(int) in android.widget.AbsListView cannot implement reportScrollStateChange(int) in org.holoeverywhere.widget.FastScroller.FastScrollerCallback; attempting to assign weaker access privileges; was public
[ERROR] /home/kapitan/git/HoloEverywhere/library/src/org/holoeverywhere/widget/LinearLayout.java:[305,23] isLayoutRtl() in org.holoeverywhere.widget.LinearLayout cannot override isLayoutRtl() in android.view.View; attempting to assign weaker access privileges; was public
[ERROR] /home/kapitan/git/HoloEverywhere/library/src/org/holoeverywhere/addon/IAddon.java:[69,35] type parameters of <V>V cannot be determined; no unique maximal instance exists for type variable V with upper bounds Z,org.holoeverywhere.addon.IAddonBase<T>
[ERROR] /home/kapitan/git/HoloEverywhere/library/src/org/holoeverywhere/addon/IAddon.java:[73,39] type parameters of <V>V cannot be determined; no unique maximal instance exists for type variable V with upper bounds Z,org.holoeverywhere.addon.IAddonBase<T>
[ERROR] /home/kapitan/git/HoloEverywhere/library/src/org/holoeverywhere/addon/IAddonBasicAttacher.java:[47,34] type parameters of <Z>Z cannot be determined; no unique maximal instance exists for type variable Z with upper bounds T,org.holoeverywhere.addon.IAddonBase<V>
[ERROR] /home/kapitan/git/HoloEverywhere/library/src/org/holoeverywhere/widget/datetimepicker/date/DatePickerDialog.java:[136,71] package Manifest does not exist
[ERROR] /home/kapitan/git/HoloEverywhere/library/src/org/holoeverywhere/widget/datetimepicker/time/RadialPickerLayout.java:[120,65] package Manifest does not exist
[ERROR] /home/kapitan/git/HoloEverywhere/library/src/android/support/v7/internal/view/menu/ContextMenuWrapperICS.java:[17,5] method does not override or implement a method from a supertype
[ERROR] /home/kapitan/git/HoloEverywhere/library/src/android/support/v7/internal/view/menu/ContextMenuWrapperICS.java:[22,5] method does not override or implement a method from a supertype
[ERROR] /home/kapitan/git/HoloEverywhere/library/src/android/support/v7/internal/view/menu/ContextMenuWrapperICS.java:[28,5] method does not override or implement a method from a supertype
[ERROR] /home/kapitan/git/HoloEverywhere/library/src/android/support/v7/internal/view/menu/ContextMenuWrapperICS.java:[34,5] method does not override or implement a method from a supertype
[ERROR] /home/kapitan/git/HoloEverywhere/library/src/android/support/v7/internal/view/menu/ContextMenuWrapperICS.java:[40,5] method does not override or implement a method from a supertype
[ERROR] /home/kapitan/git/HoloEverywhere/library/src/android/support/v7/internal/view/menu/ContextMenuWrapperICS.java:[46,5] method does not override or implement a method from a supertype
[ERROR] /home/kapitan/git/HoloEverywhere/library/src/android/support/v4/app/_HoloFragmentInflater.java:[18,31] cannot find symbol
[ERROR] symbol  : variable sNoSaveStateFrameLayoutCreator
[ERROR] location: class android.support.v4.app.NoSaveStateFrameLayout
[ERROR] /home/kapitan/git/HoloEverywhere/library/src/android/support/v4/app/_HoloFragmentInflater.java:[18,91] cannot find symbol
[ERROR] symbol  : class NoSaveStateFrameLayoutCreator
[ERROR] location: class android.support.v4.app.NoSaveStateFrameLayout
[ERROR] -> [Help 1]
Prototik commented 10 years ago

Are you f*cking kidding? Try to use com.android.support:support-v4:19.0.3 as support library.

[prok@prok-pc HoloEverywhere]$ mvn clean package
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] HoloEverywhere Parent
[INFO] HoloEverywhere Library
[INFO] HoloEverywhere Addons
[INFO] HoloEverywhere Slider
[INFO] HoloEverywhere Addon Preferences
[INFO] HoloEverywhere Demo
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building HoloEverywhere Parent 2.1.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ parent ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ parent ---
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building HoloEverywhere Library 2.1.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ library ---
[INFO] Deleting /home/prok/git/HoloEverywhere/library/target
[INFO] 
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ library ---
[INFO] 
[INFO] --- android-maven-plugin:3.8.0:generate-sources (default-generate-sources) @ library ---
[INFO] ANDROID-904-002: Found aidl files: Count = 0
[INFO] ANDROID-904-002: Found aidl files: Count = 0
[INFO] Manifest merging disabled. Using project manifest only
[INFO] /opt/android-sdk/build-tools/19.0.1/aapt [package, --non-constant-id, -m, -J, /home/prok/git/HoloEverywhere/library/target/generated-sources/r, -M, /home/prok/git/HoloEverywhere/library/AndroidManifest.xml, -S, /home/prok/git/HoloEverywhere/library/res, --auto-add-overlay, -I, /opt/android-sdk/platforms/android-19/android.jar]
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ library ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/prok/git/HoloEverywhere/library/src/main/resources
[INFO] skip non existing resourceDirectory /home/prok/git/HoloEverywhere/library/target/generated-sources/extracted-dependencies/src/main/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ library ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 185 source files to /home/prok/git/HoloEverywhere/library/target/classes
[WARNING] /home/prok/git/HoloEverywhere/library/src/android/support/v7/app/ActionBar.java: Some input files use or override a deprecated API.
[WARNING] /home/prok/git/HoloEverywhere/library/src/android/support/v7/app/ActionBar.java: Recompile with -Xlint:deprecation for details.
[WARNING] /home/prok/git/HoloEverywhere/library/src/org/holoeverywhere/widget/FastScroller.java: /home/prok/git/HoloEverywhere/library/src/org/holoeverywhere/widget/FastScroller.java uses unchecked or unsafe operations.
[WARNING] /home/prok/git/HoloEverywhere/library/src/org/holoeverywhere/widget/FastScroller.java: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- android-maven-plugin:3.8.0:proguard (default-proguard) @ library ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ library ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/prok/git/HoloEverywhere/library/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ library ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.13:test (default-test) @ library ---
[INFO] No tests to run.
[INFO] 
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ library ---
[INFO] Building jar: /home/prok/git/HoloEverywhere/library/target/library-2.1.1-SNAPSHOT.jar
[INFO] 
[INFO] --- android-maven-plugin:3.8.0:apklib (default-apklib) @ library ---
[INFO] /opt/android-sdk/build-tools/19.0.1/aapt [package, -f, -M, /home/prok/git/HoloEverywhere/library/AndroidManifest.xml, -S, /home/prok/git/HoloEverywhere/library/res, --auto-add-overlay, -I, /opt/android-sdk/platforms/android-19/android.jar, -F, /home/prok/git/HoloEverywhere/library/target/library-2.1.1-SNAPSHOT.ap_]
[INFO] /home/prok/git/HoloEverywhere/library/libs exists, adding libraries.
[INFO] Building jar: /home/prok/git/HoloEverywhere/library/target/library-2.1.1-SNAPSHOT.apklib
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building HoloEverywhere Addons 2.1.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ addons ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ addons ---
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building HoloEverywhere Slider 2.1.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ addon-slider ---
[INFO] Deleting /home/prok/git/HoloEverywhere/addons/slider/target
[INFO] 
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ addon-slider ---
[INFO] 
[INFO] --- android-maven-plugin:3.8.0:generate-sources (default-generate-sources) @ addon-slider ---
[DEBUG] Expanding: /home/prok/git/HoloEverywhere/library/target/library-2.1.1-SNAPSHOT.apklib into /home/prok/git/HoloEverywhere/addons/slider/target/unpack/apklibs/org.holoeverywhere_library_apklib_2.1.1-SNAPSHOT
[DEBUG] expand complete
[INFO] ANDROID-904-002: Found aidl files: Count = 0
[INFO] ANDROID-904-002: Found aidl files: Count = 0
[INFO] ANDROID-904-002: Found aidl files: Count = 0
[INFO] Manifest merging disabled. Using project manifest only
[INFO] /opt/android-sdk/build-tools/19.0.1/aapt [package, --non-constant-id, -m, -J, /home/prok/git/HoloEverywhere/addons/slider/target/generated-sources/r, -M, /home/prok/git/HoloEverywhere/addons/slider/AndroidManifest.xml, -S, /home/prok/git/HoloEverywhere/addons/slider/res, -S, /home/prok/git/HoloEverywhere/addons/slider/target/unpack/apklibs/org.holoeverywhere_library_apklib_2.1.1-SNAPSHOT/res, --auto-add-overlay, -A, /home/prok/git/HoloEverywhere/addons/slider/assets, -I, /opt/android-sdk/platforms/android-19/android.jar]
[INFO] /opt/android-sdk/build-tools/19.0.1/aapt [package, --non-constant-id, -m, -J, /home/prok/git/HoloEverywhere/addons/slider/target/generated-sources/r, --custom-package, org.holoeverywhere, -M, /home/prok/git/HoloEverywhere/addons/slider/AndroidManifest.xml, -S, /home/prok/git/HoloEverywhere/addons/slider/res, -S, /home/prok/git/HoloEverywhere/addons/slider/target/unpack/apklibs/org.holoeverywhere_library_apklib_2.1.1-SNAPSHOT/res, --auto-add-overlay, -A, /home/prok/git/HoloEverywhere/addons/slider/assets, -I, /opt/android-sdk/platforms/android-19/android.jar]
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ addon-slider ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/prok/git/HoloEverywhere/addons/slider/src/main/resources
[INFO] skip non existing resourceDirectory /home/prok/git/HoloEverywhere/addons/slider/target/generated-sources/extracted-dependencies/src/main/resources
[INFO] Copying 0 resource
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ addon-slider ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 189 source files to /home/prok/git/HoloEverywhere/addons/slider/target/classes
[WARNING] /home/prok/git/HoloEverywhere/addons/slider/target/unpack/apklibs/org.holoeverywhere_library_apklib_2.1.1-SNAPSHOT/src/org/holoeverywhere/app/Activity.java: Some input files use or override a deprecated API.
[WARNING] /home/prok/git/HoloEverywhere/addons/slider/target/unpack/apklibs/org.holoeverywhere_library_apklib_2.1.1-SNAPSHOT/src/org/holoeverywhere/app/Activity.java: Recompile with -Xlint:deprecation for details.
[WARNING] /home/prok/git/HoloEverywhere/addons/slider/target/unpack/apklibs/org.holoeverywhere_library_apklib_2.1.1-SNAPSHOT/src/org/holoeverywhere/widget/FastScroller.java: Some input files use unchecked or unsafe operations.
[WARNING] /home/prok/git/HoloEverywhere/addons/slider/target/unpack/apklibs/org.holoeverywhere_library_apklib_2.1.1-SNAPSHOT/src/org/holoeverywhere/widget/FastScroller.java: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- android-maven-plugin:3.8.0:proguard (default-proguard) @ addon-slider ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ addon-slider ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/prok/git/HoloEverywhere/addons/slider/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ addon-slider ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.13:test (default-test) @ addon-slider ---
[INFO] No tests to run.
[INFO] 
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ addon-slider ---
[INFO] Building jar: /home/prok/git/HoloEverywhere/addons/slider/target/addon-slider-2.1.1-SNAPSHOT.jar
[INFO] 
[INFO] --- android-maven-plugin:3.8.0:apklib (default-apklib) @ addon-slider ---
[INFO] /opt/android-sdk/build-tools/19.0.1/aapt [package, -f, -M, /home/prok/git/HoloEverywhere/addons/slider/AndroidManifest.xml, -S, /home/prok/git/HoloEverywhere/addons/slider/res, -S, /home/prok/git/HoloEverywhere/addons/slider/target/unpack/apklibs/org.holoeverywhere_library_apklib_2.1.1-SNAPSHOT/res, --auto-add-overlay, -A, /home/prok/git/HoloEverywhere/addons/slider/assets, -I, /opt/android-sdk/platforms/android-19/android.jar, -F, /home/prok/git/HoloEverywhere/addons/slider/target/addon-slider-2.1.1-SNAPSHOT.ap_]
[INFO] /home/prok/git/HoloEverywhere/addons/slider/libs does not exist, looking for libraries in target directory.
[INFO] Building jar: /home/prok/git/HoloEverywhere/addons/slider/target/addon-slider-2.1.1-SNAPSHOT.apklib
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building HoloEverywhere Addon Preferences 2.1.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ addon-preferences ---
[INFO] Deleting /home/prok/git/HoloEverywhere/addons/preferences/target
[INFO] 
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ addon-preferences ---
[INFO] 
[INFO] --- android-maven-plugin:3.8.0:generate-sources (default-generate-sources) @ addon-preferences ---
[DEBUG] Expanding: /home/prok/git/HoloEverywhere/library/target/library-2.1.1-SNAPSHOT.apklib into /home/prok/git/HoloEverywhere/addons/preferences/target/unpack/apklibs/org.holoeverywhere_library_apklib_2.1.1-SNAPSHOT
[DEBUG] expand complete
[INFO] ANDROID-904-002: Found aidl files: Count = 0
[INFO] ANDROID-904-002: Found aidl files: Count = 0
[INFO] ANDROID-904-002: Found aidl files: Count = 0
[INFO] Manifest merging disabled. Using project manifest only
[INFO] /opt/android-sdk/build-tools/19.0.1/aapt [package, --non-constant-id, -m, -J, /home/prok/git/HoloEverywhere/addons/preferences/target/generated-sources/r, -M, /home/prok/git/HoloEverywhere/addons/preferences/AndroidManifest.xml, -S, /home/prok/git/HoloEverywhere/addons/preferences/res, -S, /home/prok/git/HoloEverywhere/addons/preferences/target/unpack/apklibs/org.holoeverywhere_library_apklib_2.1.1-SNAPSHOT/res, --auto-add-overlay, -A, /home/prok/git/HoloEverywhere/addons/preferences/assets, -I, /opt/android-sdk/platforms/android-19/android.jar]
[INFO] /opt/android-sdk/build-tools/19.0.1/aapt [package, --non-constant-id, -m, -J, /home/prok/git/HoloEverywhere/addons/preferences/target/generated-sources/r, --custom-package, org.holoeverywhere, -M, /home/prok/git/HoloEverywhere/addons/preferences/AndroidManifest.xml, -S, /home/prok/git/HoloEverywhere/addons/preferences/res, -S, /home/prok/git/HoloEverywhere/addons/preferences/target/unpack/apklibs/org.holoeverywhere_library_apklib_2.1.1-SNAPSHOT/res, --auto-add-overlay, -A, /home/prok/git/HoloEverywhere/addons/preferences/assets, -I, /opt/android-sdk/platforms/android-19/android.jar]
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ addon-preferences ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/prok/git/HoloEverywhere/addons/preferences/src/main/resources
[INFO] skip non existing resourceDirectory /home/prok/git/HoloEverywhere/addons/preferences/target/generated-sources/extracted-dependencies/src/main/resources
[INFO] Copying 0 resource
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ addon-preferences ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 218 source files to /home/prok/git/HoloEverywhere/addons/preferences/target/classes
[WARNING] /home/prok/git/HoloEverywhere/addons/preferences/target/unpack/apklibs/org.holoeverywhere_library_apklib_2.1.1-SNAPSHOT/src/org/holoeverywhere/widget/datetimepicker/TouchExplorationHelper.java: Some input files use or override a deprecated API.
[WARNING] /home/prok/git/HoloEverywhere/addons/preferences/target/unpack/apklibs/org.holoeverywhere_library_apklib_2.1.1-SNAPSHOT/src/org/holoeverywhere/widget/datetimepicker/TouchExplorationHelper.java: Recompile with -Xlint:deprecation for details.
[WARNING] /home/prok/git/HoloEverywhere/addons/preferences/target/unpack/apklibs/org.holoeverywhere_library_apklib_2.1.1-SNAPSHOT/src/org/holoeverywhere/widget/FastScroller.java: /home/prok/git/HoloEverywhere/addons/preferences/target/unpack/apklibs/org.holoeverywhere_library_apklib_2.1.1-SNAPSHOT/src/org/holoeverywhere/widget/FastScroller.java uses unchecked or unsafe operations.
[WARNING] /home/prok/git/HoloEverywhere/addons/preferences/target/unpack/apklibs/org.holoeverywhere_library_apklib_2.1.1-SNAPSHOT/src/org/holoeverywhere/widget/FastScroller.java: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- android-maven-plugin:3.8.0:proguard (default-proguard) @ addon-preferences ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ addon-preferences ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/prok/git/HoloEverywhere/addons/preferences/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ addon-preferences ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.13:test (default-test) @ addon-preferences ---
[INFO] No tests to run.
[INFO] 
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ addon-preferences ---
[INFO] Building jar: /home/prok/git/HoloEverywhere/addons/preferences/target/addon-preferences-2.1.1-SNAPSHOT.jar
[INFO] 
[INFO] --- android-maven-plugin:3.8.0:apklib (default-apklib) @ addon-preferences ---
[INFO] /opt/android-sdk/build-tools/19.0.1/aapt [package, -f, -M, /home/prok/git/HoloEverywhere/addons/preferences/AndroidManifest.xml, -S, /home/prok/git/HoloEverywhere/addons/preferences/res, -S, /home/prok/git/HoloEverywhere/addons/preferences/target/unpack/apklibs/org.holoeverywhere_library_apklib_2.1.1-SNAPSHOT/res, --auto-add-overlay, -A, /home/prok/git/HoloEverywhere/addons/preferences/assets, -I, /opt/android-sdk/platforms/android-19/android.jar, -F, /home/prok/git/HoloEverywhere/addons/preferences/target/addon-preferences-2.1.1-SNAPSHOT.ap_]
[INFO] /home/prok/git/HoloEverywhere/addons/preferences/libs does not exist, looking for libraries in target directory.
[INFO] Building jar: /home/prok/git/HoloEverywhere/addons/preferences/target/addon-preferences-2.1.1-SNAPSHOT.apklib
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building HoloEverywhere Demo 2.1.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ demo ---
[INFO] Deleting /home/prok/git/HoloEverywhere/demo/target
[INFO] 
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ demo ---
[INFO] 
[INFO] --- android-maven-plugin:3.8.0:generate-sources (default-generate-sources) @ demo ---
[DEBUG] Expanding: /home/prok/git/HoloEverywhere/library/target/library-2.1.1-SNAPSHOT.apklib into /home/prok/git/HoloEverywhere/demo/target/unpack/apklibs/org.holoeverywhere_library_apklib_2.1.1-SNAPSHOT
[DEBUG] expand complete
[DEBUG] Expanding: /home/prok/git/HoloEverywhere/addons/slider/target/addon-slider-2.1.1-SNAPSHOT.apklib into /home/prok/git/HoloEverywhere/demo/target/unpack/apklibs/org.holoeverywhere_addon-slider_apklib_2.1.1-SNAPSHOT
[DEBUG] expand complete
[DEBUG] Expanding: /home/prok/git/HoloEverywhere/addons/preferences/target/addon-preferences-2.1.1-SNAPSHOT.apklib into /home/prok/git/HoloEverywhere/demo/target/unpack/apklibs/org.holoeverywhere_addon-preferences_apklib_2.1.1-SNAPSHOT
[DEBUG] expand complete
[INFO] ANDROID-904-002: Found aidl files: Count = 0
[INFO] ANDROID-904-002: Found aidl files: Count = 0
[INFO] ANDROID-904-002: Found aidl files: Count = 0
[INFO] ANDROID-904-002: Found aidl files: Count = 0
[INFO] ANDROID-904-002: Found aidl files: Count = 0
[INFO] Manifest merging disabled. Using project manifest only
[INFO] /opt/android-sdk/build-tools/19.0.1/aapt [package, -m, -J, /home/prok/git/HoloEverywhere/demo/target/generated-sources/r, -M, /home/prok/git/HoloEverywhere/demo/AndroidManifest.xml, -S, /home/prok/git/HoloEverywhere/demo/res, -S, /home/prok/git/HoloEverywhere/demo/target/unpack/apklibs/org.holoeverywhere_library_apklib_2.1.1-SNAPSHOT/res, -S, /home/prok/git/HoloEverywhere/demo/target/unpack/apklibs/org.holoeverywhere_addon-slider_apklib_2.1.1-SNAPSHOT/res, -S, /home/prok/git/HoloEverywhere/demo/target/unpack/apklibs/org.holoeverywhere_addon-preferences_apklib_2.1.1-SNAPSHOT/res, --auto-add-overlay, -I, /opt/android-sdk/platforms/android-19/android.jar]
[INFO] /opt/android-sdk/build-tools/19.0.1/aapt [package, --non-constant-id, -m, -J, /home/prok/git/HoloEverywhere/demo/target/generated-sources/r, --custom-package, org.holoeverywhere, -M, /home/prok/git/HoloEverywhere/demo/AndroidManifest.xml, -S, /home/prok/git/HoloEverywhere/demo/res, -S, /home/prok/git/HoloEverywhere/demo/target/unpack/apklibs/org.holoeverywhere_library_apklib_2.1.1-SNAPSHOT/res, -S, /home/prok/git/HoloEverywhere/demo/target/unpack/apklibs/org.holoeverywhere_addon-slider_apklib_2.1.1-SNAPSHOT/res, -S, /home/prok/git/HoloEverywhere/demo/target/unpack/apklibs/org.holoeverywhere_addon-preferences_apklib_2.1.1-SNAPSHOT/res, --auto-add-overlay, -A, /home/prok/git/HoloEverywhere/demo/target/unpack/apklibs/org.holoeverywhere_addon-slider_apklib_2.1.1-SNAPSHOT/assets, -A, /home/prok/git/HoloEverywhere/demo/target/unpack/apklibs/org.holoeverywhere_addon-preferences_apklib_2.1.1-SNAPSHOT/assets, -I, /opt/android-sdk/platforms/android-19/android.jar]
[INFO] /opt/android-sdk/build-tools/19.0.1/aapt [package, --non-constant-id, -m, -J, /home/prok/git/HoloEverywhere/demo/target/generated-sources/r, --custom-package, org.holoeverywhere.slider, -M, /home/prok/git/HoloEverywhere/demo/AndroidManifest.xml, -S, /home/prok/git/HoloEverywhere/demo/res, -S, /home/prok/git/HoloEverywhere/demo/target/unpack/apklibs/org.holoeverywhere_library_apklib_2.1.1-SNAPSHOT/res, -S, /home/prok/git/HoloEverywhere/demo/target/unpack/apklibs/org.holoeverywhere_addon-slider_apklib_2.1.1-SNAPSHOT/res, -S, /home/prok/git/HoloEverywhere/demo/target/unpack/apklibs/org.holoeverywhere_addon-preferences_apklib_2.1.1-SNAPSHOT/res, --auto-add-overlay, -A, /home/prok/git/HoloEverywhere/demo/target/unpack/apklibs/org.holoeverywhere_addon-slider_apklib_2.1.1-SNAPSHOT/assets, -A, /home/prok/git/HoloEverywhere/demo/target/unpack/apklibs/org.holoeverywhere_addon-preferences_apklib_2.1.1-SNAPSHOT/assets, -I, /opt/android-sdk/platforms/android-19/android.jar]
[INFO] /opt/android-sdk/build-tools/19.0.1/aapt [package, --non-constant-id, -m, -J, /home/prok/git/HoloEverywhere/demo/target/generated-sources/r, --custom-package, org.holoeverywhere.preference, -M, /home/prok/git/HoloEverywhere/demo/AndroidManifest.xml, -S, /home/prok/git/HoloEverywhere/demo/res, -S, /home/prok/git/HoloEverywhere/demo/target/unpack/apklibs/org.holoeverywhere_library_apklib_2.1.1-SNAPSHOT/res, -S, /home/prok/git/HoloEverywhere/demo/target/unpack/apklibs/org.holoeverywhere_addon-slider_apklib_2.1.1-SNAPSHOT/res, -S, /home/prok/git/HoloEverywhere/demo/target/unpack/apklibs/org.holoeverywhere_addon-preferences_apklib_2.1.1-SNAPSHOT/res, --auto-add-overlay, -A, /home/prok/git/HoloEverywhere/demo/target/unpack/apklibs/org.holoeverywhere_addon-slider_apklib_2.1.1-SNAPSHOT/assets, -A, /home/prok/git/HoloEverywhere/demo/target/unpack/apklibs/org.holoeverywhere_addon-preferences_apklib_2.1.1-SNAPSHOT/assets, -I, /opt/android-sdk/platforms/android-19/android.jar]
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ demo ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/prok/git/HoloEverywhere/demo/src/main/resources
[INFO] skip non existing resourceDirectory /home/prok/git/HoloEverywhere/demo/target/generated-sources/extracted-dependencies/src/main/resources
[INFO] Copying 0 resource
[INFO] Copying 0 resource
[INFO] Copying 0 resource
[INFO] 
[INFO] --- android-maven-plugin:3.8.0:consume-aar (default-consume-aar) @ demo ---
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ demo ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 266 source files to /home/prok/git/HoloEverywhere/demo/target/classes
[WARNING] /home/prok/git/HoloEverywhere/demo/target/unpack/apklibs/org.holoeverywhere_library_apklib_2.1.1-SNAPSHOT/src/android/support/v7/internal/widget/ActionBarContainer.java: Some input files use or override a deprecated API.
[WARNING] /home/prok/git/HoloEverywhere/demo/target/unpack/apklibs/org.holoeverywhere_library_apklib_2.1.1-SNAPSHOT/src/android/support/v7/internal/widget/ActionBarContainer.java: Recompile with -Xlint:deprecation for details.
[WARNING] /home/prok/git/HoloEverywhere/demo/target/unpack/apklibs/org.holoeverywhere_library_apklib_2.1.1-SNAPSHOT/src/org/holoeverywhere/widget/FastScroller.java: Some input files use unchecked or unsafe operations.
[WARNING] /home/prok/git/HoloEverywhere/demo/target/unpack/apklibs/org.holoeverywhere_library_apklib_2.1.1-SNAPSHOT/src/org/holoeverywhere/widget/FastScroller.java: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- android-maven-plugin:3.8.0:proguard (default-proguard) @ demo ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ demo ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/prok/git/HoloEverywhere/demo/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ demo ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.13:test (default-test) @ demo ---
[INFO] No tests to run.
[INFO] 
[INFO] --- android-maven-plugin:3.8.0:emma (default-emma) @ demo ---
[INFO] 
[INFO] --- android-maven-plugin:3.8.0:dex (default-dex) @ demo ---
[INFO] /usr/lib/jvm/java-7-openjdk/jre/bin/java [-Xmx1024M, -jar, /opt/android-sdk/build-tools/19.0.1/lib/dx.jar, --dex, --output=/home/prok/git/HoloEverywhere/demo/target/classes.dex, /home/prok/git/HoloEverywhere/library/target/library-2.1.1-SNAPSHOT.apklib, /home/prok/git/HoloEverywhere/addons/slider/target/addon-slider-2.1.1-SNAPSHOT.apklib, /home/prok/.m2/repository/com/nineoldandroids/library/2.4.0/library-2.4.0.jar, /home/prok/.m2/repository/com/android/support/support-v4/19.0.1/support-v4-19.0.1.jar, /home/prok/git/HoloEverywhere/demo/target/classes, /home/prok/git/HoloEverywhere/addons/preferences/target/addon-preferences-2.1.1-SNAPSHOT.apklib]
[INFO] 
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ demo ---
[INFO] Building jar: /home/prok/git/HoloEverywhere/demo/target/demo-2.1.1-SNAPSHOT.jar
[INFO] 
[INFO] --- android-maven-plugin:3.8.0:apk (default-apk) @ demo ---
[INFO] Copying dependency assets files to combined assets directory.
[INFO] Copying dependency assets files to combined assets directory.
[INFO] Enabling debug build for apk.
[INFO] /opt/android-sdk/build-tools/19.0.1/aapt [package, -f, -M, /home/prok/git/HoloEverywhere/demo/AndroidManifest.xml, -S, /home/prok/git/HoloEverywhere/demo/res, -S, /home/prok/git/HoloEverywhere/demo/target/unpack/apklibs/org.holoeverywhere_library_apklib_2.1.1-SNAPSHOT/res, -S, /home/prok/git/HoloEverywhere/demo/target/unpack/apklibs/org.holoeverywhere_addon-slider_apklib_2.1.1-SNAPSHOT/res, -S, /home/prok/git/HoloEverywhere/demo/target/unpack/apklibs/org.holoeverywhere_addon-preferences_apklib_2.1.1-SNAPSHOT/res, --auto-add-overlay, -A, /home/prok/git/HoloEverywhere/demo/target/generated-sources/combined-assets/assets, -I, /opt/android-sdk/platforms/android-19/android.jar, -F, /home/prok/git/HoloEverywhere/demo/target/demo-2.1.1-SNAPSHOT.ap_, --debug-mode]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] HoloEverywhere Parent ............................. SUCCESS [1.073s]
[INFO] HoloEverywhere Library ............................ SUCCESS [21.221s]
[INFO] HoloEverywhere Addons ............................. SUCCESS [0.003s]
[INFO] HoloEverywhere Slider ............................. SUCCESS [5.421s]
[INFO] HoloEverywhere Addon Preferences .................. SUCCESS [5.511s]
[INFO] HoloEverywhere Demo ............................... SUCCESS [15.967s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 55.026s
[INFO] Finished at: Mon Jan 27 14:30:13 KRAT 2014
[INFO] Final Memory: 27M/198M
[INFO] ------------------------------------------------------------------------
arichiardi commented 10 years ago

No kidding, just check your pom.xml and correct the version ;)

<dependency>
      <groupId>com.android.support</groupId>
      <artifactId>support-v4</artifactId>
       <version>19.0.1</version>
</dependency>