Re: Any idea why Ivy only publishes a POM and not an ivy.xml?
"Milles, Eric (TR Technology) via dev" <[email protected]> Mon, 3 Aug 2026 14:37:17 +0000
| Newsgroups | gmane.comp.jakarta.ant.devel |
|---|---|
| Message-ID | <PH7PR03MB72241846DA4B5A2C17AB4A908AD52@PH7PR03MB7224.namprd03.prod.outlook.com> |
--_000_PH7PR03MB72241846DA4B5A2C17AB4A908AD52PH7PR03MB7224namp_ Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable As a consumer, you can provide fallback. For example conf=3D"optional(runt= ime)". If optional is there, you get that. If not, it tries runtime. You= can provide multiple values inside the fallback. Another example, we use = "main" in our ivy.xml and this maps to "compile" in maven pom. So, when li= nking to an internal project, we specify conf=3D"main(compile)". Now we ca= n have project linked in local workspace or consumed from repository with o= nly maven artifacts. ________________________________ From: Stefan Bodewig <[email protected]> Sent: Monday, August 3, 2026 9:13 AM To: [email protected] <[email protected]> Subject: Re: Any idea why Ivy only publishes a POM and not an ivy.xml? On 2026-08-03, Milles, Eric (TR Technology) via dev wrote: > I don't think = the ivy.=E2=80=8Axml would supply anything that the pom does not already de= scribe. When ivy consumes, the pom is converted into a suitable ivy.=E2=80= =8Axml. I'm not sure. What if I On 2026-08-03, Milles, Eric (TR Technology) via dev wrote: > I don't think the ivy.xml would supply anything that the pom does not alr= eady describe. When ivy consumes, the pom is converted into a suitable ivy= .xml. I'm not sure. What if I as a counsumer of the ivy file want to use a specific configuration of it? For example Ivy itself has configurations for "optional" stuff that are specific for some use cases. When I've got Ivy's ivy.xml I can say something like default->httpclient and get the transitive dependencies of core and httpclient as dependencies of my default configuration. With "only" the POM I need to do default->default,optional and get way more than I want. At lest this is my current understanding. Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --_000_PH7PR03MB72241846DA4B5A2C17AB4A908AD52PH7PR03MB7224namp_--