How to include your maven repo in nexus?

Martin Heinemann April 16, 2013

Hi,

i'm trying to include your maven plugin repo in our nexus as proxy repository as defined in your pom https://bitbucket.org/hindsightsoftwareltd/behave-maven-quickstart/src/447f2d79ece82b2c876bb1d8716a856087f45f97/pom.xml?at=master

but it is not working because the archetype-catalog.xml is not present in the folder.

I get this as stacktrace:

org.sonatype.nexus.proxy.RemoteAuthenticationNeededException: Unauthorized
        at org.sonatype.nexus.proxy.storage.remote.commonshttpclient.CommonsHttpClientRemoteStorage.executeMethod(CommonsHttpClientRemoteStorage.java:372)
        at org.sonatype.nexus.proxy.storage.remote.commonshttpclient.CommonsHttpClientRemoteStorage.checkRemoteAvailability(CommonsHttpClientRemoteStorage.java:481)
        at org.sonatype.nexus.proxy.storage.remote.AbstractHTTPRemoteRepositoryStorage.containsItem(AbstractHTTPRemoteRepositoryStorage.java:97)
        at org.sonatype.nexus.proxy.repository.AbstractProxyRepository.doCheckRemoteItemExistence(AbstractProxyRepository.java:1423)
        at org.sonatype.nexus.proxy.repository.AbstractProxyRepository.doRetrieveItem0(AbstractProxyRepository.java:1174)
        at org.sonatype.nexus.proxy.repository.AbstractProxyRepository.doRetrieveItem(AbstractProxyRepository.java:1113)
        at org.sonatype.nexus.proxy.maven.AbstractMavenRepository.doRetrieveItem(AbstractMavenRepository.java:393)
        at org.sonatype.nexus.proxy.maven.maven2.M2Repository.doRetrieveItem(M2Repository.java:431)

Is this a bug?

Thanks

2 answers

1 accepted

0 votes
Answer accepted
Alan Parkinson [Hindsight Software]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 16, 2013

We don't publish any archetype's so this file shouldn't actually be available. We have noew removed the catelog from the maven repository.

Alan Parkinson [Hindsight Software]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 16, 2013

We have now removed the catelog from the maven repository

Martin Heinemann April 16, 2013

ok, now it is working. Thank you!

0 votes
Alan Parkinson [Hindsight Software]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 16, 2013

A archetype-catalog is published within the repository. Can you see http://hindsighttesting.artifactoryonline.com/hindsighttesting/libs-releases/archetype-catalog.xml ?

Martin Heinemann April 16, 2013

Well, this file is password protected. I cannot open it.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events