Trying to access Archiva Repo

Hello,
I currently have a local Archiva repository running, but when I go to add the repository to the Maven Repositories and test it, it says that there is no repositories found. I thought it was the index directory but that does not seem to be the issue. I have changed index folder for .index to .indexer to indexer and still get the same result. I am a little new to this and I am wondering if I am doing something wrong.

I am using Intellij IDEA 14.1.4

Any help would be greatly appreciated.
Thanks in advance for the help.

6 comments
Comment actions Permalink

Are you trying to add them as Artifactory or Nexus Service URLs?

0
Comment actions Permalink

The url I am using is as follows http://abc-repo.xxxxxxxxxxxx.com:8888/repository/internal/

In that directory is the .indexer file, which from what I understand is how nexus supposed does their file structure. If I access it from a web browser I see the file structure and the items I have already added to the repo. Not sure if this helps.

0
Comment actions Permalink

As far as I understand Archiva is using a different API to Nexus or Artifactory, hence it's not supported by IDEA.

Archiva is not that popular, so probably not worth supporting it.

0
Comment actions Permalink

After doing some reading I noticed you were correct and changed to Sonatype Nexus OSS for the Maven Repo. But when I added it and did the test, it still says No repositories found. And when I put in the url it shows the repo contents. This is the url that I am using.  http://abc-repo.xxxxxxxxxxxx.com:8081/nexus/content/repositories/releases/

Any idea on why I still can not seeing any repos

0
Comment actions Permalink

You need to use nexus service endpoint URL, try to open in a browser http://abc-repo.xxxxxxxxxxxx.com:8081/nexus/service/local/repositories/ if you get an xml with repositories as a response than the correct URL you should configure in IDEA is http://abc-repo.xxxxxxxxxxxx.com:8081/nexus/service/local/

0
Comment actions Permalink

Vladislav,
I followed your directions and it is now working. Thank you very much for your help. It is greatly appreciated.

0

Please sign in to leave a comment.