From e59851f7db53bb9cbf7214b08bbe02055189631e Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: May 31 2016 08:37:36 +0000 Subject: import rh-maven33-maven-reporting-exec-1.1-4.17.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..df233cb --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/maven-reporting-exec-1.1-source-release.zip diff --git a/.rh-maven33-maven-reporting-exec.metadata b/.rh-maven33-maven-reporting-exec.metadata new file mode 100644 index 0000000..6dba762 --- /dev/null +++ b/.rh-maven33-maven-reporting-exec.metadata @@ -0,0 +1 @@ +a9b2b337d6436683303d2895f3ab7fb761150f53 SOURCES/maven-reporting-exec-1.1-source-release.zip diff --git a/README.md b/README.md deleted file mode 100644 index 98f42b4..0000000 --- a/README.md +++ /dev/null @@ -1,4 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/maven-reporting-exec.spec b/SPECS/maven-reporting-exec.spec new file mode 100644 index 0000000..fbbc38b --- /dev/null +++ b/SPECS/maven-reporting-exec.spec @@ -0,0 +1,166 @@ +%global pkg_name maven-reporting-exec +%{?scl:%scl_package %{pkg_name}} +%{?maven_find_provides_and_requires} + +Name: %{?scl_prefix}%{pkg_name} +Version: 1.1 +Release: 4.17%{?dist} +BuildArch: noarch +Summary: Classes to manage report plugin executions with Maven 3 + +License: ASL 2.0 +URL: http://maven.apache.org/shared/maven-reporting-exec/ +Source0: http://repo1.maven.org/maven2/org/apache/maven/reporting/%{pkg_name}/%{version}/%{pkg_name}-%{version}-source-release.zip + +BuildRequires: %{?scl_prefix_java_common}javapackages-tools +BuildRequires: %{?scl_prefix}maven-local +BuildRequires: %{?scl_prefix}maven-invoker-plugin +BuildRequires: %{?scl_prefix}maven-shared +BuildRequires: %{?scl_prefix}maven-surefire-plugin +BuildRequires: %{?scl_prefix}maven-surefire-provider-junit +BuildRequires: %{?scl_prefix}plexus-containers-component-metadata + + +%description +Classes to manage report plugin executions with Maven 3. Contains classes for +managing and configuring reports and their execution. + +%package javadoc +Summary: API documentation for %{pkg_name} + +%description javadoc +The API documentation of %{pkg_name}. + + + +%prep +%setup -qn %{pkg_name}-%{version} +%{?scl:scl enable %{scl} - <<"EOF"} +set -e -x +# convert CR+LF to LF +sed -i 's/\r//g' pom.xml src/main/java/org/apache/maven/reporting/exec/* + +# We have different sonatype groupId and java package name +find -iname '*.java' -exec sed -i 's/org.sonatype.aether/org.eclipse.aether/g' '{}' ';' + +%pom_xpath_set "pom:groupId[text()='org.sonatype.aether']" org.eclipse.aether +%pom_change_dep org.sonatype.sisu:sisu-inject-plexus org.eclipse.sisu:org.eclipse.sisu.plexus +%pom_remove_plugin org.apache.maven.plugins:maven-enforcer-plugin +%{?scl:EOF} + +%build +%{?scl:scl enable %{scl} - <<"EOF"} +set -e -x +# Test are skipped because there are errors with PlexusLogger +# More info possibly here: +# https://docs.sonatype.org/display/AETHER/Using+Aether+in+Maven+Plugins?focusedCommentId=10485782#comment-10485782 +%mvn_build -f +%{?scl:EOF} + +%install +%{?scl:scl enable %{scl} - <<"EOF"} +set -e -x +%mvn_install +%{?scl:EOF} + +%files -f .mfiles +%dir %{_mavenpomdir}/%{pkg_name} +%dir %{_javadir}/%{pkg_name} +%doc LICENSE NOTICE DEPENDENCIES + +%files javadoc -f .mfiles-javadoc +%doc LICENSE NOTICE + + +%changelog +* Thu Feb 11 2016 Michal Srb - 1.1-4.17 +- Fix FTBFS + +* Mon Feb 08 2016 Michal Srb - 1.1-4.16 +- Fix BR on maven-local & co. + +* Mon Jan 18 2016 Michal Srb - 1.1-4.15 +- Switch to Eclipse Aether + +* Mon Jan 11 2016 Michal Srb - 1.1-4.14 +- maven33 rebuild #2 + +* Sat Jan 09 2016 Michal Srb - 1.1-4.13 +- maven33 rebuild + +* Thu Jan 15 2015 Mikolaj Izdebski - 1.1-4.12 +- Add directory ownership on %%{_mavenpomdir} subdir + +* Tue Jan 13 2015 Michael Simacek - 1.1-4.11 +- Mass rebuild 2015-01-13 + +* Tue Jan 06 2015 Michael Simacek - 1.1-4.10 +- Mass rebuild 2015-01-06 + +* Thu Jul 31 2014 Mikolaj Izdebski - 1.1-4.9 +- Fix javadoc subpackage generation +- Resolves: rhbz#1125205 + +* Mon May 26 2014 Mikolaj Izdebski - 1.1-4.8 +- Mass rebuild 2014-05-26 + +* Thu Feb 20 2014 Mikolaj Izdebski - 1.1-4.7 +- Fix directory ownership + +* Wed Feb 19 2014 Mikolaj Izdebski - 1.1-4.6 +- Mass rebuild 2014-02-19 + +* Tue Feb 18 2014 Mikolaj Izdebski - 1.1-4.5 +- Mass rebuild 2014-02-18 +- Add missing BR: maven-shared + +* Tue Feb 18 2014 Mikolaj Izdebski - 1.1-4.4 +- Remove requires on java + +* Mon Feb 17 2014 Mikolaj Izdebski - 1.1-4.3 +- SCL-ize build-requires + +* Thu Feb 13 2014 Mikolaj Izdebski - 1.1-4.2 +- Rebuild to regenerate auto-requires + +* Tue Feb 11 2014 Mikolaj Izdebski - 1.1-4.1 +- First maven30 software collection build + +* Fri Dec 27 2013 Daniel Mach - 1.1-4 +- Mass rebuild 2013-12-27 + +* Mon Jun 10 2013 Stanislav Ochotnicky - 1.1-3 +- Remove unused source + +* Mon May 06 2013 Tomas Radej - 1.1-2 +- Removed aether BR + +* Mon Apr 22 2013 Tomas Radej - 1.1-1 +- Updated to latest upstream version +- Building with maven-local + +* Thu Feb 14 2013 Fedora Release Engineering - 1.0.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Wed Feb 06 2013 Java SIG - 1.0.2-3 +- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild +- Replace maven BuildRequires with maven-local + +* Thu Jul 19 2012 Fedora Release Engineering - 1.0.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Thu Apr 26 2012 Tomas Radej - 1.0.2-1 +- Updated to latest upstream version + +* Fri Jan 13 2012 Fedora Release Engineering - 1.0.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Fri Aug 12 2011 tradej 1.0.1-3 +- Added dist macro to release + +* Thu Aug 11 2011 tradej 1.0.1-2 +- Changed BuildArch to noarch + +* Wed Aug 10 2011 tradej 1.0.1-1 +- Initial release (thanks to akurtakov, jcapik and the GULaG team for help) +