Hi,

I have the same problem, with artifactory-2.3.

I tried the following actions:
1. Open Artifactory-Admin|Services|Indexer page and enabled the "Nexus
Indexer" check-box,
2. performed a 'Run Indexr Now", and
3. check the logs for when the indexing completed, and
4. re-started eclipse, and the error happend again.

I checked the artifactory logs and found a 404(Not Found) response.
I also did not found the index-file when i visited the url with a browser,
though there was such an index- file in remote repos (i.e. 'central').

Therefore i conclude that the artifactory-2.3 does not produces
index-files for virtual-repos.

I found this related bug:
  https://issues.jfrog.org/jira/browse/RTFACT-469  Support m2e indexes
for virtual repositories
which says it has been fixed from ver 2.1.0, but i'm not sure if 'm2e'
indexes are the same as 'nexus' ones.

Indeed, this bug said(Jun 2008) nexus-indexer does not work for virtual repos:
https://issues.jfrog.org/jira/browse/RTFACT-390


Has this problem been addressed in some subsequent version?

Regards,
  Kostis Anagnostopoulos

On Fri, Jan 7, 2011 at 4:50 PM, borgo <[email protected]> wrote:
>
> I have installed Artifactory 2.3.1 on Ubuntu Server.
> I'd like to use it from m2eclipse plugin on Eclipse Ide.
> I use the "Generate Setting" feature to edit the local settings.xml on my
> pc.
> I don't check "Mirror Any" (beacuse didn't understand that).
>
> The problem is the following:
>
> 1) In Eclipse I open my project and the pom.xml file.  I try to add
> dependency from external repository but I couldn't find anything in the
> search dialog of m2eclipse. The only artifacts shown are the Artifactory's
> local ones.
>
> 2) So I've tried to change Artifactory config. From Admin -> Services ->
> Indexer. I've added the repo-remote to the left list, saved the config and
> rebuilt the index. Nothing changes, same problem.
>
> 3) So I've tried to add a remote repository into the local settings.xml (on
> my pc)
>
>        <repository>
>          <snapshots>
>            <enabled>false</enabled>
>          </snapshots>
>          <id>repo1</id>
>          <name>repo1</name>
>          <url>http://repo1.maven.org/maven2</url>
>        </repository>
>        <repository>
>
> Nothing changes. Eclipse show the following error:
>
> Unable to update index for repo1|http://repo1.maven.org/maven2
>
> Artifactory 's log show:
>
> "Successfully saved index file
> '/repositories/remote-repos/.index/nexus-maven-repository-index.gz' and
> index info
> '/repositories/remote-repos/.index/nexus-maven-repository-index.properties'."
> I can't read any errors on log.
>
> --
> View this message in context: 
> http://forums.jfrog.org/Artifactory-and-m2eclipse-Unable-to-update-index-for-remote-repos-tp5899455p5899455.html
> Sent from the Artifactory - Users mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Gaining the trust of online customers is vital for the success of any company
> that requires sensitive data to be transmitted over the Web.   Learn how to
> best implement a security strategy that keeps consumers' information secure
> and instills the confidence they need to proceed with transactions.
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> Artifactory-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to