ItemNotFoundException: Item not found on UID public:/.../maven-jaxb2-plugin-0.7.2.pom in repository public

View: New views
2 Messages — Rating Filter:   Alert me  

ItemNotFoundException: Item not found on UID public:/.../maven-jaxb2-plugin-0.7.2.pom in repository public

by Dmitry Katsubo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dear nexus users!

I have problem in using Nexus as a proxy for
http://download.java.net/maven/2/ repository. I have attached the
screenshot of configuration menu for this repository. "mvn install"
fails as it not able to fetch .pom file. I have tried to open the URL in
the brouser, and here is the result:

=== brouser request for http://download.java.net/maven/2/org/jvnet/jaxb2/maven2/maven-jaxb2-plugin/0.7.2/maven-jaxb2-plugin-0.7.2.pom ===
Item not found on UID public:/org/jvnet/jaxb2/maven2/maven-jaxb2-plugin/0.7.2/maven-jaxb2-plugin-0.7.2.pomin repository public

You can get technical details here.
Please continue your visit at our home page.
=== end of output ===

What I do wrong? I cannot find also no information from nexus in tomcat
logs saying that "this artefact is missing, trying to retrieve it from
proxy"... Let me know, how can I increase logging, because I see
ItemNotFoundException in logs but no evidence that nexus tries to fetch
the artefact from the proxy.

Relevant issue is: http://www.nabble.com/Unable-to-add-java.net-repository-to-nexus-tp24033187p24033187.html

I tried to rebuild indexes and exire cache for all repositories one by
one - nothing helps.

=== output of "mvn install" ===
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[INFO] Building RDF Storage Common
[INFO]    task-segment: [install]
[INFO]
------------------------------------------------------------------------
[INFO] artifact org.apache.maven.plugins:maven-eclipse-plugin: checking for updates from central
[INFO] artifact org.apache.maven.plugins:maven-eclipse-plugin: checking for updates from maven2-repository.dev.java.net
Downloading: http://buildserver:8080/nexus/content/groups/public/org/jvnet/jaxb2/maven2/maven-jaxb2-plugin/0.7.2/maven-jaxb2-plugin-0.7.2.pom
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).

Project ID: org.jvnet.jaxb2.maven2:maven-jaxb2-plugin

Reason: POM 'org.jvnet.jaxb2.maven2:maven-jaxb2-plugin' not found in
repository: Unable to download the artifact from an
y repository

  org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:pom:0.7.2

from the specified remote repositories:
  nexus (http://buildserver:8080/nexus/content/groups/public)

 for project org.jvnet.jaxb2.maven2:maven-jaxb2-plugin
=== end of output ===

=== nexus log entry ===
2009-10-08 12:00:24 DEBUG [http-8080-7    ] -
o.s.p.r.r.ManagedPl~:content  - Got exception during processing GET http://buildserver:8080/nexus/content/groups/public/org/jvnet/jaxb2/maven2/maven-jaxb2-plugin/0.7.2/maven-jaxb2-plugin-0.7.2.pom
org.sonatype.nexus.proxy.ItemNotFoundException: Item not found on UID public:/org/jvnet/jaxb2/maven2/maven-jaxb2-plugin/0.7.2/maven-jaxb2-plugin-0.7.2.pom in repository public
        at org.sonatype.nexus.proxy.repository.AbstractGroupRepository.doRetrieveItem(AbstractGroupRepository.java:235)
        at org.sonatype.nexus.proxy.maven.maven2.M2GroupRepository.doRetrieveItem(M2GroupRepository.java:100)
        at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:796)
        at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:603)
        at org.sonatype.nexus.proxy.router.DefaultRepositoryRouter.retrieveItem(DefaultRepositoryRouter.java:117)
        at org.sonatype.nexus.rest.AbstractResourceStoreContentPlexusResource.get(AbstractResourceStoreContentPlexusResource.java:122)
        at org.sonatype.plexus.rest.resource.RestletResource.represent(RestletResource.java:260)
        at org.restlet.resource.Resource.getRepresentation(Resource.java:303)
=== end of nexus log entry ===



---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-user-unsubscribe@...
For additional commands, e-mail: nexus-user-help@...

nexus-repos.png (43K) Download Attachment

Re: ItemNotFoundException: Item not found on UID public:/.../maven-jaxb2-plugin-0.7.2.pom in repository public

by Brian Demers-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dmitry,

Change the Repository Policy to Release, and your problem should be  
solved.

