I am trying to update my gradle-upload-auth-plugin to work with gradle-1.0-milestone-2. Apparently between m1 and m2 the return type of org.gradle.api.artifacts.maven.MavenDeployer.getRespository() changed from org.apache.maven.artifact.ant.RemoteRepository to Object. No worries, so I tried to just cast the returned Object to org.apache.maven.artifact.ant.RemoteRepository. But I get this lovely message:

Cause: org.apache.maven.artifact.ant.RemoteRepository cannot be cast to org.apache.maven.artifact.ant.RemoteRepository

I have to assume this is some form of classpath issue.

Here is my buildscript section:
buildscript {
    repositories {
        mavenLocal()
mavenRepo name: 'jboss-nexus', urls: "https://repository.jboss.org/nexus/content/groups/public/"; mavenRepo name: "jboss-snapshots", urls: "http://snapshots.jboss.org/maven2/";
    }
    dependencies {
classpath 'org.hibernate.build.gradle:gradle-upload-auth-plugin:1.0.2-SNAPSHOT'
    }
}

The dependency is being resolved correctly.

Any ideas?

--
Steve Ebersole <[email protected]>
http://hibernate.org

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

   http://xircles.codehaus.org/manage_email


Reply via email to