[ https://issues.apache.org/jira/browse/SLING-2760?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bruce Edge updated SLING-2760: ------------------------------ Comment: was deleted (was: Following the current readme on building sling http://sling.apache.org/documentation/development/getting-and-building-sling.html, this problem still exists. [ERROR] Failed to execute goal on project org.apache.sling.auth.openid: Could not resolve dependencies for project org.apache.sling:org.apache.sling.auth.openid:bundle:1.0.5-SNAPSHOT: The following artifacts could not be resolved: com.dyuproject:dyuproject-openid:jar:1.1.7, com.dyuproject:dyuproject-util:jar:1.1.7, com.dyuproject:dyuproject-json:jar:1.1.7: Failure to find com.dyuproject:dyuproject-openid:jar:1.1.7 What's the workaround? ) > org.apache.sling.auth.openid bundle has dependencies not available on Maven > central > ----------------------------------------------------------------------------------- > > Key: SLING-2760 > URL: https://issues.apache.org/jira/browse/SLING-2760 > Project: Sling > Issue Type: Bug > Components: Authentication > Affects Versions: OpenID Authentication 1.0.2 > Reporter: Robert Munteanu > Priority: Minor > > The org.apache.sling.auth.openid bundle includes the following repository > definition in its pom.xml file > {code} <repositories> > <repository> > <releases> > <enabled>true</enabled> > </releases> > <id>dyuproject-repo</id> > <name>dyuproject-repo</name> > <url>http://dyuproject.googlecode.com/svn/repos/maven2</url> > </repository> > </repositories> > {code} > and the following dependencies > {code} > <dependency> > <groupId>com.dyuproject</groupId> > <artifactId>dyuproject-openid</artifactId> > <version>1.1.7</version> > </dependency> > <dependency> > <groupId>com.dyuproject</groupId> > <artifactId>dyuproject-util</artifactId> > <version>1.1.7</version> > </dependency> > <dependency> > <groupId>com.dyuproject</groupId> > <artifactId>dyuproject-json</artifactId> > <version>1.1.7</version> > </dependency> > {code} > Since we sync/upload these artifacts to maven central [1] we should consider > following the recommendation of not adding repositories to POMs [2] . There > is an open request in the dyuproject tracker [3] to upload the openid > artifacts to Maven Central, but it's been there for almost two years, and the > project hasn't seen much activity ( no commits since June 2011 ). > I see two ways around this issue: > - Use the sonatype service for uploading 3rd party bundles to Maven Central > [4] > - Replace the com.dyuproject dependency with something different > Thoughts? > [1]: http://search.maven.org/#search|ga|1|org.apache.sling.auth.openid > [2]: > https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide#SonatypeOSSMavenRepositoryUsageGuide-6.CentralSyncRequirement > [3]: http://code.google.com/p/dyuproject/issues/detail?id=32 > [4]: > https://docs.sonatype.org/display/Repository/Uploading+3rd-party+Artifacts+to+The+Central+Repository -- This message was sent by Atlassian JIRA (v6.3.4#6332)