ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maarten Coene <maarten_co...@yahoo.com>
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 https://issues.apache.org/jira/browse/IVY-736, or
- attach a patch to this issue, or
- attach a junit test to this issue, or
- do all of the things above :-)

Maarten



----- Original Message ----
From: "Wardrip, Paul" <PWardrip@tandbergtv.com>
To: Ant Developers List <dev@ant.apache.org>
Sent: Thursday, September 18, 2008 10:12:16 PM
Subject: Ivy 2.0.0-rc1 PomModuleDescriptorWriter

In PomModuleDescriptorWriter.java 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() +
"</groupId>");
        out.println("  <artifactId>" + mrid.getName() +
"</artifactId>");
        out.println("  <packaging>jar</packaging>");

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

------------
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: pwardrip@tandbergtv.com | www.tandbergtv.com


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


      

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message