Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4566014
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T18:43:38+00:00 2026-05-21T18:43:38+00:00

We’ve been working with maven for quite some time now, and we are trying

  • 0

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.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T18:43:38+00:00Added an answer on May 21, 2026 at 6:43 pm

    Sharing local repository is really bad: local repository should be considered as private cache of Maven running on developers machine… For start, it’s not concurrency safe at all, so you have to be lucky (or work on really non-interleaving projects) to not hit any problem so far with your initial setup.

    Your idea about remote repository is good, but there are some problems with it’s implementations. MRMs (Maven Repository Manager, both Artifactory and Nexus are MRMs and much more) will solve all your problems.

    For start I’d recommend reading some of these:
    http://www.sonatype.com/books/nexus-book/reference/
    http://www.sonatype.com/books.html

    And some blogs:
    http://www.sonatype.com/people/2011/04/how-not-to-download-the-internet/

    In nutshell: For transport, use HTTP for best results. Maven and MRMs have the best support for it. When having MRM, you don’t need any “infra” next to it, like FS server with HTTPd or FTP daemon, since MRMs itself not just hosts your deploys, it shares them to your teammates, but also proxies, secure them, index them, etc.

    From your question, it’s unclear why do you deploy using FTP (none of the MRMs support FTP transport, AFAIK at least), where are your artifacts located, and many other details. Read the docos, and build up nice and cozy ecosystem for your shop!

    Good luck!

    Note: as Nexus lead dev, I am affiliated with Sonatype and Nexus.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a jquery bug and I've been looking for hours now, I can't
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have just tried to save a simple *.rtf file with some websites and
For some reason, after submitting a string like this Jack’s Spindle from a text
I am trying to understand how to use SyndicationItem to display feed which is
Basically, what I'm trying to create is a page of div tags, each has
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
this is what i have right now Drawing an RSS feed into the php,
I am trying to render a haml file in a javascript response like so:
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.