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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T11:13:06+00:00 2026-06-04T11:13:06+00:00

This is my ivy.xml: <dependencies defaultconf=default> <dependency org=com.mycompany name=custom rev=1.0/> </dependencies> ivysettings.xml: <ivysettings> <settings

  • 0

This is my ivy.xml:

<dependencies defaultconf="default">
    <dependency org="com.mycompany" name="custom" rev="1.0"/>
</dependencies>

ivysettings.xml:

<ivysettings>
    <settings defaultResolver="repo.mycompany.com" />
    <resolvers>
        <ibiblio name="repo.mycompany.com" root="http://repo.mycompany.com/maven/" m2compatible="true" usepoms="true" />
    </resolvers>
</ivysettings>

Artifact com.mycompany:custom:1.0 created as maven pom and published to repo.mycompany.com:

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <groupId>com.mycompany</groupId>
    <artifactId>custom</artifactId>
    <version>1.0</version>
    <packaging>pom</packaging>

    <dependencies>
        <dependency>
            <artifactId>commons-logging</artifactId>
            <groupId>commons-logging</groupId>
            <version>1.1</version>
            <exclusions>
                 <exclusion>
                     <groupId>logkit</groupId>
                     <artifactId>logkit</artifactId>
                 </exclusion>
                <exclusion>
                    <groupId>avalon-framework</groupId>
                    <artifactId>avalon-framework</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>javax.servlet</groupId>
                    <artifactId>servlet-api</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
    </dependencies>
</project>

Wheh I download ivy libs with such code:

<target name="ivy-init">
    <mkdir dir="${internal-libs}"/>
    <ivy:settings file="${ivy.settings.dir}/ivysettings.xml"/>
    <ivy:retrieve pattern="${internal-libs}/[artifact]-[revision].[ext]" sync="true"  />
</target>

ivy download excluded deps avalon-framework:avalon-framework:4.1.3 and logkit:logkit:1.0.1

Why? I exluded it in pom!

How to exclude it with ivy, keeping the same simple ivy.xml?

  • 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-04T11:13:08+00:00Added an answer on June 4, 2026 at 11:13 am

    Resolve this in next steps:

    1. review my pom.xml and add exclusion to other artifact depends on
      commons-logging:commons-logging
    2. update to latest ivy
    3. clean local ivy cache
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have following definition in ivy.xml <dependency org=southbeach name=ego rev=4.3.1 conf=properties->asterik > <artifact name=ego
Here's what part of my ivy.xml looks like right now: <dependency org=org.springframework name=org.springframework.core rev=3.0.2.RELEASE
In my ivy.xml file I have dependency statements like: <dependency conf=*->* org=gnu name=gcc rev=4.2.1
Consider an ivy.xml like the following: <ivy-module version=2.0> <info organisation=com.foo module=FooBar /> <dependencies> <dependency
If my ivysettings.xml file includes: <url name=com.springsource.repository.bundles.external> <ivy pattern=http://repository.springsource.com/ivy/bundles/external/[organisation]/[module]/[revision]/[artifact]-[revision].[ext] /> <artifact pattern=http://repository.springsource.com/ivy/bundles/external/[organisation]/[module]/[revision]/[artifact]-[revision].[ext] /> </url>
I am trying to create custom resolver in my ivysettings.xml file: <ivysettings> <settings defaultResolver=default/>
At the moment I have this configuration: build.xml: <!-- Ivy settings start--> <condition property=ivy.home
<ivy-module version=2.0> <info organisation=com.travelclick module=CoreWebServices revision=4.1/> <configurations defaultconfmapping=default> <conf name=runtime visibility=public/> <conf name=default visibility=public
I have a ivy.xml - https://gist.github.com/1898060 I also have the jar file related to
I have an ivy.xml that can successfully resolve all of its dependencies, except the

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.