Eric Milles created IVY-1667:
--------------------------------

             Summary: makepom: suport template dependencyManagementSection
                 Key: IVY-1667
                 URL: https://issues.apache.org/jira/browse/IVY-1667
             Project: Ivy
          Issue Type: Bug
          Components: Ant
            Reporter: Eric Milles
         Attachments: image-2026-06-12-11-10-50-990.png

Given a pom.xml template like:
{code:xml}
<project>
   <groupId>${ivy.pom.groupId}</groupId>
   <artifactId>${ivy.pom.artifactId}</artifactId>
   <version>${ivy.pom.version}</version>
   <dependencyManagement>
      <dependencies>
         <dependency>
            <groupId>org.aspectj</groupId>
            <artifactId>aspectjrt</artifactId>
            <version>1.9.24</version>
         </dependency>
      </dependencies>
   </dependencyManagement>
</project>
{code}

When running makepom task on an ivy.xml like:
{code:xml}
<ivy-module version='2.0'>
  <info module='name' organisation='org' revision='1.0.0-SNAPSHOT' />
  <configurations>
    <conf name='default' />
  </configurations>
  <dependencies defaultconf='default' defaultconfmapping='*->master,runtime()'>
    <dependency org='org.springframework' name='spring-aop' rev='6.2.9' />
  </dependencies>
</ivy-module>
{code}

The dependencies are written to the wrong element:
 !image-2026-06-12-11-10-50-990.png! 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to