Skip to content
This repository has been archived by the owner on Jan 14, 2023. It is now read-only.

Revise maven repository dependencies #40

Open
stonier opened this issue Feb 11, 2015 · 11 comments
Open

Revise maven repository dependencies #40

stonier opened this issue Feb 11, 2015 · 11 comments

Comments

@stonier
Copy link
Contributor

stonier commented Feb 11, 2015

Revise our maven url sources in the ros plugin @talregev is using the list below. I do not believe we need to add the rep.maven.xxx or central.maven.xxx - these should be automatically picked up by mavenCentral(). The jfrog is the standout one there - what is in that?

rootProject.allprojects {
    repositories {
        maven {
            url "https://github.com/talregev/rosjava_mvn_repo/raw/master/"
        }
        maven {
            url "https://github.com/rosjava/rosjava_mvn_repo/raw/master/"
        }
        maven {
            url "http://central.maven.org/maven2/"
        }
        maven {
            url "https://repo.jfrog.org/artifactory/libs-releases/"
        }
        maven {
            url "https://repo.maven.apache.org/maven2/"
        }
        maven {
            url "https://repo1.maven.org/maven2/"
        }
    }
}
@stonier
Copy link
Contributor Author

stonier commented Feb 20, 2015

Started migration in rosjava_bootstrap. Will hold off on the others for now till we're sure it's all working.

Also - rosjava_core is a problem - org.apache.commons.net isn't in the directory studio group.

@talregev
Copy link
Contributor

can you add this links to manven repository?

@talregev
Copy link
Contributor

Started migration in rosjava_bootstrap.

make sure after that migration, android_core still compile.
I try to do this, and i get an conflict with old jar: com.springsource.org.apache.commons.codec:1.3.0

@stonier
Copy link
Contributor Author

stonier commented Feb 20, 2015

Ah, this thing:

> com.android.ide.common.internal.LoggedErrorException: Failed to run command:
        /opt/android-sdk/build-tools/21.1.2/dx --dex --output /opt/android_core/src/android_core/android_tutorial_pubsub/build/intermediates/dex/release --input-list=/opt/android_core/src/android_core/android_tutorial_pubsub/build/intermediates/tmp/dex/release/inputList.txt
  Error Code:
        2
  Output:

        UNEXPECTED TOP-LEVEL EXCEPTION:
        com.android.dex.DexException: Multiple dex files define Lorg/apache/commons/codec/Decoder;
                at com.android.dx.merge.DexMerger.readSortableTypes(DexMerger.java:596)
                at com.android.dx.merge.DexMerger.getSortedTypes(DexMerger.java:554)
                at com.android.dx.merge.DexMerger.mergeClassDefs(DexMerger.java:535)

@talregev
Copy link
Contributor

yes :)
need to understand how get rid of this.
I try also compile javaros_core with new jars apache.directory.studio dependencies too but it didn't help.

I think need also to re-create all the messages and rosjava_messages with new dependencies

can you check it?

If you succeeded that will be great. and you will need to update maven_repository sooner that you thought. can

can you ask @DmitryDzz how he solve this issue?

@talregev
Copy link
Contributor

i added you on gtalk. so if you available to talk ....

@DmitryDzz
Copy link

I've been watching you 8-)
I didn't try to solve this issue. My project is on hold for a while. I believe I'll come back in a month. Sorry.

@talregev
Copy link
Contributor

it ok :)

@talregev
Copy link
Contributor

you can close this issue:
#37

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants