ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brown, Carlton" <>
Subject RE: Is packaging type configurable for makepom?
Date Thu, 14 Feb 2008 20:23:06 GMT
I see where the problem is... in the method printModuleId in
org.apache.ivy.plugins.parser.m2.PomModuleDescriptorWriter class, the
module type is hardcoded:
out.println("  <packaging>jar</packaging>");

Is anyone aware of an existing jira on this?  

-----Original Message-----
From: Brown, Carlton [] 
Sent: Thursday, February 14, 2008 1:55 PM
Subject: Is packaging type configurable for makepom?

I'm using <ivy:makepom> to generate pom files for a tarfile.  Even
though ivy.xml declares the package type as 'tar', the makepom task sets
the packaging type to 'jar':


Input ivy.xml file fragment:


    <info organisation="myorg" module="hello-package" revision="1.0"/>


      <artifact name="hello-package" type="tar" ext="tar"/>

      <artifact name="hello-package" type="pom" ext="pom"/>



Output pom file fragment:







Is it a bug?  Is there anything I can do about it?  The docs don't seem
to describe any of the mapping process except for how conf gets mapped
to scope.    




This message contains PRIVILEGED and CONFIDENTIAL
information that is intended only for use by the 
named recipient. If you are not the named recipient,
any disclosure, dissemination, or action based on 
the contents of this message is prohibited. In such
case please notify us and destroy and delete all 
copies of this transmission.  Thank you.

View raw message