Hello community, here is the log from the commit of package maven-reporting-exec for openSUSE:Leap:15.2 checked in at 2020-02-09 11:26:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/maven-reporting-exec (Old) and /work/SRC/openSUSE:Leap:15.2/.maven-reporting-exec.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "maven-reporting-exec" Sun Feb 9 11:26:17 2020 rev:1 rq:771140 version:1.4 Changes: -------- New Changes file: --- /dev/null 2019-12-19 10:12:34.003146842 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.maven-reporting-exec.new.26092/maven-reporting-exec.changes 2020-02-09 11:26:17.383328692 +0100 @@ -0,0 +1,20 @@ +------------------------------------------------------------------- +Sun Nov 24 17:09:42 UTC 2019 - Fridrich Strba <fst...@suse.com> + +- Specify maven.compiler.release to fix build with jdk9+ and newer + maven-javadoc-plugin + +------------------------------------------------------------------- +Mon Jun 3 17:53:13 UTC 2019 - Jan Engelhardt <jeng...@inai.de> + +- Trim description repetition of itself. + +------------------------------------------------------------------- +Sun May 5 20:30:17 UTC 2019 - Jan Engelhardt <jeng...@inai.de> + +- Add Group: field. + +------------------------------------------------------------------- +Fri May 3 15:11:16 UTC 2019 - Fridrich Strba <fst...@suse.com> + +- Initial packaging of maven-reporting-exec 1.4 New: ---- 0001-Port-to-Eclipse-Aether-and-Eclipse-Sisu.patch maven-reporting-exec-1.4-source-release.zip maven-reporting-exec.changes maven-reporting-exec.spec ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ maven-reporting-exec.spec ++++++ # # spec file for package maven-reporting-exec # # Copyright (c) 2019 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: maven-reporting-exec Version: 1.4 Release: 0 Summary: Classes to manage report plugin executions with Maven 3 License: Apache-2.0 Group: Development/Libraries/Java URL: http://maven.apache.org/shared/maven-reporting-exec/ Source0: http://repo1.maven.org/maven2/org/apache/maven/reporting/%{name}/%{version}/%{name}-%{version}-source-release.zip Patch0001: 0001-Port-to-Eclipse-Aether-and-Eclipse-Sisu.patch BuildRequires: fdupes BuildRequires: maven-local BuildRequires: unzip BuildRequires: mvn(org.apache.maven.plugins:maven-invoker-plugin) BuildRequires: mvn(org.apache.maven.reporting:maven-reporting-api) BuildRequires: mvn(org.apache.maven.shared:maven-shared-components:pom:) BuildRequires: mvn(org.apache.maven.shared:maven-shared-utils) 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-settings) BuildRequires: mvn(org.apache.maven:maven-settings-builder) BuildRequires: mvn(org.codehaus.plexus:plexus-component-annotations) BuildRequires: mvn(org.codehaus.plexus:plexus-component-metadata) BuildRequires: mvn(org.eclipse.aether:aether-api) BuildRequires: mvn(org.eclipse.aether:aether-util) BuildRequires: mvn(org.eclipse.sisu:org.eclipse.sisu.plexus) Requires: java-headless BuildArch: noarch %description Classes to manage and configure report plugin executions with Maven 3. %package javadoc Summary: API documentation for %{name} Group: Documentation/HTML %description javadoc The API documentation of %{name}. %prep %setup -q %patch0001 -p1 # convert CR+LF to LF sed -i 's/\r//g' pom.xml src/main/java/org/apache/maven/reporting/exec/* %pom_remove_plugin org.apache.maven.plugins:maven-enforcer-plugin # Build against Maven 3.x, Eclipse Aether and Eclipse Sisu %pom_remove_dep org.sonatype.aether:aether-api %pom_remove_dep org.sonatype.aether:aether-util %pom_change_dep org.sonatype.aether:aether-connector-wagon org.eclipse.aether:aether-transport-wagon %pom_change_dep org.sonatype.sisu:sisu-inject-plexus org.eclipse.sisu:org.eclipse.sisu.plexus %build %{mvn_build} -f \ %if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0} -- -Dmaven.compiler.release=6 %endif %install %mvn_install %fdupes -s %{buildroot}%{_javadocdir} %files -f .mfiles %license LICENSE %doc NOTICE DEPENDENCIES %files javadoc -f .mfiles-javadoc %license LICENSE %doc NOTICE %changelog ++++++ 0001-Port-to-Eclipse-Aether-and-Eclipse-Sisu.patch ++++++ >From cf2cedf003f11e207befaa10227c19e28a92b5ca Mon Sep 17 00:00:00 2001 From: Michael Simacek <msima...@redhat.com> Date: Wed, 2 Nov 2016 14:12:00 +0100 Subject: [PATCH] Port to Eclipse Aether and Eclipse Sisu --- .../exec/DefaultMavenPluginManagerHelper.java | 28 +--------------------- .../exec/TestDefaultMavenReportExecutor.java | 10 ++++---- 2 files changed, 6 insertions(+), 32 deletions(-) diff --git a/src/main/java/org/apache/maven/reporting/exec/DefaultMavenPluginManagerHelper.java b/src/main/java/org/apache/maven/reporting/exec/DefaultMavenPluginManagerHelper.java index 4de901e..5cd3985 100644 --- a/src/main/java/org/apache/maven/reporting/exec/DefaultMavenPluginManagerHelper.java +++ b/src/main/java/org/apache/maven/reporting/exec/DefaultMavenPluginManagerHelper.java @@ -94,35 +94,9 @@ public class DefaultMavenPluginManagerHelper } } - private boolean isEclipseAether() - { - if ( isEclipseAether == null ) - { - try - { - ClassLoader cl = Thread.currentThread().getContextClassLoader(); - cl.loadClass( "org.sonatype.aether.graph.DependencyFilter" ); - isEclipseAether = false; - } - catch ( ClassNotFoundException e ) - { - isEclipseAether = true; - } - } - - return isEclipseAether.booleanValue(); - } - private Object createExclusionsDependencyFilter( List<String> artifactIdsList ) { - if ( isEclipseAether() ) - { - return new org.eclipse.aether.util.filter.ExclusionsDependencyFilter( artifactIdsList ); - } - else - { - return new org.sonatype.aether.util.filter.ExclusionsDependencyFilter( artifactIdsList ); - } + return new org.eclipse.aether.util.filter.ExclusionsDependencyFilter( artifactIdsList ); } public PluginDescriptor getPluginDescriptor( Plugin plugin, MavenSession session ) diff --git a/src/test/java/org/apache/maven/reporting/exec/TestDefaultMavenReportExecutor.java b/src/test/java/org/apache/maven/reporting/exec/TestDefaultMavenReportExecutor.java index a6c37bf..adfe03a 100644 --- a/src/test/java/org/apache/maven/reporting/exec/TestDefaultMavenReportExecutor.java +++ b/src/test/java/org/apache/maven/reporting/exec/TestDefaultMavenReportExecutor.java @@ -44,11 +44,11 @@ import org.codehaus.plexus.PlexusTestCase; import org.codehaus.plexus.classworlds.realm.ClassRealm; import org.codehaus.plexus.component.repository.exception.ComponentLookupException; import org.codehaus.plexus.logging.Logger; -import org.sonatype.aether.RepositorySystemSession; -import org.sonatype.aether.artifact.Artifact; -import org.sonatype.aether.repository.RemoteRepository; -import org.sonatype.aether.repository.WorkspaceReader; -import org.sonatype.aether.repository.WorkspaceRepository; +import org.eclipse.aether.RepositorySystemSession; +import org.eclipse.aether.artifact.Artifact; +import org.eclipse.aether.repository.RemoteRepository; +import org.eclipse.aether.repository.WorkspaceReader; +import org.eclipse.aether.repository.WorkspaceRepository; import java.io.File; import java.util.Collections; -- 2.7.4