SPR-5327: tweak the build.xml for core to try and make commons-logging optional in generated poms
This commit is contained in:
parent
1202f67cc8
commit
ad3fa505f3
|
|
@ -1,6 +1,23 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project name="org.springframework.core">
|
||||
<project name="org.springframework.core" xmlns:ivy="antlib:org.apache.ivy.ant">
|
||||
<property file="${basedir}/../build.properties"/>
|
||||
<import file="${basedir}/../build-spring-framework/package-bundle.xml"/>
|
||||
<import file="${basedir}/../spring-build/standard/default.xml"/>
|
||||
<target name="create.pom" depends="ivy.init, resolve">
|
||||
<delete quiet="true" file="${pom.output.file}"/>
|
||||
<mkdir dir="${pom.output.dir}"/>
|
||||
<!--
|
||||
This overrides the default so that commons-logging can be made mandatory in one place: SPR-5327.
|
||||
Actually it's not working: commons-logging comes out as optional whatever you do here or in ivy.xml.
|
||||
Oh well.
|
||||
-->
|
||||
<ivy:makepom ivyfile="${ivy.output.file}" pomfile="${pom.output.file}">
|
||||
<mapping conf="compile" scope="compile"/>
|
||||
<mapping conf="commons-logging" scope="compile"/>
|
||||
<mapping conf="provided" scope="provided"/>
|
||||
<mapping conf="dm-server-provided" scope="provided"/>
|
||||
<mapping conf="runtime" scope="runtime"/>
|
||||
<mapping conf="test" scope="test"/>
|
||||
</ivy:makepom>
|
||||
</target>
|
||||
</project>
|
||||
|
|
|
|||
Loading…
Reference in New Issue