Sophie

Sophie

distrib > Mageia > 5 > x86_64 > by-pkgid > f47244dbd5d0b5ab1a3304dcd5ec51da > files > 2

maven-pmd-plugin-3.1-1.mga5.src.rpm

Name:           maven-pmd-plugin
Version:        3.1
Release:        %mkrel 1
Summary:        Maven PMD Plugin

License:        ASL 2.0
URL:            http://maven.apache.org/plugins/maven-pmd-plugin/
Source0:        http://repo2.maven.org/maven2/org/apache/maven/plugins/%{name}/%{version}/%{name}-%{version}-source-release.zip
Group:          Development/Java

BuildArch: noarch

BuildRequires:  maven-local
BuildRequires:  mvn(net.sf.cglib:cglib)
BuildRequires:  mvn(net.sourceforge.pmd:pmd)
BuildRequires:  mvn(org.apache.maven.doxia:doxia-decoration-model)
BuildRequires:  mvn(org.apache.maven.doxia:doxia-sink-api)
BuildRequires:  mvn(org.apache.maven.doxia:doxia-site-renderer)
BuildRequires:  mvn(org.apache.maven.plugin-tools:maven-plugin-annotations)
BuildRequires:  mvn(org.apache.maven.plugins:maven-plugin-plugin)
BuildRequires:  mvn(org.apache.maven.plugins:maven-plugins:pom:)
BuildRequires:  mvn(org.apache.maven.reporting:maven-reporting-api)
BuildRequires:  mvn(org.apache.maven.reporting:maven-reporting-impl)
BuildRequires:  mvn(org.apache.maven:maven-artifact)
BuildRequires:  mvn(org.apache.maven:maven-core)
BuildRequires:  mvn(org.apache.maven:maven-model)
BuildRequires:  mvn(org.apache.maven:maven-plugin-api)
BuildRequires:  mvn(org.apache.maven:maven-project)
BuildRequires:  mvn(org.codehaus.modello:modello-maven-plugin)
BuildRequires:  mvn(org.codehaus.plexus:plexus-resources)
BuildRequires:  mvn(org.codehaus.plexus:plexus-utils)
BuildRequires:  mvn(org.eclipse.aether:aether-api)

Provides:       maven2-plugin-pmd = %{version}-%{release}
Obsoletes:      maven2-plugin-pmd <= 0:2.0.8

%description
A Maven plugin for the PMD toolkit, that produces a report on both code rule 
violations and detected copy and paste fragments, as well as being able to 
fail the build based on these metrics.
  

%package javadoc
Summary:        Javadoc for %{name}
Group:          Documentation

%description javadoc
API documentation for %{name}.


%prep
%setup -q 

# remove unnecessary animal sniffer plugin
%pom_remove_plugin org.codehaus.mojo:animal-sniffer-maven-plugin

# add missing test time deps
%pom_add_dep org.eclipse.aether:aether-api
%pom_add_dep org.apache.maven:maven-core
%pom_add_dep net.sf.cglib:cglib

%build
# ignore test failures
# all tests fail, so this is probably environmental but I'm not sure what's missing
%mvn_build -f

%install
%mvn_install

%files -f .mfiles
%dir %{_javadir}/%{name}
%doc LICENSE NOTICE

%files javadoc -f .mfiles-javadoc
%doc LICENSE NOTICE




%changelog
* Wed Dec 31 2014 pterjan <pterjan> 3.1-1.mga5
+ Revision: 807857
- Sync with Fedora 21 (update to 3.2)

* Wed Oct 15 2014 umeabot <umeabot> 3.0.1-6.mga5
+ Revision: 741589
- Second Mageia 5 Mass Rebuild
- Mageia 5 Mass Rebuild

* Tue Oct 22 2013 umeabot <umeabot> 3.0.1-4.mga4
+ Revision: 544947
- Mageia 4 Mass Rebuild

* Tue Oct 15 2013 dmorgan <dmorgan> 3.0.1-3.mga4
+ Revision: 500530
- New version

* Sat Jan 12 2013 umeabot <umeabot> 2.7.1-2.mga3
+ Revision: 359739
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Mon Jul 09 2012 dmorgan <dmorgan> 2.7.1-1.mga3
+ Revision: 268945
- New version 2.7.1

* Fri Jan 06 2012 dmorgan <dmorgan> 2.6-2.mga2
+ Revision: 192643
- Remove useless (build)requires
- Add buildrequire
- Add maven-site-plugin as buildrequire
- Adapt to build with maven 3.x

  + gil <gil>
    - update to 2.6

* Tue Jul 19 2011 dmorgan <dmorgan> 2.5-4.mga2
+ Revision: 126658
- Fix %%install
- Update to current guidelines.
- Use upstream source.

* Thu Apr 28 2011 dmorgan <dmorgan> 2.5-3.mga1
+ Revision: 92718
- Rebuild after bootstrapping
- imported package maven-pmd-plugin


* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild

* Sat May 15 2010 Alexander Kurtakov <akurtako@redhat.com> 2.5-1
- Initial package.