提交 ad3fa505 编写于 作者: D David Syer

SPR-5327: tweak the build.xml for core to try and make commons-logging optional in generated poms

上级 1202f67c
<?xml version="1.0" encoding="UTF-8"?> <?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"/> <property file="${basedir}/../build.properties"/>
<import file="${basedir}/../build-spring-framework/package-bundle.xml"/> <import file="${basedir}/../build-spring-framework/package-bundle.xml"/>
<import file="${basedir}/../spring-build/standard/default.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> </project>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册