Replace maven-javadoc-plugin with xmvn-mojo to generate javadoc file
This commit is contained in:
parent
59e1975ae9
commit
81c156fce8
@ -1,7 +1,7 @@
|
||||
%bcond_with bootstrap
|
||||
Name: byte-buddy
|
||||
Version: 1.12.0
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: Runtime code generation for the Java virtual machine
|
||||
License: Apache-2.0
|
||||
URL: http://bytebuddy.net/
|
||||
@ -105,10 +105,15 @@ absolute_prefix=`head -n 1 absolute_prefix.log`
|
||||
sed -i 's/absolute-prefix/'"$absolute_prefix"'/g' .xmvn-reactor
|
||||
|
||||
%build
|
||||
mvn package -Dsourcecode.test.version=1.8 -Dmaven.test.failure.ignore=true -P'java8,!checks' verify org.apache.maven.plugins:maven-javadoc-plugin:aggregate
|
||||
mvn package -Dsourcecode.test.version=1.8 -Dmaven.test.failure.ignore=true -P'java8,!checks' verify org.fedoraproject.xmvn:xmvn-mojo:javadoc
|
||||
|
||||
%install
|
||||
%mvn_install
|
||||
JAVADOC_DIR=%{buildroot}%{_javadocdir}/%{name}
|
||||
if [ ! -d $JAVADOC_DIR ];then
|
||||
mkdir -p %{buildroot}%{_javadocdir}/%{name}
|
||||
cp -rf target/xmvn-apidocs/* %{buildroot}%{_javadocdir}/%{name}
|
||||
fi
|
||||
|
||||
%files
|
||||
%attr(0644,root,root) /usr/share/maven-metadata/byte-buddy.xml
|
||||
@ -146,6 +151,9 @@ mvn package -Dsourcecode.test.version=1.8 -Dmaven.test.failure.ignore=true -P'ja
|
||||
%license LICENSE NOTICE
|
||||
|
||||
%changelog
|
||||
* Tue Feb 25 2025 Ge Wang <wang__ge@126.com> - 1.12.0-2
|
||||
- Replace maven-javadoc-plugin with xmvn-mojo to generate javadoc file
|
||||
|
||||
* Thu Jun 16 2022 Ge Wang <wangge20@h-partners.com> - 1.12.0-1
|
||||
- Upgrade to version 1.12.0
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user