We've been working with maven for quite some time now, and we are trying to take it to the next level... 

There are a couple of Jars, that we would like to allow access to people in our organization only. So at first we all referred to the same shared folder as our local repository in the settings.xml, and it was nice for a while, when there was an individual working on a single project.

Now, we would like to have our own "Remote repository" if that is how it is called, a remote FTP that will hold the repository, with HTTP domain which points to the repository folder on that FTP.

For some reason, we can deploy Jar's, Sources and JavaDocs, but we cannot rebuild the indexes of the repository. We assume that some sort of indexing files are required, for the FTP repository, but we are unable to create these using Nexus or Artifactory. (We have something fundamentally wrong in our understanding of remote repositories) 

So our question is, what are **we** doing **wrong**?

The Error we keep getting from Eclipse:

**Unable to update index for repository|http://domain-referring-to-the-ftp-repository-folder**

We have updated our settings.xml to:

```
<settings xmlns="http://maven.apache.org/SETTINGS/1.1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.1.0 http://maven.apache.org/xsd/settings-1.1.0.xsd">
<localRepository>
    c:\localRepository\
</localRepository>
<servers>
    <server>
        <username>user</username>
        <password>pass</password>
        <id>rep-id</id>
    </server>
</servers>
<mirrors>
    <mirror>
        <mirrorOf>rep-id</mirrorOf>
        <name>My Repository</name>
        <url>http://domain-referring-to-the-ftp-repository-folder</url>
        <id>repository</id>
    </mirror>
</mirrors>
</settings>

```

Just to be sure here are the deploy configuration **which works**, and deploy as described above:

```
        <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-deploy-plugin</artifactId>
            <version>2.5</version>
            <configuration>
                <altDeploymentRepository>rep-id::default::ftp://x.x.x.x/repository</altDeploymentRepository>
            </configuration>
        </plugin>

```

Thanks in advance,

Adam.