<target name="generate-poms">
+ <loadfile property="distributionManagement"
+ srcFile="distributionManagement.xml"/>
+
<property name="targetDir" location="target" />
<mkdir dir="${targetDir}" />
<![CDATA[
<module>bundles</module>
</modules>
+ ${distributionManagement}
</project>
]]></echo>
+
<for list="${dirs}" param="dir">
<sequential>
<copy file="pom-template.xml" toFile="${bundleDir}/pom.xml">
<filterset>
<filtersfile file="${bundleDir}/target/bundle.properties" />
+ <filter token="distributionManagement" value="${distributionManagement}"/>
</filterset>
</copy>
-
</sequential>
</for>
<echo file="${deployPomFile}" append="true">
<![CDATA[
</dependencies>
+ ${distributionManagement}
</project>
]]></echo>
</target>