Build with xmvn
This commit is contained in:
parent
345a7145e8
commit
9130231d26
@ -1,6 +1,6 @@
|
||||
Name: mojo-parent
|
||||
Version: 30
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
Summary: Codehaus MOJO parent project pom file
|
||||
|
||||
Group: Development/Libraries
|
||||
@ -11,14 +11,9 @@ BuildArch: noarch
|
||||
|
||||
BuildRequires: jpackage-utils
|
||||
BuildRequires: codehaus-parent
|
||||
BuildRequires: maven
|
||||
BuildRequires: xmvn
|
||||
BuildRequires: maven-enforcer-plugin
|
||||
|
||||
Requires: plexus-containers-component-javadoc
|
||||
Requires: maven-plugin-plugin
|
||||
Requires: junit
|
||||
Requires: codehaus-parent
|
||||
Requires: jpackage-utils
|
||||
|
||||
%description
|
||||
Codehaus MOJO parent project pom file
|
||||
@ -29,21 +24,18 @@ Codehaus MOJO parent project pom file
|
||||
%pom_remove_plugin :cobertura-maven-plugin
|
||||
|
||||
%build
|
||||
mvn-rpmbuild install
|
||||
%mvn_alias : org.codehaus.mojo:mojo
|
||||
%mvn_build
|
||||
|
||||
%install
|
||||
# poms
|
||||
install -d -m 755 %{buildroot}%{_mavenpomdir}
|
||||
install -pm 644 pom.xml \
|
||||
%{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
|
||||
%mvn_install
|
||||
|
||||
%add_maven_depmap JPP-%{name}.pom -a org.codehaus.mojo:mojo
|
||||
|
||||
%files
|
||||
%{_mavenpomdir}/*
|
||||
%{_mavendepmapfragdir}/*
|
||||
%files -f .mfiles
|
||||
|
||||
%changelog
|
||||
* Thu Jan 17 2013 Michal Srb <msrb@redhat.com> - 30-4
|
||||
- Build with xmvn
|
||||
|
||||
* Fri Jan 4 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 30-3
|
||||
- Disable maven-plugin-cobertura
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user