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 8998489
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T00:02:19+00:00 2026-06-16T00:02:19+00:00

Is it possible to download dependencies in maven using multiple plugin-repos? I have my

  • 0

Is it possible to download dependencies in maven using multiple plugin-repos?

I have my settings.xml configured to get dependencies from a custom repo and because of this, i am unable to get dependencies from the main maven repo server.

Is this possible to setup more then one plugin Repo?

Here is what i have setup so far for my custom repo:

</profiles>
  <profile>
    <id>custom-config</id>
    <repositories>
      <repository>
        <id>custom-snapshots</id>
        <name>customSnapshots</name>
        <releases>
          <enabled>false</enabled>
          <updatePolicy>always</updatePolicy>
          <checksumPolicy>warn</checksumPolicy>
        </releases>
        <snapshots>
          <enabled>true</enabled>
          <updatePolicy>never</updatePolicy>
          <checksumPolicy>fail</checksumPolicy>
        </snapshots>
        <url>http:/custom/repo</url>
        <layout>default</layout>
      </repository>
    </repositories>

    <pluginRepositories>
      <pluginRepository>
        <id>custom-plugins</id>
        <urlhttp:/custom/repo/public-snapshots</url>
        <releases>
          <enabled>true</enabled>
        </releases>
        <snapshots>
          <enabled>true</enabled>
        </snapshots>
      </pluginRepository>
    </pluginRepositories>
  </profile>
</profiles>

I have not included the dependencies here, but I am unable to pull and resolve some library dependencies.

The maven repo that I use is http://mvnrepository.com/ but I dont have details on the exact repo settings to use as the one I defined for a custom one.

  • 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-06-16T00:02:20+00:00Added an answer on June 16, 2026 at 12:02 am

    The default maven repository is called “central”. Its url is: http://repo1.maven.org/maven2/ or nowadays: http://repo.maven.apache.org/maven2/

    But it is usually configured as mirrorOf. If you create a repository in your settings.xml and give it the id *central” it will replace it.

    So I wonder why you can’t resolve dependencies from there. Usually adding a repository in settings.xml does not turn of central.

    could you execute mvn help:effective-settings and mvn help:effective-pom and have a loook at all repositories, profiles and mirrorOf elements in the xml? central should be there.

    I would also recommend using a Maven proxy like Nexus or Artifactory. It simplifies a lot of things within a company.

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

Sidebar

Related Questions

Possible Duplicate: Download PDF from url and read it I have to download a
Is it possible to download folders from any of repository in ftp using perl?
Is it possible to download files from a website using httprequest? I am only
Is it possible to download and install previously unspecified Maven dependencies in a running
Is it possible to download php files from the server where they are located?
I have a simple question Is it possible to download a specific resource file
I would like to know if it's possible to download a file from a
Once you have uploaded your source code to Heroku, is it possible to download
Is it possible to download a file from a website in Windows Application form
Is it possible to download and add a passbook from within a webview without

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.