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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T01:05:46+00:00 2026-06-12T01:05:46+00:00

Possible Duplicate: where do you put ivysettings.xml? I have set up Artifactory to be

  • 0

Possible Duplicate:
where do you put ivysettings.xml?

I have set up Artifactory to be running locally on my machine at:

http://localhost:8080/artifactory/myRepo

That repo currently has only 1 dependency it is managing for me, Google Guice (3.0):

myRepo/
    google/
        guice/
            3.0/
                guice-3.0/
                    guice-3.0.jar
                    guive-3.0-ivy.xml

I have now configured my Ant build to kick off an Ivy resolve right up front:

<project name="myapp-build default="audit" basedir=".." xmlns:ivy="antlib:org.apache.ivy.ant">
    <path id="ant.lib.path">
        <fileset dir="${env.ANT_HOME}/lib" includes="*.jar"/>
    </path>

    <!-- I have ivy.jar and its dependencies installed under ${ANT_HOME}lib. -->
    <taskdef resource="org/apache/ivy/ant/antlib.xml" uri="antlib:org.apache.ivy.ant" classpathref="ant.lib.path"/>
    <target name="resolve">
        <!-- Initialize Ivy and connect to host repository. -->
        <echo message="Initializing Apache Ivy and connecting to the host repository."/>
        <ivy:settings url="${ivy.std.repo.settings.url}" realm="${ivy.std.repo.realm}"
username="${ivy.std.repo.username}" passwd="${ivy.std.repo.password}"/>

        <!-- Clear/flush the Ivy cache. -->
        <echo message="Cleaning the local Ivy cache for the current build."/>
        <ivy:cleancache/>

        <!-- Resolve ivy.xml against the standard repository (all configurations) -->
        <echo message="Resolving ivy.xml dependencies against the host repository."/>
        <ivy:resolve file="./ivy.xml"/>

        <!-- Retrieve compile dependencies from local Ivy cache and place them into the gen/lib/main. -->
        <echo message="Retrieving compile-time dependencies."/>
        <ivy:retrieve ivypattern="${gen.lib.main.dir}/[artifact].[ext]" conf="compile"/>

        <!-- Retrieve test dependencies from local Ivy cache and place them into the gen/lib/test. -->
        <echo message="Retrieving testing dependencies."/>
        <ivy:retrieve ivypattern="${gen.lib.test.dir}/[artifact].[ext]" conf="test"/>
    </target>

...

</project>

I’ve also written an ivy.xml descriptor for my module.

What I am struggling with is the ivysettings.xml file, specifically:

  • Where do I put it (on my file system), or does Artifactory “upload” it somehow? If so, where/how?
  • The username/password stuff (provided in the <ivy:settings> task) is for basic HTTP authentication, and I assume Artifactory reuses these credentials?

Basically, I need to know where to put the settings file, and how all the login URLs/credentials defined in <ivy:settings> relates to my Artifactory config.

Thanks in advance!

  • 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-12T01:05:47+00:00Added an answer on June 12, 2026 at 1:05 am

    This is partially a duplicate of where do you put ivysettings.xml?
    In regard to authentication – Artifactory default scheme works with basic HTTP authentication.

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

Sidebar

Related Questions

Possible Duplicate: Where and why do I have to put the “template” and “typename”
Possible Duplicate: Where to put common writable application files? In my application I have
Possible Duplicate: Where and why do I have to put the “template” and “typename”
Possible Duplicate: Where and why do I have to put “template” and “typename” on
Possible Duplicate: VB Using colons to put two statements on same line I have
Possible Duplicate: Where and why do I have to put the “template” and “typename”
Possible Duplicate: Why do you have to put a 1; at the end of
Possible Duplicate: How to put this code in v3 instead v2 map I have
Possible Duplicate: Where and why do I have to put the “template” and “typename”
Possible Duplicate: Where and why do I have to put the “template” and “typename”

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.