Can't get index, and possibly artifacts, from Maven Central

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

Can't get index, and possibly artifacts, from Maven Central

by wkhatch :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I just installed 1.4.0, set it up and imported my local repository into it. I've configured all the public repositories that provide an index to download the index. I'm getting the index from Codehaus, but not Central. When I select the repository and click ReIndex, I get this in the logs:

2009-11-06 01:11:06 INFO  [ool-1-thread-15] - o.s.n.i.ComposableI~:lucene   - Trying to get remote index for repository central
2009-11-06 01:11:06 INFO  [ool-1-thread-15] - o.s.n.p.r.Repository:maven2   - Expiring local cache in repository ID='central' from path='/.index'
2009-11-06 01:11:06 INFO  [ool-1-thread-15] - o.s.n.p.w.Walker:default      - Aborted walking on repository ID='central' from path='/.index', cause: Item not found on path /.index in repository central
2009-11-06 01:11:06 INFO  [ool-1-thread-15] - o.s.n.p.r.Repository:maven2   - Clearing NFC cache in repository ID='central' from path='/.index'
2009-11-06 01:11:06 INFO  [ool-1-thread-15] - o.s.n.i.ComposableI~:lucene   - Remote indexes updated successfully for repository central
2009-11-06 01:11:06 INFO  [ool-1-thread-15] - o.s.n.i.ComposableI~:lucene   - Cascading merge of group indexes for group 'public', where repository 'central' is member.
2009-11-06 01:11:08 INFO  [ool-1-thread-15] - o.s.n.i.ComposableI~:lucene   - Publishing best index for repository central
2009-11-06 01:11:08 INFO  [ool-1-thread-15] - o.s.n.i.p.IndexPack~:default  - Unable to read properties file, will force index regeneration
2009-11-06 01:11:08 INFO  [ool-1-thread-15] - o.s.n.f.FeedRecorder:default  - Reindexing repository Maven Central from path / and below. : Process started on Fri Nov 06 01:11:06 CST 2009, finished successfully on Fri Nov 06 01:11:08 CST 2009

and when I subsequently "Browse Index" on Central, I see Maven Central (Not Available)

I'm also suspicious that it's not able to pull artifacts from central, as I've added the maven-deploy-plugin to one of my projects (local settings.xml are pointing to our nexus for everything, and everything else works) so I can push new artifacts up to nexus, and it fails with an artifact not found exception. This would indicate our nexus is unable to get it from central, correct?

Re: Can't get index, and possibly artifacts, from Maven Central

by Brian Fox :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Did you use the import tools to clean up the local repo first? You
should delete all the maven-metadata files and separate the snapshots
and releases (this is what the cli tools do)

Then after copying it in, run reindex.

On Fri, Nov 6, 2009 at 12:05 PM, wkhatch <wkhatch@...> wrote:

>
> I just installed 1.4.0, set it up and imported my local repository into it.
> I've configured all the public repositories that provide an index to
> download the index. I'm getting the index from Codehaus, but not Central.
> When I select the repository and click ReIndex, I get this in the logs:
>
> 2009-11-06 01:11:06 INFO  [ool-1-thread-15] - o.s.n.i.ComposableI~:lucene
> - Trying to get remote index for repository central
> 2009-11-06 01:11:06 INFO  [ool-1-thread-15] - o.s.n.p.r.Repository:maven2
> - Expiring local cache in repository ID='central' from path='/.index'
> 2009-11-06 01:11:06 INFO  [ool-1-thread-15] - o.s.n.p.w.Walker:default
> - Aborted walking on repository ID='central' from path='/.index', cause:
> Item not found on path /.index in repository central
> 2009-11-06 01:11:06 INFO  [ool-1-thread-15] - o.s.n.p.r.Repository:maven2
> - Clearing NFC cache in repository ID='central' from path='/.index'
> 2009-11-06 01:11:06 INFO  [ool-1-thread-15] - o.s.n.i.ComposableI~:lucene
> - Remote indexes updated successfully for repository central
> 2009-11-06 01:11:06 INFO  [ool-1-thread-15] - o.s.n.i.ComposableI~:lucene
> - Cascading merge of group indexes for group 'public', where repository
> 'central' is member.
> 2009-11-06 01:11:08 INFO  [ool-1-thread-15] - o.s.n.i.ComposableI~:lucene
> - Publishing best index for repository central
> 2009-11-06 01:11:08 INFO  [ool-1-thread-15] - o.s.n.i.p.IndexPack~:default
> - Unable to read properties file, will force index regeneration
> 2009-11-06 01:11:08 INFO  [ool-1-thread-15] - o.s.n.f.FeedRecorder:default
> - Reindexing repository Maven Central from path / and below. : Process
> started on Fri Nov 06 01:11:06 CST 2009, finished successfully on Fri Nov 06
> 01:11:08 CST 2009
>
> and when I subsequently "Browse Index" on Central, I see Maven Central (Not
> Available)
>
> I'm also suspicious that it's not able to pull artifacts from central, as
> I've added the maven-deploy-plugin to one of my projects (local settings.xml
> are pointing to our nexus for everything, and everything else works) so I
> can push new artifacts up to nexus, and it fails with an artifact not found
> exception. This would indicate our nexus is unable to get it from central,
> correct?
> --
> View this message in context: http://old.nabble.com/Can%27t-get-index%2C-and-possibly-artifacts%2C-from-Maven-Central-tp26230882p26230882.html
> Sent from the Nexus Maven Repository Manager Users List mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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@...