On Oct 8, 2009, at 2:48 PM, Dmitry Katsubo wrote:

> Dear nexus users!
>
> I have problem in using Nexus as a proxy for
> http://download.java.net/maven/2/ repository. I have attached the
> screenshot of configuration menu for this repository. "mvn install"
> fails as it not able to fetch .pom file. I have tried to open the  
> URL in
> the brouser, and here is the result:
>
> === brouser request for http://download.java.net/maven/2/org/jvnet/jaxb2/maven2/maven-jaxb2-plugin/0.7.2/maven-jaxb2-plugin-0.7.2.pom 
>  ===
> Item not found on UID public:/org/jvnet/jaxb2/maven2/maven-jaxb2-
> plugin/0.7.2/maven-jaxb2-plugin-0.7.2.pomin repository public
>
> You can get technical details here.
> Please continue your visit at our home page.
> === end of output ===
>
> What I do wrong? I cannot find also no information from nexus in  
> tomcat
> logs saying that "this artefact is missing, trying to retrieve it from
> proxy"... Let me know, how can I increase logging, because I see
> ItemNotFoundException in logs but no evidence that nexus tries to  
> fetch
> the artefact from the proxy.
>
> Relevant issue is: http://www.nabble.com/Unable-to-add-java.net-repository-to-nexus-tp24033187p24033187.html
>
> I tried to rebuild indexes and exire cache for all repositories one by
> one - nothing helps.
>
> === output of "mvn install" ===
> [INFO] Scanning for projects...
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building RDF Storage Common
> [INFO]    task-segment: [install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] artifact org.apache.maven.plugins:maven-eclipse-plugin:  
> checking for updates from central
> [INFO] artifact org.apache.maven.plugins:maven-eclipse-plugin:  
> checking for updates from maven2-repository.dev.java.net
> Downloading: http://buildserver:8080/nexus/content/groups/public/org/jvnet/jaxb2/maven2/maven-jaxb2-plugin/0.7.2/maven-jaxb2-plugin-0.7.2.pom
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error building POM (may not be this project's POM).
>
> Project ID: org.jvnet.jaxb2.maven2:maven-jaxb2-plugin
>
> Reason: POM 'org.jvnet.jaxb2.maven2:maven-jaxb2-plugin' not found in
> repository: Unable to download the artifact from an
> y repository
>
>  org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:pom:0.7.2
>
> from the specified remote repositories:
>  nexus (http://buildserver:8080/nexus/content/groups/public)
>
> for project org.jvnet.jaxb2.maven2:maven-jaxb2-plugin
> === end of output ===
>
> === nexus log entry ===
> 2009-10-08 12:00:24 DEBUG [http-8080-7    ] -
> o.s.p.r.r.ManagedPl~:content  - Got exception during processing GET http://buildserver:8080/nexus/content/groups/public/org/jvnet/jaxb2/maven2/maven-jaxb2-plugin/0.7.2/maven-jaxb2-plugin-0.7.2.pom
> org.sonatype.nexus.proxy.ItemNotFoundException: Item not found on  
> UID public:/org/jvnet/jaxb2/maven2/maven-jaxb2-plugin/0.7.2/maven-
> jaxb2-plugin-0.7.2.pom in repository public
> at  
> org.sonatype.nexus.proxy.repository.AbstractGroupRepository.doRetrieveItem
> (AbstractGroupRepository.java:235)
> at  
> org.sonatype.nexus.proxy.maven.maven2
> .M2GroupRepository.doRetrieveItem(M2GroupRepository.java:100)
> at  
> org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem
> (AbstractRepository.java:796)
> at  
> org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem
> (AbstractRepository.java:603)
> at  
> org.sonatype.nexus.proxy.router.DefaultRepositoryRouter.retrieveItem
> (DefaultRepositoryRouter.java:117)
> at  
> org.sonatype.nexus.rest.AbstractResourceStoreContentPlexusResource.get
> (AbstractResourceStoreContentPlexusResource.java:122)
> at org.sonatype.plexus.rest.resource.RestletResource.represent
> (RestletResource.java:260)
> at org.restlet.resource.Resource.getRepresentation(Resource.java:303)
> === end of nexus log entry ===
>
> <nexus-
> repos.png
> >---------------------------------------------------------------------
> To unsubscribe, e-mail: nexus-user-unsubscribe@...
> For additional commands, e-mail: nexus-user-help@...


---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-user-unsubscribe@...
For additional commands, e-mail: nexus-user-help@...