• Post Reply Bookmark Topic Watch Topic
  • New Topic

Nexus doesn't index artifacts when using scp to deploy  RSS feed

Peter Johnson
Posts: 5856
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have set up my POM to use scp to deploy artifacts to my Nexus-managed repository as mentioned here:

I have noticed that when I do this, Nexus does not index the artifact, which names searching within Nexus a hit-or-miss proposition. Has anyone else run into this and if so, what did you do to get around this?

I suspect that I could make a call to the Nexus REST API to do the indexing, but no specific API call has stood out to accomplish this. Any hints of API calls or scripts to tell Nexus to add an item to the index would help.

Currently we have a cron job that rebuilds the index about every hour, but that is somewhat processor and disk intensive and we are hoping for a lighter-weight solution.
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!