Re: Can't get index, and possibly artifacts, from Maven Central

by wkhatch :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Yes, I used the jar from the cli, following the instructions here:

sonatype docs cli tools

Brian Fox wrote:
Did you use the import tools to clean up the local repo first? You
should delete all the maven-metadata files and separate the snapshots
and releases (this is what the cli tools do)

Then after copying it in, run reindex.

On Fri, Nov 6, 2009 at 12:05 PM, wkhatch <wkhatch@me.com> wrote:
>
> I just installed 1.4.0, set it up and imported my local repository into it.
> I've configured all the public repositories that provide an index to
> download the index. I'm getting the index from Codehaus, but not Central.
> When I select the repository and click ReIndex, I get this in the logs:
>
> 2009-11-06 01:11:06 INFO  [ool-1-thread-15] - o.s.n.i.ComposableI~:lucene
> - Trying to get remote index for repository central
> 2009-11-06 01:11:06 INFO  [ool-1-thread-15] - o.s.n.p.r.Repository:maven2
> - Expiring local cache in repository ID='central' from path='/.index'
> 2009-11-06 01:11:06 INFO  [ool-1-thread-15] - o.s.n.p.w.Walker:default
> - Aborted walking on repository ID='central' from path='/.index', cause:
> Item not found on path /.index in repository central
> 2009-11-06 01:11:06 INFO  [ool-1-thread-15] - o.s.n.p.r.Repository:maven2
> - Clearing NFC cache in repository ID='central' from path='/.index'
> 2009-11-06 01:11:06 INFO  [ool-1-thread-15] - o.s.n.i.ComposableI~:lucene
> - Remote indexes updated successfully for repository central
> 2009-11-06 01:11:06 INFO  [ool-1-thread-15] - o.s.n.i.ComposableI~:lucene
> - Cascading merge of group indexes for group 'public', where repository
> 'central' is member.
> 2009-11-06 01:11:08 INFO  [ool-1-thread-15] - o.s.n.i.ComposableI~:lucene
> - Publishing best index for repository central
> 2009-11-06 01:11:08 INFO  [ool-1-thread-15] - o.s.n.i.p.IndexPack~:default
> - Unable to read properties file, will force index regeneration
> 2009-11-06 01:11:08 INFO  [ool-1-thread-15] - o.s.n.f.FeedRecorder:default
> - Reindexing repository Maven Central from path / and below. : Process
> started on Fri Nov 06 01:11:06 CST 2009, finished successfully on Fri Nov 06
> 01:11:08 CST 2009
>
> and when I subsequently "Browse Index" on Central, I see Maven Central (Not
> Available)
>
> I'm also suspicious that it's not able to pull artifacts from central, as
> I've added the maven-deploy-plugin to one of my projects (local settings.xml
> are pointing to our nexus for everything, and everything else works) so I
> can push new artifacts up to nexus, and it fails with an artifact not found
> exception. This would indicate our nexus is unable to get it from central,
> correct?
> --
> View this message in context: http://old.nabble.com/Can%27t-get-index%2C-and-possibly-artifacts%2C-from-Maven-Central-tp26230882p26230882.html
> Sent from the Nexus Maven Repository Manager Users List mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: nexus-user-unsubscribe@sonatype.org
> For additional commands, e-mail: nexus-user-help@sonatype.org
>
>

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

Re: Can't get index, and possibly artifacts, from Maven Central

by Brian Fox :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Ok, so if you enable the remote index download and trigger a reindex
on your repo, it will have the index browseable after.

Fwiw, importing a local repo into nexus isn't going to give you a
great start. You'll start off with a bunch of stuff munged all
together instead of being able to have the artifacts separated by
their source. I would instead keep just the things you really need
that aren't in a remote repo, like 3rd party jars and put those into
the correct place in Nexus.

As far as downloading from the remote repo, make sure these repos you
have are in the group you're using, and that maven is configured with
the settings like shown in the book. The index is only used for
searching, it won't affect remote downloads.

On Fri, Nov 6, 2009 at 9:28 PM, wkhatch <wkhatch@...> wrote:

>
> Yes, I used the jar from the cli, following the instructions here:
>
> https://docs.sonatype.com/display/NX/Nexus+Command+Line+Tools sonatype docs
> cli tools
>
>
> Brian Fox wrote:
>>
>> Did you use the import tools to clean up the local repo first? You
>> should delete all the maven-metadata files and separate the snapshots
>> and releases (this is what the cli tools do)
>>
>> Then after copying it in, run reindex.
>>
>> On Fri, Nov 6, 2009 at 12:05 PM, wkhatch <wkhatch@...> wrote:
>>>
>>> I just installed 1.4.0, set it up and imported my local repository into
>>> it.
>>> I've configured all the public repositories that provide an index to
>>> download the index. I'm getting the index from Codehaus, but not Central.
>>> When I select the repository and click ReIndex, I get this in the logs:
>>>
>>> 2009-11-06 01:11:06 INFO  [ool-1-thread-15] - o.s.n.i.ComposableI~:lucene
>>> - Trying to get remote index for repository central
>>> 2009-11-06 01:11:06 INFO  [ool-1-thread-15] - o.s.n.p.r.Repository:maven2
>>> - Expiring local cache in repository ID='central' from path='/.index'
>>> 2009-11-06 01:11:06 INFO  [ool-1-thread-15] - o.s.n.p.w.Walker:default
>>> - Aborted walking on repository ID='central' from path='/.index', cause:
>>> Item not found on path /.index in repository central
>>> 2009-11-06 01:11:06 INFO  [ool-1-thread-15] - o.s.n.p.r.Repository:maven2
>>> - Clearing NFC cache in repository ID='central' from path='/.index'
>>> 2009-11-06 01:11:06 INFO  [ool-1-thread-15] - o.s.n.i.ComposableI~:lucene
>>> - Remote indexes updated successfully for repository central
>>> 2009-11-06 01:11:06 INFO  [ool-1-thread-15] - o.s.n.i.ComposableI~:lucene
>>> - Cascading merge of group indexes for group 'public', where repository
>>> 'central' is member.
>>> 2009-11-06 01:11:08 INFO  [ool-1-thread-15] - o.s.n.i.ComposableI~:lucene
>>> - Publishing best index for repository central
>>> 2009-11-06 01:11:08 INFO  [ool-1-thread-15] -
>>> o.s.n.i.p.IndexPack~:default
>>> - Unable to read properties file, will force index regeneration
>>> 2009-11-06 01:11:08 INFO  [ool-1-thread-15] -
>>> o.s.n.f.FeedRecorder:default
>>> - Reindexing repository Maven Central from path / and below. : Process
>>> started on Fri Nov 06 01:11:06 CST 2009, finished successfully on Fri Nov
>>> 06
>>> 01:11:08 CST 2009
>>>
>>> and when I subsequently "Browse Index" on Central, I see Maven Central
>>> (Not
>>> Available)
>>>
>>> I'm also suspicious that it's not able to pull artifacts from central, as
>>> I've added the maven-deploy-plugin to one of my projects (local
>>> settings.xml
>>> are pointing to our nexus for everything, and everything else works) so I
>>> can push new artifacts up to nexus, and it fails with an artifact not
>>> found
>>> exception. This would indicate our nexus is unable to get it from
>>> central,
>>> correct?
>>> --
>>> View this message in context:
>>> http://old.nabble.com/Can%27t-get-index%2C-and-possibly-artifacts%2C-from-Maven-Central-tp26230882p26230882.html
>>> Sent from the Nexus Maven Repository Manager Users List mailing list
>>> archive at Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> 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@...
>>
>>
>>
>
> --
> View this message in context: http://old.nabble.com/Can%27t-get-index%2C-and-possibly-artifacts%2C-from-Maven-Central-tp26230882p26238546.html
> Sent from the Nexus Maven Repository Manager Users List mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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@...


Re: Can't get index, and possibly artifacts, from Maven Central

by wkhatch :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I've tried reindexing a whole bunch of times and the output from the initial post is what I'm getting; it's not working, but claims it is. No matter what, I end up with Maven Central (Not Available) when I try to browse the index. So, why would it claim success when it's clearly not successful? What could be causing that? Also, adding another dependency to my project does not result in nexus downloading it either, I just get errors there as well. Like the deployment plug in. I'm going to have to change back to not using nexus, get the plug in to download to my local, and then upload it to nexus, then switch back. But that still doesn't solve the problem of why it's not working. I would think if it failed for whatever reason, the log would indicate why, but it's telling me it's successful.

The only stuff I had in my local repository were all necessary, so I thought it would be a good way to populate the nexus repository initially. If not for that, I guess it wouldn't be working at all. But, the Codehaus index is working, and I reindexed that as well, so something is fishy. Back to google...;-)


Brian Fox wrote:
Ok, so if you enable the remote index download and trigger a reindex
on your repo, it will have the index browseable after.

Fwiw, importing a local repo into nexus isn't going to give you a
great start. You'll start off with a bunch of stuff munged all
together instead of being able to have the artifacts separated by
their source. I would instead keep just the things you really need
that aren't in a remote repo, like 3rd party jars and put those into
the correct place in Nexus.

As far as downloading from the remote repo, make sure these repos you
have are in the group you're using, and that maven is configured with
the settings like shown in the book. The index is only used for
searching, it won't affect remote downloads.

