Build using xmvn.

This commit is contained in:
Alexander Kurtakov 2013-08-12 17:07:55 +03:00
parent 5027c52ef1
commit fcc31f0316

View File

@ -1,6 +1,6 @@
Name: maven-resources-plugin Name: maven-resources-plugin
Version: 2.6 Version: 2.6
Release: 4%{?dist} Release: 5%{?dist}
Summary: Maven Resources Plugin Summary: Maven Resources Plugin
Group: Development/Libraries Group: Development/Libraries
@ -58,38 +58,22 @@ API documentation for %{name}.
%prep %prep
%setup -q -n %{name}-%{version} %setup -q
%build %build
mvn-rpmbuild \ %mvn_build -f
-Dmaven.test.failure.ignore=true \
install javadoc:aggregate
%install %install
# jars %mvn_install
install -d -m 0755 %{buildroot}%{_javadir}
install -m 644 target/%{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
# poms %files -f .mfiles
install -d -m 755 %{buildroot}%{_mavenpomdir}
install -pm 644 pom.xml \
%{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
%add_maven_depmap JPP-%{name}.pom %{name}.jar
# javadoc %files javadoc -f .mfiles-javadoc
install -d -m 0755 %{buildroot}%{_javadocdir}/%{name}
cp -pr target/site/api*/* %{buildroot}%{_javadocdir}/%{name}/
%files
%{_javadir}/*
%{_mavenpomdir}/*
%{_mavendepmapfragdir}/*
%files javadoc
%{_javadocdir}/%{name}
%changelog %changelog
* Mon Aug 12 2013 Alexander Kurtakov <akurtako@redhat.com> 2.6-5
- Build using xmvn.
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6-4 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild