I'm trying to add a dependency to the cglib-nodep-2.1.jar

I have mavenCentral() defined as a repository and added
dependencies { compile "cglib:cglib-nodep:2.1" }
to build.gradle for a project.

I get the following error for this:

Download http://repo1.maven.org/maven2/cglib/cglib-nodep/2.1/cglib-nodep-2.1.pom
:::: WARNINGS
                ::::::::::::::::::::::::::::::::::::::::::::::

                ::          UNRESOLVED DEPENDENCIES         ::

                ::::::::::::::::::::::::::::::::::::::::::::::

                :: cglib#cglib-nodep;2.1: java.text.ParseException:
inconsistent module descriptor file found in
'http://repo1.maven.org/maven2/cglib/cglib-nodep/2.1/cglib-nodep-2.1.pom':
bad revision: expected='2.1' found='2.1-nodep';

                ::::::::::::::::::::::::::::::::::::::::::::::

This makes sense because the pom file at
http://repo2.maven.org/maven2/cglib/cglib-nodep/2.1/cglib-nodep-2.1.pom
has the wrong version value (2.1-nodep instead of 2.1).

I added @jar to the dependency, expecting to just get the jar
regardless of the error in the pom file but I still get the same
message. Same results when adding the dependency
compile group: 'cglib', name: 'cglib-nodep', version: '2.1', ext: 'jar'

I've solved this temporarily by adding the jar to SVN and retrieving
it from there, but I'd appreciate any suggestions on getting this
retrieved from a public repository.

Thanks,
David

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to