On Fri, Nov 6, 2009 at 9:28 PM, wkhatch <wkhatch@me.com> wrote:
>
> Yes, I used the jar from the cli, following the instructions here:
>
> https://docs.sonatype.com/display/NX/Nexus+Command+Line+Tools sonatype docs
> cli tools
>
>
> Brian Fox wrote:
>>
>> Did you use the import tools to clean up the local repo first? You
>> should delete all the maven-metadata files and separate the snapshots
>> and releases (this is what the cli tools do)
>>
>> Then after copying it in, run reindex.
>>
>> On Fri, Nov 6, 2009 at 12:05 PM, wkhatch <wkhatch@me.com> wrote:
>>>
>>> I just installed 1.4.0, set it up and imported my local repository into
>>> it.
>>> I've configured all the public repositories that provide an index to
>>> download the index. I'm getting the index from Codehaus, but not Central.
>>> When I select the repository and click ReIndex, I get this in the logs:
>>>
>>> 2009-11-06 01:11:06 INFO  [ool-1-thread-15] - o.s.n.i.ComposableI~:lucene
>>> - Trying to get remote index for repository central
>>> 2009-11-06 01:11:06 INFO  [ool-1-thread-15] - o.s.n.p.r.Repository:maven2
>>> - Expiring local cache in repository ID='central' from path='/.index'
>>> 2009-11-06 01:11:06 INFO  [ool-1-thread-15] - o.s.n.p.w.Walker:default
>>> - Aborted walking on repository ID='central' from path='/.index', cause:
>>> Item not found on path /.index in repository central
>>> 2009-11-06 01:11:06 INFO  [ool-1-thread-15] - o.s.n.p.r.Repository:maven2
>>> - Clearing NFC cache in repository ID='central' from path='/.index'
>>> 2009-11-06 01:11:06 INFO  [ool-1-thread-15] - o.s.n.i.ComposableI~:lucene
>>> - Remote indexes updated successfully for repository central
>>> 2009-11-06 01:11:06 INFO  [ool-1-thread-15] - o.s.n.i.ComposableI~:lucene
>>> - Cascading merge of group indexes for group 'public', where repository
>>> 'central' is member.
>>> 2009-11-06 01:11:08 INFO  [ool-1-thread-15] - o.s.n.i.ComposableI~:lucene
>>> - Publishing best index for repository central
>>> 2009-11-06 01:11:08 INFO  [ool-1-thread-15] -
>>> o.s.n.i.p.IndexPack~:default
>>> - Unable to read properties file, will force index regeneration
>>> 2009-11-06 01:11:08 INFO  [ool-1-thread-15] -
>>> o.s.n.f.FeedRecorder:default
>>> - Reindexing repository Maven Central from path / and below. : Process
>>> started on Fri Nov 06 01:11:06 CST 2009, finished successfully on Fri Nov
>>> 06
>>> 01:11:08 CST 2009
>>>
>>> and when I subsequently "Browse Index" on Central, I see Maven Central
>>> (Not
>>> Available)
>>>
>>> I'm also suspicious that it's not able to pull artifacts from central, as
>>> I've added the maven-deploy-plugin to one of my projects (local
>>> settings.xml
>>> are pointing to our nexus for everything, and everything else works) so I
>>> can push new artifacts up to nexus, and it fails with an artifact not
>>> found
>>> exception. This would indicate our nexus is unable to get it from
>>> central,
>>> correct?
>>> --
>>> View this message in context:
>>> http://old.nabble.com/Can%27t-get-index%2C-and-possibly-artifacts%2C-from-Maven-Central-tp26230882p26230882.html
>>> Sent from the Nexus Maven Repository Manager Users List mailing list
>>> archive at Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: nexus-user-unsubscribe@sonatype.org
>>> For additional commands, e-mail: nexus-user-help@sonatype.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: nexus-user-unsubscribe@sonatype.org
>> For additional commands, e-mail: nexus-user-help@sonatype.org
>>
>>
>>
>
> --
> View this message in context: http://old.nabble.com/Can%27t-get-index%2C-and-possibly-artifacts%2C-from-Maven-Central-tp26230882p26238546.html
> Sent from the Nexus Maven Repository Manager Users List mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: nexus-user-unsubscribe@sonatype.org
> For additional commands, e-mail: nexus-user-help@sonatype.org
>
>

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

Re: Can't get index, and possibly artifacts, from Maven Central

by Brian Fox :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The reindex problem and download problems have to be unrelated. Are
there any errors in the logs or rss feeds about the index? Is central
the repo you imported your local repo into? I would instead recommend
putting them into 3rd party release (and or snapshots if you have
them) and simply allow central to be populated normally.

On Sat, Nov 7, 2009 at 11:09 AM, wkhatch <wkhatch@...> wrote:

