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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T12:44:24+00:00 2026-05-30T12:44:24+00:00

Consider this scenario. I have a small enterprise project dev environment. We use archiva

  • 0

Consider this scenario. I have a small enterprise project dev environment. We use archiva as our artifact repo.

In-general, I would like to have PROJECT-SPECIFIC profiles set up, namely because tests will differ on a per-project basis.

However, the one thing I would LIKE to have constant, is a profile in my settings.xml file, which is active by default, used for development. Do I need to have my team members manually edit that file and place their ARCHIVA credentials in there (ldap system), so that they can access the internal repo?

Should I just not put a password on it? My other alternative is using a master password to encrypt a “shared” password, so nobody could see it, yet they would all have generic “read-only” access to the internal repo for snapshot dependencies and stuff. However, then they would also need the security-settings.xml file which contained the encrypted master password, and doesn’t that defeat the purpose of that system?

finally: can multiple profiles be active at the same time, or is that unnecessary? For example, if I have the dev profile active by default (which contains the artifact repo settings, encrypted svn credentials for releases), and then I specify different profiles in certain POM files, am I only to pick ONE profile? Let’s say I want to use Bamboo for CI, and there are some “test” profiles which use the surefire plugin and whatnot. Will these profiles co-exist with the activeByDefault DEV profile that exists in settings.xml, or can only one profile be activated at one time? All CI needs is the SCM information, so technically it shouldn’t need access to the internal archiva repo, so I suppose that if I was using a test profile (automatically using CI), it wouldn’t need anything from the profile.

I’m confused. I’m so close to having a fully maven-managed build environment, just trying to iron out those few kinks. Thank you.

  • 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-30T12:44:25+00:00Added an answer on May 30, 2026 at 12:44 pm

    However, the one thing I would LIKE to have constant, is a profile in
    my settings.xml file, which is active by default, used for
    development. Do I need to have my team members manually edit that file
    and place their ARCHIVA credentials in there (ldap system), so that
    they can access the internal repo?

    Yes, they would have to edit that file on a pr user basis. From the doc:

    The passphrase and password elements may be externalized in the future, but for now they must be set plain-text in the settings.xml file.

    Should I just not put a password on it? My other alternative is using
    a master password to encrypt a “shared” password, so nobody could see
    it, yet they would all have generic “read-only” access to the internal
    repo for snapshot dependencies and stuff. However, then they would
    also need the security-settings.xml file which contained the encrypted
    master password, and doesn’t that defeat the purpose of that system?

    Why not add users public key to Archiva, and authenticate that way?

    <servers>
        <server>
          <id>server001</id>
          <username>my_login</username>
          <privateKey>${user.home}/.ssh/id_dsa</privateKey>
          <passphrase>some_passphrase</passphrase>
          ...
        </server>
      </servers> 
    

    finally: can multiple profiles be active at the same time, or is that
    unnecessary?

    Yes, multiple profiles can be active. You can use mvn help:active-profiles to list active profiles.

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

Sidebar

Related Questions

Consider this scenario. I have my own website, that I use as my identifier,
Consider this scenario: I have a project with two modules and one common module
This is a question for a WSS/SharePoint guru. Consider this scenario: I have an
Consider this scenario. I have an object, lets call it.... Foo. Foo raises a
Consider a grocery store scenario (I'm making this up) where you have FACT records
Consider the scenario of upgrading an ASP.NET MVC project. This question is around up-converting
Consider this scenario. I have some business logic that now and then will be
Consider this scenario; suppose I have WPF window which have four objects bonded to
consider this scenario: I have loaded a Parent entity through hibernate Parent contains a
Consider this scenario: I have two forms (Form1 and Form2). When a button is

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.