Robert Munteanu created SLING-2760:
--------------------------------------

             Summary: 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to