ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maarten Coene <>
Subject Re: Ivy 2.0.0-rc1 PomModuleDescriptorWriter
Date Thu, 18 Sep 2008 20:46:54 GMT
If you want this issue to be fixed, please do

- vote for, or
- attach a patch to this issue, or
- attach a junit test to this issue, or
- do all of the things above :-)


----- Original Message ----
From: "Wardrip, Paul" <>
To: Ant Developers List <>
Sent: Thursday, September 18, 2008 10:12:16 PM
Subject: Ivy 2.0.0-rc1 PomModuleDescriptorWriter

In would it be possible to change hard
coded "jar" value that is written for packaging to use the artifact
extension? If I publish something that isn't a jar to a maven
repository, ivy expects it to be a jar when I try to use it as a
dependency of another project.

    private static void printModuleId(ModuleDescriptor md, PrintWriter
out) {
        ModuleRevisionId mrid = md.getModuleRevisionId();
        out.println("  <groupId>" + mrid.getOrganisation() +
        out.println("  <artifactId>" + mrid.getName() +
        out.println("  <packaging>jar</packaging>");

--    to     --
        out.println("  <packaging>" + artifacts[i].getExt() +

Paul Wardrip
Software Engineer, OpenStream
TANDBERG Television | Part of the Ericsson Group
4500 River Green Parkway | Duluth | GA 30096
Mobile: 770-312-2852 | AIM: paulwardrip
Email: |

To unsubscribe, e-mail:
For additional commands, e-mail:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message