>
> I've tried reindexing a whole bunch of times and the output from the initial
> post is what I'm getting; it's not working, but claims it is. No matter
> what, I end up with Maven Central (Not Available) when I try to browse the
> index. So, why would it claim success when it's clearly not successful? What
> could be causing that? Also, adding another dependency to my project does
> not result in nexus downloading it either, I just get errors there as well.
> Like the deployment plug in. I'm going to have to change back to not using
> nexus, get the plug in to download to my local, and then upload it to nexus,
> then switch back. But that still doesn't solve the problem of why it's not
> working. I would think if it failed for whatever reason, the log would
> indicate why, but it's telling me it's successful.
>
> The only stuff I had in my local repository were all necessary, so I thought
> it would be a good way to populate the nexus repository initially. If not
> for that, I guess it wouldn't be working at all. But, the Codehaus index is
> working, and I reindexed that as well, so something is fishy. Back to
> google...;-)
>
>
>
> Brian Fox wrote:
>>
>> Ok, so if you enable the remote index download and trigger a reindex
>> on your repo, it will have the index browseable after.
>>
>> Fwiw, importing a local repo into nexus isn't going to give you a
>> great start. You'll start off with a bunch of stuff munged all
>> together instead of being able to have the artifacts separated by
>> their source. I would instead keep just the things you really need
>> that aren't in a remote repo, like 3rd party jars and put those into
>> the correct place in Nexus.
>>
>> As far as downloading from the remote repo, make sure these repos you
>> have are in the group you're using, and that maven is configured with
>> the settings like shown in the book. The index is only used for
>> searching, it won't affect remote downloads.
>>
>> On Fri, Nov 6, 2009 at 9:28 PM, wkhatch <wkhatch@...> wrote:
>>>
>>> Yes, I used the jar from the cli, following the instructions here:
>>>
>>> https://docs.sonatype.com/display/NX/Nexus+Command+Line+Tools sonatype
>>> docs
>>> cli tools
>>>
>>>
>>> Brian Fox wrote:
>>>>
>>>> Did you use the import tools to clean up the local repo first? You
>>>> should delete all the maven-metadata files and separate the snapshots
>>>> and releases (this is what the cli tools do)
>>>>
>>>> Then after copying it in, run reindex.
>>>>
>>>> On Fri, Nov 6, 2009 at 12:05 PM, wkhatch <wkhatch@...> wrote:
>>>>>
>>>>> I just installed 1.4.0, set it up and imported my local repository into
>>>>> it.
>>>>> I've configured all the public repositories that provide an index to
>>>>> download the index. I'm getting the index from Codehaus, but not
>>>>> Central.
>>>>> When I select the repository and click ReIndex, I get this in the logs:
>>>>>
>>>>> 2009-11-06 01:11:06 INFO  [ool-1-thread-15] -
>>>>> o.s.n.i.ComposableI~:lucene
>>>>> - Trying to get remote index for repository central
>>>>> 2009-11-06 01:11:06 INFO  [ool-1-thread-15] -
>>>>> o.s.n.p.r.Repository:maven2
>>>>> - Expiring local cache in repository ID='central' from path='/.index'
>>>>> 2009-11-06 01:11:06 INFO  [ool-1-thread-15] - o.s.n.p.w.Walker:default
>>>>> - Aborted walking on repository ID='central' from path='/.index',
>>>>> cause:
>>>>> Item not found on path /.index in repository central
>>>>> 2009-11-06 01:11:06 INFO  [ool-1-thread-15] -
>>>>> o.s.n.p.r.Repository:maven2
>>>>> - Clearing NFC cache in repository ID='central' from path='/.index'
>>>>> 2009-11-06 01:11:06 INFO  [ool-1-thread-15] -
>>>>> o.s.n.i.ComposableI~:lucene
>>>>> - Remote indexes updated successfully for repository central
>>>>> 2009-11-06 01:11:06 INFO  [ool-1-thread-15] -
>>>>> o.s.n.i.ComposableI~:lucene
>>>>> - Cascading merge of group indexes for group 'public', where repository
>>>>> 'central' is member.
>>>>> 2009-11-06 01:11:08 INFO  [ool-1-thread-15] -
>>>>> o.s.n.i.ComposableI~:lucene
>>>>> - Publishing best index for repository central
>>>>> 2009-11-06 01:11:08 INFO  [ool-1-thread-15] -
>>>>> o.s.n.i.p.IndexPack~:default
>>>>> - Unable to read properties file, will force index regeneration
>>>>> 2009-11-06 01:11:08 INFO  [ool-1-thread-15] -
>>>>> o.s.n.f.FeedRecorder:default
>>>>> - Reindexing repository Maven Central from path / and below. : Process
>>>>> started on Fri Nov 06 01:11:06 CST 2009, finished successfully on Fri
>>>>> Nov
>>>>> 06
>>>>> 01:11:08 CST 2009
>>>>>
>>>>> and when I subsequently "Browse Index" on Central, I see Maven Central
>>>>> (Not
>>>>> Available)
>>>>>
>>>>> I'm also suspicious that it's not able to pull artifacts from central,
>>>>> as
>>>>> I've added the maven-deploy-plugin to one of my projects (local
>>>>> settings.xml
>>>>> are pointing to our nexus for everything, and everything else works) so
>>>>> I
>>>>> can push new artifacts up to nexus, and it fails with an artifact not
>>>>> found
>>>>> exception. This would indicate our nexus is unable to get it from
>>>>> central,
>>>>> correct?
>>>>> --
>>>>> View this message in context:
>>>>> http://old.nabble.com/Can%27t-get-index%2C-and-possibly-artifacts%2C-from-Maven-Central-tp26230882p26230882.html
>>>>> Sent from the Nexus Maven Repository Manager Users List mailing list
>>>>> archive at Nabble.com.
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> 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@...
>>>>
>>>>
>>>>
>>>
>>> --
>>> View this message in context:
>>> http://old.nabble.com/Can%27t-get-index%2C-and-possibly-artifacts%2C-from-Maven-Central-tp26230882p26238546.html
>>> Sent from the Nexus Maven Repository Manager Users List mailing list
>>> archive at Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> 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@...
>>
>>
>>
>
> --
> View this message in context: http://old.nabble.com/Can%27t-get-index%2C-and-possibly-artifacts%2C-from-Maven-Central-tp26230882p26247651.html
> Sent from the Nexus Maven Repository Manager Users List mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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@...


