2878ad8
Name:          plexus-pom
cd9f2d3
Version:       3.3.1
Stanislav Ochotnicky f5a8ee2
Release:       2%{?dist}
2878ad8
Summary:       Root Plexus Projects pom
2878ad8
Group:         Development/Libraries
2878ad8
License:       ASL 2.0
2878ad8
URL:           https://github.com/sonatype/%{name}/
2878ad8
# git clone git://github.com/sonatype/plexus-pom.git
cd9f2d3
# (cd plexus-pom && git archive --format=tar --prefix=plexus-pom-3.3.1/ plexus-3.3.1 | xz > ../plexus-pom-3.3.1.tar.xz)
cd9f2d3
Source0:       %{name}-%{version}.tar.xz
6f8101d
Source1:       http://www.apache.org/licenses/LICENSE-2.0.txt
2878ad8
2878ad8
BuildRequires: java-devel
2878ad8
BuildRequires: jpackage-utils >= 0:1.7.5
2878ad8
BuildRequires: spice-parent
2878ad8
Stanislav Ochotnicky f5a8ee2
BuildRequires: maven-local
2878ad8
BuildRequires: modello
2878ad8
BuildRequires: plexus-containers-component-metadata
2878ad8
2878ad8
Requires:      maven
2878ad8
Requires:      spice-parent
2878ad8
2878ad8
Requires:      jpackage-utils >= 0:1.7.5
2878ad8
BuildArch:     noarch
2878ad8
2878ad8
%description
2878ad8
The Plexus project provides a full software stack for creating and
2878ad8
executing software projects.
2878ad8
2878ad8
%prep
2878ad8
%setup -q
cd9f2d3
# require: maven-site-plugin *
cd9f2d3
%pom_xpath_remove "pom:profile[pom:id='maven-3']"
cd9f2d3
# * require: org.codehaus.plexus plexus-stylus-skin 1.0
cd9f2d3
# org.apache.maven.wagon wagon-webdav-jackrabbit 1.0
cd9f2d3
%pom_remove_plugin org.apache.maven.plugins:maven-site-plugin
cd9f2d3
cd9f2d3
%pom_remove_plugin org.codehaus.mojo:findbugs-maven-plugin
cd9f2d3
%pom_remove_plugin org.codehaus.mojo:taglist-maven-plugin
6f8101d
cp -p %{SOURCE1} LICENSE
2878ad8
2878ad8
%build
cd9f2d3
# Nothing to do
2878ad8
%install
2878ad8
2878ad8
mkdir -p %{buildroot}%{_mavenpomdir}
2878ad8
install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP.plexus-plexus.pom
2878ad8
%add_maven_depmap JPP.plexus-plexus.pom
2878ad8
cd9f2d3
%check
cd9f2d3
mvn-rpmbuild verify
cd9f2d3
2878ad8
%files
6f8101d
%doc LICENSE
2878ad8
%{_mavenpomdir}/JPP.plexus-plexus.pom
2878ad8
%{_mavendepmapfragdir}/%{name}
2878ad8
2878ad8
%changelog
Stanislav Ochotnicky f5a8ee2
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 3.3.1-2
Stanislav Ochotnicky f5a8ee2
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
Stanislav Ochotnicky f5a8ee2
- Replace maven BuildRequires with maven-local
Stanislav Ochotnicky f5a8ee2
cd9f2d3
* Sat Dec 08 2012 gil cattaneo <puntogil@libero.it> 3.3.1-1
cd9f2d3
- Update to 3.3.1
cd9f2d3
6f8101d
* Wed Nov 21 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.0.1-3
6f8101d
- Install LICENSE file
6f8101d
- Resolves: rhbz#878825
6f8101d
0fba944
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.1-2
0fba944
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
0fba944
2878ad8
* Wed Feb 08 2012 gil cattaneo <puntogil@libero.it> 3.0.1-1
6f8101d
- initial rpm