Re: Failing to create Proxy Repository for P2 Update Sites
There are a couple of things going on..
First, you need to increase the heap space for Nexus when using p2. You can do this by editing "<nexus_root>/bin/jsw/conf/wrapper.conf" and setting "wrapper.java.maxmemory". I'd suggest 1024m for p2.
Second, sometime in the last few days the p2 update sites at eclipse.org have started to publish a file called "p2.index". This file contains a list of p2 metadata files which are found on the site.
If you have p2 proxy repositories of update sites from eclipse.org this file will cause them to stop working, since they list files which Nexus does not publish.
The specific details of this issue can be found here:
We will be releasing a fix for this soon. But in the meantime you can work around this issue at the p2 repository group level by adding a routing rule with the following configuration:
URL Pattern: /p2.index
Rule Type: Blocking
Repository Group: All Repository Groups