android + eclipse + maven + actionbarsherlock

Я читал много вещей о actionbarsherlock, maven, android, но я не нашел решенияЯ видел, работал на меня: (Я '

я уверен, что яЯ довольно близко к решению, но я нене понимаю, и мне нужна помощь :)

Итак, вот моя проблема, я пытаюсь создать проект Android Maven с зависимостью от Actionbarsherlock .... Это кажется довольно простым, но ямы всегда с ошибками

[2013-01-16 18:10:28 - Dex Loader] Unable to execute dex: Multiple dex files define Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat$AccessibilityServiceInfoVersionImpl;
[2013-01-16 18:10:28 - greennfc-samples] Conversion to Dalvik format failed: Unable to execute dex: Multiple dex files define Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat$AccessibilityServiceInfoVersionImpl;
[2013-01-16 18:10:50 - Dex Loader] Unable to execute dex: Multiple dex files define Lorg/hamcrest/Description;
[2013-01-16 18:10:50 - greennfc-samples] Conversion to Dalvik format failed: Unable to execute dex: Multiple dex files define Lorg/hamcrest/Description;

Вот моя конфигурация:

Eclipse Juno M2e 1.2.0 ADT 21 Maven 3.0.4

Вот родительский пом:


4.0.0

    org.sonatype.oss
    oss-parent
    7


com.greennfc.tools
greennfc
1.0.0-SNAPSHOT
Green NFC - Parent
Android Nfc library for an easer management of NFC features
pom
https://github.com/binomed/greennfc
2013




    
        Apache 2
        http://www.apache.org/licenses/LICENSE-2.0.txt
    



    Github Issue Tracker
    https://github.com/octo-online/robospice/issues



    
        JFG
        Jean-Francois Garreau
        [email protected]
    





    
    greennfc-core

    
    greennfc-filters

    

    
    greennfc-samples



    4.1.1.4
    14
    4.1.1.4
    r7
    3.5.0
    UTF-8
    UTF-8
    github
    true




    
        oss.sonatype.org-jayway-snapshots
        Jayway OpenSource SNAPSHOTs on Sonatype.org
        http://oss.sonatype.org/content/repositories/jayway-snapshots/
        
            true
        
    



    
        
            com.google.android
            annotations
            ${android-annotations.version}
            provided
        
        
            com.google.android
            android
            ${android.version}
            provided
        
        
            com.google.android
            android-test
            ${android.version}
            provided
        
        
            junit
            junit
            4.11
            provided
        

        
        
            commons-logging
            commons-logging
            1.1.1
        
    



    
        
            
            
                org.eclipse.m2e
                lifecycle-mapping
                1.0.0
                
                    
                        
                            
                                
                                    org.apache.maven.plugins
                                    maven-enforcer-plugin
                                    [1.0.0,)
                                    
                                        enforce
                                    
                                
                                
                                    
                                
                            
                            
                                
                                    org.apache.maven.plugins
                                    maven-dependency-plugin
                                    [1.0.0,)
                                    
                                        copy-dependencies
                                    
                                
                                
                                    
                                
                            
                        
                    
                
            
            
                com.jayway.maven.plugins.android.generation2
                android-maven-plugin
                ${android-maven-plugin.version}
            
            
                maven-compiler-plugin
                2.3.2
            
            
                maven-deploy-plugin
                2.7
            
            
                org.apache.maven.plugins
                maven-javadoc-plugin
                2.7
                
                    
                        http://commons.apache.org/lang/api
                        http://java.sun.com/j2se/1.5.0/docs/api
                    
                
            
            
                org.apache.maven.plugins
                maven-source-plugin
                2.1.2
            

            
            
                com.github.github
                downloads-maven-plugin
                0.6
                
                    ${project.version} release of ${project.name}
                    true
                    true
                    
                        ${project.artifactId}-${project.version}.jar
                    
                
                
                    
                        
                            upload
                        
                        deploy
                    
                
            

            
            
                com.github.github
                site-maven-plugin
                0.7
                
                    Creating site for ${project.version}
                
                
                    
                        
                            site
                        
                        site
                    
                
            
            
                org.apache.maven.plugins
                maven-site-plugin
                3.0
                
                    
                        
                            org.apache.maven.plugins
                            maven-project-info-reports-plugin
                            2.2
                            
                                true
                                true
                            
                        
                        
                            org.apache.maven.plugins
                            maven-javadoc-plugin
                            2.7
                        
                    
                
            
            
                org.apache.maven.plugins
                maven-gpg-plugin
                1.1
                
                    
                        sign-artifacts
                        verify
                        
                            sign
                        
                    
                
            
            
                org.apache.maven.plugins
                maven-release-plugin
                2.3.2
                
                    true
                
            
        
    



    
        sign
        
            
                performRelease
                true
            
        
        
            false
        
        
            
                
                    org.apache.maven.plugins
                    maven-gpg-plugin
                
            
        
    

а вот пом мой проект


4.0.0


    com.greennfc.tools
    greennfc
    1.0.0-SNAPSHOT


 greennfc-samples
  apk
 Green Nfc - Samples
 
    1.1.2
    4.2.0
    2.0
    1.4
    1.12.0-beta
    2.6.6
    1.9.9



    
    
        com.greennfc.tools
        greennfc-core
        ${project.version}
    

    
    
        com.google.android
        android
        provided
    
    
      com.google.android
      support-v4
        ${android-support.version}
      provided
    
    
      com.actionbarsherlock
      actionbarsherlock
      ${actionbarsherlock.version}
      provided
    
    
        com.actionbarsherlock
        actionbarsherlock
        ${actionbarsherlock.version}
        apklib
        provided
    
  


    src/
    
        
            com.jayway.maven.plugins.android.generation2
            android-maven-plugin
            
                ${project.basedir}/AndroidManifest.xml
                ${project.basedir}/assets
                ${project.basedir}/res
                ${project.basedir}/src/main/native
                
                    ${android-platform.version}
                
                true
            
            true
        

        
            maven-compiler-plugin
            
                1.6
                1.6
            
        
    

Вот что я пытаюсь:

Android-проект Maven с набором тестов http://v.zasadnyy.com/blog/abs-maven-eclipse-integration/

Как проект actionbarsherlock, яИспользуя головку репозитория git, я скопировал каталог библиотеки, вставил его в ту же папку, что и мой родительский проект, и переименовал его в соответствии с {groupId} - {artifactId} - {version} I '

я действительно открыт, чтобы перезапустить с нуля и найти способ сделать это правильно, потому что я нене понимаю, почему это не такт работа ... :(

Заранее спасибо за помощь

Ответы на вопрос(5)

Ваш ответ на вопрос