Hi
Does anyone reliably know to force Nexus Open Source (v1.4.0) to update its meta-data?
I have been copying dependencies from local ~/.m2/repository to a remote server running Nexus. I do this by hand or using a script because there a lot more artefacts to move over.
The combination of mouse click on the Web UI
The repo manager just does not update the metadata or seem to recognise that I copied over
Weblogic-server/weblogic/10.0.3/*.{jar|pom}
And consequently build systems fails. Any ideas appreciated? Ta
--
Peter Pilgrim | E-Channel Services, Technical Lead, eBusiness
Lloyds Banking Group | Wholesale Markets & Treasury IT
33 Old Broad Street, London, EC2N 1HZ, UK
' +44 (0)207 158 6135 | ( +44 (0)1234 567 8901
I figured it out.
Nexus 1.4.0 comes a new Incremental Reindex and Rebuild Metadata.
Goto the “views/repositories” and then click on the “Repositories” link.
Under the repository detail on the central pane, you will see “browse storage” , “browse index”, “config” etc.
Clik on “Browse Index” , use the search to find the parent of the dependencies that you want to force regeneration on.
For instance I had missing
[INFO] Unable to find resource 'org.apache.maven.surefire:surefire-providers:pom:2.4.3' in repository central (http://ltsbci:8080/nexus/content/groups/public-all)
So I navigated to “org/apache/maven/surefire/” in order to force partial regeneration of the repo.
On that node I selected in this special order the commands, one by one: “Expire Cache”, “Incremental ReIndex” and then “Rebuild Metadata”. The last item is the most important.
(You will notice in the Nexus logs the merging of the metadata going up the tree to virtual repos (groups))
HTHSB
--
Peter Pilgrim | E-Channel Services, Technical Lead, eBusiness
Lloyds Banking Group | Wholesale Markets & Treasury IT
33 Old Broad Street, London, EC2N 1HZ, UK
' +44 (0)207 158 6135 | ( +44 (0)1234 567 8901
--
You received this message because you are subscribed to the Google Groups "JAVAWUG" group.
To post to this group, send email to jav...@googlegroups.com.
To unsubscribe from this group, send email to javawug+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/javawug?hl=en.