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

  • Home
  • SEARCH
  • 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 622285
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T18:58:06+00:00 2026-05-13T18:58:06+00:00

Can anyone point me at a good tutorial for making & using a local

  • 0

Can anyone point me at a good tutorial for making & using a local repository with Ivy? (Please don’t point me at the Ivy docs, the tutorials are rather confusing)

I need to make a local repository to include .jar files that aren’t necessarily available through the public maven repositories.

  • 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-13T18:58:06+00:00Added an answer on May 13, 2026 at 6:58 pm

    Creating a local ivy repository is straight forward, maven is not required. Here’s an example of publishing some text files using ivy as a standalone program.

    I have 3 files I want to publish:

    src/English.txt
    src/Spanish.txt
    src/Irish.txt
    

    The ivy file src/ivy.xml details the name of the module and a list of the artifacts being published. (Release index)

    <ivy-module version="2.0">
      <info organisation="myorg" module="hello"/>
      <publications>
        <artifact name="English" ext="txt" type="doc"/>
        <artifact name="Irish" ext="txt" type="doc"/>
        <artifact name="Spanish" ext="txt" type="doc"/>
      </publications>
    </ivy-module>
    

    You’ll also need an ivy settings file to tell ivy where the repository is located

    <ivysettings>
        <property name="repo.dir" value=".../repo"/>
        <settings defaultResolver="internal"/>
        <resolvers>
            <filesystem name="internal">
                <ivy pattern="${repo.dir}/[module]/ivy-[revision].xml" />
                <artifact pattern="${repo.dir}/[module]/[artifact]-[revision].[ext]" />
            </filesystem>
        </resolvers>
    </ivysettings>
    

    Finally run ivy to publish the released version 1.0:

    java -jar $IVY -settings config/ivysettings.xml \
            -ivy src/ivy.xml \
            -publish internal \
            -publishpattern "src/[artifact].[ext]" \
            -revision 1.0 \
            -status release \
            -overwrite 
    

    Note the publish pattern. It tells ivy where the files to be published are located.

    Added: Publishing from within ANT

    <target name="publish" depends="clean,package" description="Publish this build into repository">
        <ivy:publish pubrevision="${pub.version}" status="${pub.status}" resolver="${pub.resolver}" >
            <artifacts pattern="${build.dir}/dist/[artifact].[ext]"/>
        </ivy:publish>
    </target>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

can anyone point me in the direction of a good tutorial on how makefiles
I was wondering can anyone point me to a good tutorial on how to
Can anyone point me to a good tutorial on xpath or give me a
Can anyone point to a good unified comparison of various AJAX libraries? I've read
Can anyone point me to a good resource (or throw me a clue) to
Can anyone point me to a good introduction to coding against the paypal API?
Can anyone point me to a good, simple, example of a Google API (AJAX
Can anyone point me to a tutorial on the best way to open a
Can anyone point me some good examples on how to use UIWebView in iPhone.
Can anyone point me in the right direction on this. From reading the FAQs

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.