Re: Can't get index, and possibly artifacts, from Maven Central

by wkhatch :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

No, I imported my local into my Release and Snapshot repositories as that's what the instructions for the import tool recommended. There is nothing, has never been anything, in my nexus 'Maven Central' repository. I included the output from the logs in my first post


Brian Fox wrote:
The reindex problem and download problems have to be unrelated. Are
there any errors in the logs or rss feeds about the index? Is central
the repo you imported your local repo into? I would instead recommend
putting them into 3rd party release (and or snapshots if you have
them) and simply allow central to be populated normally.

On Sat, Nov 7, 2009 at 11:09 AM, wkhatch <wkhatch@me.com> wrote:
>
> I've tried reindexing a whole bunch of times and the output from the initial
> post is what I'm getting; it's not working, but claims it is. No matter
> what, I end up with Maven Central (Not Available) when I try to browse the
> index. So, why would it claim success when it's clearly not successful? What
> could be causing that? Also, adding another dependency to my project does
> not result in nexus downloading it either, I just get errors there as well.
> Like the deployment plug in. I'm going to have to change back to not using
> nexus, get the plug in to download to my local, and then upload it to nexus,
> then switch back. But that still doesn't solve the problem of why it's not
> working. I would think if it failed for whatever reason, the log would
> indicate why, but it's telling me it's successful.
>
> The only stuff I had in my local repository were all necessary, so I thought
> it would be a good way to populate the nexus repository initially. If not
> for that, I guess it wouldn't be working at all. But, the Codehaus index is
> working, and I reindexed that as well, so something is fishy. Back to
> google...;-)
>
>
>
> Brian Fox wrote:
>>
>> Ok, so if you enable the remote index download and trigger a reindex
>> on your repo, it will have the index browseable after.
>>
>> Fwiw, importing a local repo into nexus isn't going to give you a
>> great start. You'll start off with a bunch of stuff munged all
>> together instead of being able to have the artifacts separated by
>> their source. I would instead keep just the things you really need
>> that aren't in a remote repo, like 3rd party jars and put those into
>> the correct place in Nexus.
>>
>> As far as downloading from the remote repo, make sure these repos you
>> have are in the group you're using, and that maven is configured with
>> the settings like shown in the book. The index is only used for
>> searching, it won't affect remote downloads.
>>
>> On Fri, Nov 6, 2009 at 9:28 PM, wkhatch <wkhatch@me.com> wrote:
>>>
>>> Yes, I used the jar from the cli, following the instructions here:
>>>
>>> https://docs.sonatype.com/display/NX/Nexus+Command+Line+Tools sonatype
>>> docs
>>> cli tools
>>>
>>>
>>> Brian Fox wrote:
>>>>
>>>> Did you use the import tools to clean up the local repo first? You
>>>> should delete all the maven-metadata files and separate the snapshots
>>>> and releases (this is what the cli tools do)
>>>>
>>>> Then after copying it in, run reindex.
>>>>
>>>> On Fri, Nov 6, 2009 at 12:05 PM, wkhatch <wkhatch@me.com> wrote:
>>>>>
>>>>> I just installed 1.4.0, set it up and imported my local repository into
>>>>> it.
>>>>> I've configured all the public repositories that provide an index to
>>>>> download the index. I'm getting the index from Codehaus, but not
>>>>> Central.
>>>>> When I select the repository and click ReIndex, I get this in the logs:
>>>>>
>>>>> 2009-11-06 01:11:06 INFO  [ool-1-thread-15] -
>>>>> o.s.n.i.ComposableI~:lucene
>>>>> - Trying to get remote index for repository central
>>>>> 2009-11-06 01:11:06 INFO  [ool-1-thread-15] -
>>>>> o.s.n.p.r.Repository:maven2
>>>>> - Expiring local cache in repository ID='central' from path='/.index'
>>>>> 2009-11-06 01:11:06 INFO  [ool-1-thread-15] - o.s.n.p.w.Walker:default
>>>>> - Aborted walking on repository ID='central' from path='/.index',
>>>>> cause:
>>>>> Item not found on path /.index in repository central
>>>>> 2009-11-06 01:11:06 INFO  [ool-1-thread-15] -
>>>>> o.s.n.p.r.Repository:maven2
>>>>> - Clearing NFC cache in repository ID='central' from path='/.index'
>>>>> 2009-11-06 01:11:06 INFO  [ool-1-thread-15] -
>>>>> o.s.n.i.ComposableI~:lucene
>>>>> - Remote indexes updated successfully for repository central
>>>>> 2009-11-06 01:11:06 INFO  [ool-1-thread-15] -
>>>>> o.s.n.i.ComposableI~:lucene
>>>>> - Cascading merge of group indexes for group 'public', where repository
>>>>> 'central' is member.
>>>>> 2009-11-06 01:11:08 INFO  [ool-1-thread-15] -
>>>>> o.s.n.i.ComposableI~:lucene
>>>>> - Publishing best index for repository central
>>>>> 2009-11-06 01:11:08 INFO  [ool-1-thread-15] -
>>>>> o.s.n.i.p.IndexPack~:default
>>>>> - Unable to read properties file, will force index regeneration
>>>>> 2009-11-06 01:11:08 INFO  [ool-1-thread-15] -
>>>>> o.s.n.f.FeedRecorder:default
>>>>> - Reindexing repository Maven Central from path / and below. : Process
>>>>> started on Fri Nov 06 01:11:06 CST 2009, finished successfully on Fri
>>>>> Nov
>>>>> 06
>>>>> 01:11:08 CST 2009
>>>>>
>>>>> and when I subsequently "Browse Index" on Central, I see Maven Central
>>>>> (Not
>>>>> Available)
>>>>>
>>>>> I'm also suspicious that it's not able to pull artifacts from central,
>>>>> as
>>>>> I've added the maven-deploy-plugin to one of my projects (local
>>>>> settings.xml
>>>>> are pointing to our nexus for everything, and everything else works) so
>>>>> I
>>>>> can push new artifacts up to nexus, and it fails with an artifact not
>>>>> found
>>>>> exception. This would indicate our nexus is unable to get it from
>>>>> central,
>>>>> correct?
>>>>> --
>>>>> View this message in context:
>>>>> http://old.nabble.com/Can%27t-get-index%2C-and-possibly-artifacts%2C-from-Maven-Central-tp26230882p26230882.html
>>>>> Sent from the Nexus Maven Repository Manager Users List mailing list
>>>>> archive at Nabble.com.
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: nexus-user-unsubscribe@sonatype.org
>>>>> For additional commands, e-mail: nexus-user-help@sonatype.org
>>>>>
>>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: nexus-user-unsubscribe@sonatype.org
>>>> For additional commands, e-mail: nexus-user-help@sonatype.org
>>>>
>>>>
>>>>
>>>
>>> --
>>> View this message in context:
>>> http://old.nabble.com/Can%27t-get-index%2C-and-possibly-artifacts%2C-from-Maven-Central-tp26230882p26238546.html
>>> Sent from the Nexus Maven Repository Manager Users List mailing list
>>> archive at Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: nexus-user-unsubscribe@sonatype.org
>>> For additional commands, e-mail: nexus-user-help@sonatype.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: nexus-user-unsubscribe@sonatype.org
>> For additional commands, e-mail: nexus-user-help@sonatype.org
>>
>>
>>
>
> --
> View this message in context: http://old.nabble.com/Can%27t-get-index%2C-and-possibly-artifacts%2C-from-Maven-Central-tp26230882p26247651.html
> Sent from the Nexus Maven Repository Manager Users List mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: nexus-user-unsubscribe@sonatype.org
> For additional commands, e-mail: nexus-user-help@sonatype.org
>
>

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

