Sench wrote:
I've fully indexed internal repository of Archiva with nexus-indexer-cli.
And my
nexus-maven-repository-index.zip and nexus-maven-repository-index.properties
are in .index dir
which is in dir repositories/internal.
Now I'm trying to add new index in eclipse's maven indexes view.
I've add new index in that view with
url = http://sis2s018:9090/archiva/repository/internal/
repository Id = internal
And I got this error
Unable to update index for zzz
http://sis2s018:9090/archiva/repository/internal
Can you open http://sis2s018:9090/archiva/repository/internal/.index
in the browser?
I've add new index with url = http://sis2s018:9090/archiva/browse but I've
get
17.04.08 3:00:05 ACT: Downloading internal :
nexus-maven-repository-index.zip
17.04.08 3:00:05 ACT: Downloaded [internal] ->
http://sis2s018:9090/archiva/browse/.index/nexus-maven-repository-index.zip
17.04.08 3:00:05 ACT: No index update available for internal
I never used Archiva, but from m2eclipse point of view, index update
is simply download from http server. When you add new repository to
"Maven Indexes" view you specify "Repository URL" - location of the
repository where artifacts can be downloaded from. You can also specify
"Index Update URL", which is a base location where
nexus-maven-repository-index.zip and
nexus-maven-repository-index.properties will be downloaded from. If you
don't specify "Index Update URL" then default location at ${repository
url}/.index/ will be used. Either way, you should be able to open
nexus-maven-repository-index.properties in the web browser. See, for
example,
http://repo1.maven.org/maven2/.index/nexus-maven-repository-index.properties
regards,
Eugene
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email