Fix OSGi bundle symbolic name

This commit is contained in:
Mikolaj Izdebski 2019-12-11 09:38:22 +01:00
parent c6e4fa7c02
commit 6ef61a5533

View File

@ -57,7 +57,7 @@ sed -i 's/\r//' RELEASE-NOTES.txt LICENSE.txt NOTICE.txt
rm -rf src/test/java/org/apache/commons/logging/log4j/log4j12
%build
%mvn_build -- -Dmaven.compiler.source=1.6 -Dmaven.compiler.target=1.6
%mvn_build -- -Dmaven.compiler.source=1.6 -Dmaven.compiler.target=1.6 -Dcommons.osgi.symbolicName=org.apache.commons.logging
# The build produces more artifacts from one pom
%mvn_artifact %{SOURCE2} target/commons-logging-%{version}-api.jar