Re: Any idea why Ivy only publishes a POM and not an ivy.xml?

Stefan Bodewig <[email protected]> Mon, 03 Aug 2026 18:23:43 +0200
Newsgroups gmane.comp.jakarta.ant.devel
Message-ID <[email protected]>
On 2026-08-03, Milles, Eric (TR Technology) via dev wrote:

> As a consumer, you can provide fallback.  For example
> conf="optional(runtime)".

I don't believe this does what I want.

Ivy has this in its dependency section

        <dependency org="org.apache.httpcomponents" name="httpclient" rev="${httpclient.version}" conf="default,httpclient->runtime,master"/>
        <dependency org="org.apache.commons" name="commons-compress"
                    rev="${commons-compress.version}"
                    conf="default,pack200->default,optional">
          <exclude org="com.github.luben"/>
          <exclude org="org.brotli"/>
          <exclude org="org.tukaani"/>
        </dependency>
        ...

both httpclient and commoms-compress end up as optional in the Maven
POM.

As a project that depends on Ivy I only want to pull in the dependencies
required to use httpclient but not pack200 as I know nothing is going to
use pack200 (or vfs, or jsch or ...). With an Ivy file I can say
default->httpclient . Can I achieve the same with a POM alone?

Stefan