From 95fa8775541c9f6951e4f11273653f6db780fbfc Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Fri, 8 May 2020 02:18:13 +0000 Subject: [PATCH] import maven-dependency-analyzer-1.11.1-2.module+el8.2.0+4938+c0cffa5b --- .gitignore | 1 + .maven-dependency-analyzer.metadata | 1 + SPECS/maven-dependency-analyzer.spec | 137 +++++++++++++++++++++++++++ 3 files changed, 139 insertions(+) create mode 100644 .gitignore create mode 100644 .maven-dependency-analyzer.metadata create mode 100644 SPECS/maven-dependency-analyzer.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..715d6d5 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/maven-dependency-analyzer-1.11.1-source-release.zip diff --git a/.maven-dependency-analyzer.metadata b/.maven-dependency-analyzer.metadata new file mode 100644 index 0000000..3c43223 --- /dev/null +++ b/.maven-dependency-analyzer.metadata @@ -0,0 +1 @@ +cb8b48cf9586638146538c0a305960b12de50e38 SOURCES/maven-dependency-analyzer-1.11.1-source-release.zip diff --git a/SPECS/maven-dependency-analyzer.spec b/SPECS/maven-dependency-analyzer.spec new file mode 100644 index 0000000..c536ecd --- /dev/null +++ b/SPECS/maven-dependency-analyzer.spec @@ -0,0 +1,137 @@ +Name: maven-dependency-analyzer +Version: 1.11.1 +Release: 2%{?dist} +Summary: Maven dependency analyzer +License: ASL 2.0 +URL: http://maven.apache.org/shared/maven-dependency-analyzer/ +BuildArch: noarch + +Source0: http://repo1.maven.org/maven2/org/apache/maven/shared/%{name}/%{version}/%{name}-%{version}-source-release.zip + +BuildRequires: maven-local +BuildRequires: mvn(org.apache.maven:maven-artifact) +BuildRequires: mvn(org.apache.maven:maven-model) +BuildRequires: mvn(org.apache.maven:maven-project) +BuildRequires: mvn(org.apache.maven.plugins:maven-enforcer-plugin) +BuildRequires: mvn(org.apache.maven.shared:maven-shared-components:pom:) +BuildRequires: mvn(org.codehaus.plexus:plexus-component-annotations) +BuildRequires: mvn(org.codehaus.plexus:plexus-component-metadata) +BuildRequires: mvn(org.codehaus.plexus:plexus-utils) +BuildRequires: mvn(org.ow2.asm:asm) + +%description +Analyzes the dependencies of a project for undeclared or unused artifacts. + +Warning: Analysis is not done at source but bytecode level, then some cases are +not detected (constants, annotations with source-only retention, links in +javadoc) which can lead to wrong result if they are the only use of a +dependency. + +%package javadoc +Summary: API documentation for %{name} + +%description javadoc +%{summary} + +%prep +%setup -q + +# Needed for tests only. However, the right groupId:artifactId of jmock in +# Fedora is org.jmock:jmock +%pom_remove_dep jmock:jmock + +%build +# org.jmock.core package is needed, we don't have it +%mvn_build -f + +%install +%mvn_install + +%files -f .mfiles +%doc LICENSE NOTICE + +%files javadoc -f .mfiles-javadoc +%doc LICENSE NOTICE + +%changelog +* Tue Nov 05 2019 Mikolaj Izdebski - 1.11.1-2 +- Mass rebuild for javapackages-tools 201902 + +* Tue Jun 04 2019 Marian Koncek - 1.11.1-1 +- Update to upstream version 1.11.1 + +* Fri May 24 2019 Mikolaj Izdebski - 1.8-3 +- Mass rebuild for javapackages-tools 201901 + +* Thu Feb 08 2018 Fedora Release Engineering - 1.8-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Fri Jan 26 2018 Mikolaj Izdebski - 1.8-1 +- Update to upstream version 1.8 + +* Wed Jul 26 2017 Fedora Release Engineering - 1.7-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Thu May 04 2017 Michael Simacek - 1.7-1 +- Update to upstream version 1.7 + +* Fri Feb 10 2017 Fedora Release Engineering - 1.6-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Wed Jun 15 2016 Mikolaj Izdebski - 1.6-4 +- Add missing build-requires +- Remove old obsoletes/provides + +* Thu Feb 04 2016 Fedora Release Engineering - 1.6-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jun 17 2015 Fedora Release Engineering - 1.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Wed Feb 04 2015 Michal Srb - 1.6-1 +- Update to upstream version 1.6 + +* Mon Sep 15 2014 Mikolaj Izdebski - 1.5-1 +- Update to upstream version 1.5 + +* Mon Aug 4 2014 Mikolaj Izdebski - 1.4-6 +- Fix build-requires on parent POM + +* Sat Jun 07 2014 Fedora Release Engineering - 1.4-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Tue Mar 04 2014 Stanislav Ochotnicky - 1.4-4 +- Use Requires: java-headless rebuild (#1067528) + +* Wed Feb 19 2014 Mikolaj Izdebski - 1.4-3 +- Fix unowned directory + +* Sat Aug 03 2013 Fedora Release Engineering - 1.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Tue May 21 2013 Mikolaj Izdebski - 1.4-1 +- Update to upstream version 1.4 + +* Tue Feb 19 2013 Mikolaj Izdebski - 1.3-7 +- Build with xmvn + +* Thu Feb 14 2013 Fedora Release Engineering - 1.3-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Wed Feb 06 2013 Java SIG - 1.3-5 +- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild +- Replace maven BuildRequires with maven-local + +* Tue Jan 22 2013 Mikolaj Izdebski - 1.3-4 +- Replace asm2 R with objectweb-asm +- Resolves: rhbz#902641 + +* Fri Dec 21 2012 Tomas Radej - 1.3-3 +- Added missing Provides/Obsoletes + +* Thu Dec 20 2012 Tomas Radej - 1.3-2 +- Removed xmvn + reworked building without it + +* Tue Dec 18 2012 Tomas Radej - 1.3-1 +- Initial package +