Re: Can't get index, and possibly artifacts, from Maven Central

by wkhatch :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

No, I imported my local into my Release and Snapshot repositories as that's what the instructions for the import tool recommended. There is nothing, has never been anything, in my nexus 'Maven Central' repository. I included the output from the logs in my first post


Brian Fox wrote:
The reindex problem and download problems have to be unrelated. Are
there any errors in the logs or rss feeds about the index? Is central
the repo you imported your local repo into? I would instead recommend
putting them into 3rd party release (and or snapshots if you have
them) and simply allow central to be populated normally.

On Sat, Nov 7, 2009 at 11:09 AM, wkhatch <wkhatch@me.com> wrote:
>
> I've tried reindexing a whole bunch of times and the output from the initial
> post is what I'm getting; it's not working, but claims it is. No matter
> what, I end up with Maven Central (Not Available) when I try to browse the
> index. So, why would it claim success when it's clearly not successful? What
> could be causing that? Also, adding another dependency to my project does
> not result in nexus downloading it either, I just get errors there as well.
> Like the deployment plug in. I'm going to have to change back to not using
> nexus, get the plug in to download to my local, and then upload it to nexus,
> then switch back. But that still doesn't solve the problem of why it's not
> working. I would think if it failed for whatever reason, the log would
> indicate why, but it's telling me it's successful.
>
> The only stuff I had in my local repository were all necessary, so I thought
> it would be a good way to populate the nexus repository initially. If not
> for that, I guess it wouldn't be working at all. But, the Codehaus index is
> working, and I reindexed that as well, so something is fishy. Back to
> google...;-)
>
>
>
> Brian Fox wrote:
>>
>> Ok, so if you enable the remote index download and trigger a reindex
>> on your repo, it will have the index browseable after.
>>
>> Fwiw, importing a local repo into nexus isn't going to give you a
>> great start. You'll start off with a bunch of stuff munged all
>> together instead of being able to have the artifacts separated by
>> their source. I would instead keep just the things you really need
>> that aren't in a remote repo, like 3rd party jars and put those into
>> the correct place in Nexus.
>>
>> As far as downloading from the remote repo, make sure these repos you
>> have are in the group you're using, and that maven is configured with
>> the settings like shown in the book. The index is only used for
>> searching, it won't affect remote downloads.
>>
>> On Fri, Nov 6, 2009 at 9:28 PM, wkhatch <wkhatch@me.com> wrote:
>>>
>>> Yes, I used the jar from the cli, following the instructions here:
>>>
>>> https://docs.sonatype.com/display/NX/Nexus+Command+Line+Tools sonatype
>>> docs
>>> cli tools
>>>
>>>
>>> Brian Fox wrote:
>>>>
>>>> Did you use the import tools to clean up the local repo first? You
>>>> should delete all the maven-metadata files and separate the snapshots
>>>> and releases (this is what the cli tools do)
>>>>
>>>> Then after copying it in, run reindex.
>>>>
>>>> On Fri, Nov 6, 2009 at 12:05 PM, wkhatch <wkhatch@me.com> wrote:
>>>>>
>>>>> I just installed 1.4.0, set it up and imported my local repository into
>>>>> it.
>>>>> I've configured all the public repositories that provide an index to
>>>>> download the index. I'm getting the index from Codehaus, but not
>>>>> Central.
>>>>> When I select the repository and click ReIndex, I get this in the logs:
>>>>>
>>>>> 2009-11-06 01:11:06 INFO  [ool-1-thread-15] -
>>>>> o.s.n.i.ComposableI~:lucene
>>>>> - Trying to get remote index for repository central
>>>>> 2009-11-06 01:11:06 INFO  [ool-1-thread-15] -
>>>>> o.s.n.p.r.Repository:maven2
>>>>> - Expiring local cache in repository ID='central' from path='/.index'
>>>>> 2009-11-06 01:11:06 INFO  [ool-1-thread-15] - o.s.n.p.w.Walker:default
>>>>> - Aborted walking on repository ID='central' from path='/.index',
>>>>> cause:
>>>>> Item not found on path /.index in repository central
>>>>> 2009-11-06 01:11:06 INFO  [ool-1-thread-15] -
>>>>> o.s.n.p.r.Repository:maven2
>>>>> - Clearing NFC cache in repository ID='central' from path='/.index'
>>>>> 2009-11-06 01:11:06 INFO  [ool-1-thread-15] -
>>>>> o.s.n.i.ComposableI~:lucene
>>>>> - Remote indexes updated successfully for repository central
>>>>> 2009-11-06 01:11:06 INFO  [ool-1-thread-15] -
>>>>> o.s.n.i.ComposableI~:lucene
>>>>> - Cascading merge of group indexes for group 'public', where repository
>>>>> 'central' is member.
>>>>> 2009-11-06 01:11:08 INFO  [ool-1-thread-15] -
>>>>> o.s.n.i.ComposableI~:lucene
>>>>> - Publishing best index for repository central
>>>>> 2009-11-06 01:11:08 INFO  [ool-1-thread-15] -
>>>>> o.s.n.i.p.IndexPack~:default
>>>>> - Unable to read properties file, will force index regeneration
>>>>> 2009-11-06 01:11:08 INFO  [ool-1-thread-15] -
>>>>> o.s.n.f.FeedRecorder:default
>>>>> - Reindexing repository Maven Central from path / and below. : Process
>>>>> started on Fri Nov 06 01:11:06 CST 2009, finished successfully on Fri
>>>>> Nov
>>>>> 06
>>>>> 01:11:08 CST 2009
>>>>>
>>>>> and when I subsequently "Browse Index" on Central, I see Maven Central
>>>>> (Not
>>>>> Available)
>>>>>
>>>>> I'm also suspicious that it's not able to pull artifacts from central,
>>>>> as
>>>>> I've added the maven-deploy-plugin to one of my projects (local
>>>>> settings.xml
>>>>> are pointing to our nexus for everything, and everything else works) so
>>>>> I
>>>>> can push new artifacts up to nexus, and it fails with an artifact not
>>>>> found
>>>>> exception. This would indicate our nexus is unable to get it from
>>>>> central,
>>>>> correct?
>>>>> --
>>>>> View this message in context:
>>>>> http://old.nabble.com/Can%27t-get-index%2C-and-possibly-artifacts%2C-from-Maven-Central-tp26230882p26230882.html
>>>>> Sent from the Nexus Maven Repository Manager Users List mailing list
>>>>> archive at Nabble.com.
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: nexus-user-unsubscribe@sonatype.org
>>>>> For additional commands, e-mail: nexus-user-help@sonatype.org
>>>>>
>>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: nexus-user-unsubscribe@sonatype.org
>>>> For additional commands, e-mail: nexus-user-help@sonatype.org
>>>>
>>>>
>>>>
>>>
>>> --
>>> View this message in context:
>>> http://old.nabble.com/Can%27t-get-index%2C-and-possibly-artifacts%2C-from-Maven-Central-tp26230882p26238546.html
>>> Sent from the Nexus Maven Repository Manager Users List mailing list
>>> archive at Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: nexus-user-unsubscribe@sonatype.org
>>> For additional commands, e-mail: nexus-user-help@sonatype.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: nexus-user-unsubscribe@sonatype.org
>> For additional commands, e-mail: nexus-user-help@sonatype.org
>>
>>
>>
>
> --
> View this message in context: http://old.nabble.com/Can%27t-get-index%2C-and-possibly-artifacts%2C-from-Maven-Central-tp26230882p26247651.html
> Sent from the Nexus Maven Repository Manager Users List mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: nexus-user-unsubscribe@sonatype.org
> For additional commands, e-mail: nexus-user-help@sonatype.org
>
>

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