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

Reply via email to