[maven-resources-plugin] Build using xmvn.
Alexander Kurtakov
akurtakov at fedoraproject.org
Mon Aug 12 14:08:06 UTC 2013
commit fcc31f0316cf2f36959220a305590c17e32e70ab
Author: Alexander Kurtakov <akurtako at redhat.com>
Date: Mon Aug 12 17:07:55 2013 +0300
Build using xmvn.
maven-resources-plugin.spec | 34 +++++++++-------------------------
1 files changed, 9 insertions(+), 25 deletions(-)
---
diff --git a/maven-resources-plugin.spec b/maven-resources-plugin.spec
index 24da1d7..c8312b0 100644
--- a/maven-resources-plugin.spec
+++ b/maven-resources-plugin.spec
@@ -1,6 +1,6 @@
Name: maven-resources-plugin
Version: 2.6
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: Maven Resources Plugin
Group: Development/Libraries
@@ -58,38 +58,22 @@ API documentation for %{name}.
%prep
-%setup -q -n %{name}-%{version}
+%setup -q
%build
-mvn-rpmbuild \
- -Dmaven.test.failure.ignore=true \
- install javadoc:aggregate
+%mvn_build -f
%install
-# jars
-install -d -m 0755 %{buildroot}%{_javadir}
-install -m 644 target/%{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
+%mvn_install
-# poms
-install -d -m 755 %{buildroot}%{_mavenpomdir}
-install -pm 644 pom.xml \
- %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
-%add_maven_depmap JPP-%{name}.pom %{name}.jar
+%files -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}
+%files javadoc -f .mfiles-javadoc
%changelog
+* Mon Aug 12 2013 Alexander Kurtakov <akurtako at redhat.com> 2.6-5
+- Build using xmvn.
+
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.6-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
More information about the scm-commits
mailing list