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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T03:06:34+00:00 2026-05-26T03:06:34+00:00

I have a Maven project that requires some dependencies that are in a repository

  • 0

I have a Maven project that requires some dependencies that are in a repository located behind HTTPS. I can access the URL by my browser (Firefox) as it asks me a username/password, but in Maven I get Access denied.

Where can I set the username and password so that Maven can use it for that repository? This page deals with certificates and keystores, but I don’t have anything like that. Do I need to know where does Firefox stores the certificate for the URL I visited?

  • 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-26T03:06:35+00:00Added an answer on May 26, 2026 at 3:06 am

    Username and password is stored into your .m2/ folder in a file called settings.xml (create it if you don’t have it).

    <settings>
        <servers>
            <server>
                <!-- this id should match the id of the repo server in pom.xml -->
                <id>myrepo</id>
                <username>deployment</username>
                <password>password</password>
            </server>
       </servers>
    </settings>
    

    For the second question, it’s actually explained in the link you provided, except the keytool link is not working. If I remember right it was posted by a Sun employee in his blog and when Oracle took over the page disappeared. There should be multiple copies of it around the net. One of them is my slightly modified version on GitHub:

    https://github.com/stivlo/obliquid-lib/blob/master/src/main/java/org/obliquid/scripts/InstallCert.java

    The basic concept is that you don’t have to find where Firefox stores the certificates, you download it with the tool in a file.

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

Sidebar

Related Questions

I do have a MAVEN based java project that requires some environment variables. So
I have a project (built from an AppFuse template) that requires Maven 2.2.1. So
I have a number of dependencies on my project that Maven resolves correctly. The
I have a maven project that requires a property to be set at the
I have a maven project that contains a certain api I need to use
I have a maven project that has a set of library dependancies that are
I have a maven project that was generated by Spring Roo. Now I am
Currently I have a simple maven project that is building a jar file and
We have a multi-module maven project that uses a profile that defines a buildnumber-maven-plugin
I have a Maven based Spring-WS client project that I want to package as

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.