Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package maven-common-artifact-filters for
openSUSE:Factory checked in at 2023-09-06 19:00:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/maven-common-artifact-filters (Old)
and /work/SRC/openSUSE:Factory/.maven-common-artifact-filters.new.1766
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "maven-common-artifact-filters"
Wed Sep 6 19:00:06 2023 rev:3 rq:1109285 version:3.3.2
Changes:
--------
---
/work/SRC/openSUSE:Factory/maven-common-artifact-filters/maven-common-artifact-filters.changes
2022-03-21 20:11:10.712388767 +0100
+++
/work/SRC/openSUSE:Factory/.maven-common-artifact-filters.new.1766/maven-common-artifact-filters.changes
2023-09-06 19:04:39.929401976 +0200
@@ -1,0 +2,40 @@
+Wed Sep 6 14:30:17 UTC 2023 - Fridrich Strba <[email protected]>
+
+- Upgrade to upstream version 3.3.2
+- Changes of 3.3.2
+ * Bug
+ + MSHARED-1130: PatternIncludesArtifactFilters raising NPE for
+ patterns w/ wildcards and artifactoid w/ null on any
+ coordinate
+- Changes of 3.3.1
+ * Bug
+ + MSHARED-1104: Pattern w/ 4 elements may be GATV or GATC
+- Changes of 3.3.0
+ * Bug
+ + MSHARED-1017: null passed to DependencyFilter in
+ EclipseAetherFilterTransformerTest
+ + MSHARED-1031: PatternIncludesArtifactFilter#include(Artifact)
+ + MSHARED-1077: Common Artifact Filters pattern parsing with
+ classifier is broken
+ * Task
+ + MSHARED-988: Sanitize dependencies
+ + MSHARED-1078: Upgrade to Maven Parent 36, to Maven 3.2.5, to
+ Java 8 and clean up dependencies
+- Changes of 3.2.0
+ * Improvement
+ + MSHARED-975: Big speed improvements for patterns that do not
+ contain any wildcard
+- Changes of 3.1.1
+ * Bug
+ + MSHARED-942: Update JIRA URL for maven-common-artifact-filters
+ * Improvement
+ + MSHARED-879: make build Reproducible
+- Changes of 3.1.0
+ * Bug
+ + MSHARED-631: Several filters do not preserve order of
+ artifacts filtered
+- Removed patch:
+ * 0001-Remove-Maven-3.0-specific-code.patch
+ + not needed with this version
+
+-------------------------------------------------------------------
Old:
----
0001-Remove-Maven-3.0-specific-code.patch
maven-common-artifact-filters-3.0.1-source-release.zip
New:
----
maven-common-artifact-filters-3.3.2-source-release.zip
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ maven-common-artifact-filters.spec ++++++
--- /var/tmp/diff_new_pack.HZalcv/_old 2023-09-06 19:04:41.365453168 +0200
+++ /var/tmp/diff_new_pack.HZalcv/_new 2023-09-06 19:04:41.369453311 +0200
@@ -1,7 +1,7 @@
#
# spec file for package maven-common-artifact-filters
#
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,17 +16,15 @@
#
-%bcond_with tests
Name: maven-common-artifact-filters
-Version: 3.0.1
+Version: 3.3.2
Release: 0
Summary: Maven Common Artifact Filters
License: Apache-2.0
Group: Development/Libraries/Java
-URL: http://maven.apache.org/shared/
-Source0:
http://repo1.maven.org/maven2/org/apache/maven/shared/%{name}/%{version}/%{name}-%{version}-source-release.zip
+URL: https://maven.apache.org/shared/
+Source0:
https://repo1.maven.org/maven2/org/apache/maven/shared/%{name}/%{version}/%{name}-%{version}-source-release.zip
Source1: %{name}-build.xml
-Patch0: 0001-Remove-Maven-3.0-specific-code.patch
BuildRequires: ant
BuildRequires: fdupes
BuildRequires: javapackages-local
@@ -35,19 +33,12 @@
BuildRequires: maven-resolver-util
BuildRequires: maven-shared-utils
BuildRequires: sisu-plexus
+BuildRequires: slf4j
BuildRequires: unzip
BuildRequires: xmvn-install
BuildRequires: xmvn-resolve
BuildRequires: mvn(org.apache.maven.shared:maven-shared-components:pom:)
BuildArch: noarch
-%if %{with tests}
-BuildRequires: ant-junit
-BuildRequires: apache-commons-lang3
-BuildRequires: easymock
-BuildRequires: maven-plugin-testing-harness
-BuildRequires: plexus-archiver
-BuildRequires: plexus-utils
-%endif
%description
A collection of ready-made filters to control inclusion/exclusion of artifacts
@@ -63,12 +54,8 @@
%prep
%setup -q
cp %{SOURCE1} build.xml
-%patch0 -p1
-# We don't want to support legacy Maven versions (older than 3.1)
-%pom_remove_dep org.sonatype.sisu:
-%pom_remove_dep org.sonatype.aether:
-find -name SonatypeAether\*.java -delete
+%pom_xpath_remove pom:project/pom:parent/pom:relativePath
%build
mkdir -p lib
@@ -81,32 +68,30 @@
maven-resolver/maven-resolver-api \
maven-resolver/maven-resolver-util \
maven-shared-utils/maven-shared-utils \
- org.eclipse.sisu.plexus
-%if %{with tests}
-build-jar-repository -s lib \
- commons-lang3 \
- easymock \
- maven-plugin-testing/maven-plugin-testing-harness \
- plexus/archiver \
- plexus/utils
-%endif
+ org.eclipse.sisu.plexus \
+ slf4j/api
%{ant} \
-%if %{without tests}
- -Dtest.skip=true \
-%endif
jar javadoc
-%mvn_artifact pom.xml target/%{name}-%{version}.jar
-
%install
-%mvn_install
+# jar
+install -dm 0755 %{buildroot}%{_javadir}/%{name}
+install -pm 0644 target/%{name}-%{version}.jar
%{buildroot}%{_javadir}/%{name}/%{name}.jar
+# pom
+install -dm 0755 %{buildroot}%{_mavenpomdir}/%{name}
+%{mvn_install_pom} pom.xml %{buildroot}%{_mavenpomdir}/%{name}/%{name}.pom
+%add_maven_depmap %{name}/%{name}.pom %{name}/%{name}.jar
+# javadoc
+install -dm 0755 %{buildroot}%{_javadocdir}/%{name}
+cp -pr target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}/
%fdupes -s %{buildroot}%{_javadocdir}
%files -f .mfiles
%license LICENSE NOTICE
-%files javadoc -f .mfiles-javadoc
+%files javadoc
+%{_javadocdir}/%{name}
%license LICENSE NOTICE
%changelog
++++++ maven-common-artifact-filters-build.xml ++++++
--- /var/tmp/diff_new_pack.HZalcv/_old 2023-09-06 19:04:41.405454594 +0200
+++ /var/tmp/diff_new_pack.HZalcv/_new 2023-09-06 19:04:41.409454737 +0200
@@ -10,11 +10,11 @@
<property name="project.groupId" value="org.apache.maven.shared"/>
<property name="project.artifactId" value="maven-common-artifact-filters"/>
- <property name="project.version" value="3.0.1"/>
+ <property name="project.version" value="3.3.2"/>
<property name="project.name" value="Apache Maven Common Artifact Filters"/>
<property name="project.organization.name"
value="${project.organization.name}"/>
- <property name="spec.version" value="3.0"/>
+ <property name="spec.version" value="3.3"/>
<property name="compiler.source" value="1.8"/>
<property name="compiler.target" value="${compiler.source}"/>
@@ -24,10 +24,7 @@
<property name="build.outputDir" value="${build.dir}/classes"/>
<property name="build.srcDir" value="src/main/java"/>
<property name="build.resourceDir" value="src/main/resources"/>
- <property name="build.testOutputDir" value="${build.dir}/test-classes"/>
- <property name="build.testDir" value="src/test/java"/>
- <property name="build.testResourceDir" value="src/test/resources"/>
- <property name="test.reports" value="${build.dir}/test-reports"/>
+
<property name="reporting.outputDirectory" value="${build.dir}/site"/>
<!-- ======================================================================
-->
@@ -39,11 +36,6 @@
<include name="**/*.jar"/>
</fileset>
</path>
- <path id="build.test.classpath">
- <fileset dir="lib">
- <include name="**/*.jar"/>
- </fileset>
- </path>
<!-- ======================================================================
-->
<!-- Cleaning up target
-->
@@ -77,98 +69,6 @@
</target>
<!-- ======================================================================
-->
- <!-- Test-compilation target
-->
- <!-- ======================================================================
-->
-
- <target name="compile-tests"
- depends="compile"
- description="Compile the test code"
- unless="test.skip">
- <mkdir dir="${build.testOutputDir}"/>
- <javac destdir="${build.testOutputDir}"
- nowarn="false"
- debug="true"
- encoding="UTF-8"
- optimize="false"
- deprecation="true"
- target="${compiler.target}"
- verbose="false"
- fork="false"
- source="${compiler.source}">
- <src>
- <pathelement location="${build.testDir}"/>
- </src>
- <classpath>
- <path refid="build.test.classpath"/>
- <pathelement location="${build.outputDir}"/>
- </classpath>
- </javac>
- </target>
-
- <!-- ======================================================================
-->
- <!-- Run all tests
-->
- <!-- ======================================================================
-->
-
- <target name="test"
- depends="compile-tests, junit-missing"
- unless="junit.skipped"
- description="Run the test cases">
- <mkdir dir="${test.reports}"/>
- <junit printSummary="yes" haltonerror="true" haltonfailure="true"
fork="true" dir=".">
- <sysproperty key="basedir" value="."/>
- <formatter type="xml"/>
- <formatter type="plain" usefile="false"/>
- <classpath>
- <path refid="build.test.classpath"/>
- <pathelement location="${build.outputDir}"/>
- <pathelement location="${build.testOutputDir}"/>
- </classpath>
- <batchtest todir="${test.reports}" unless="test">
- <fileset dir="${build.testDir}">
- <include name="**/Test*.java"/>
- <include name="**/*Test.java"/>
- <include name="**/*TestCase.java"/>
- <exclude name="**/*Abstract*Test*.java"/>
- </fileset>
- </batchtest>
- <batchtest todir="${test.reports}" if="test">
- <fileset dir="${build.testDir}">
- <include name="**/${test}.java"/>
- <exclude name="**/*Abstract*Test*.java"/>
- </fileset>
- </batchtest>
- </junit>
- </target>
-
- <target name="test-junit-present">
- <available classname="junit.framework.Test" property="junit.present"
classpathref="build.test.classpath"/>
- </target>
-
- <target name="test-junit-status"
- depends="test-junit-present">
- <condition property="junit.missing">
- <and>
- <isfalse value="${junit.present}"/>
- <isfalse value="${test.skip}"/>
- </and>
- </condition>
- <condition property="junit.skipped">
- <or>
- <isfalse value="${junit.present}"/>
- <istrue value="${test.skip}"/>
- </or>
- </condition>
- </target>
-
- <target name="junit-missing"
- depends="test-junit-status"
- if="junit.missing">
- <echo>=================================== WARNING
===================================</echo>
- <echo> JUnit is not present in the test classpath or your $ANT_HOME/lib
directory. Tests not executed.</echo>
-
<echo>===============================================================================</echo>
- </target>
-
- <!-- ======================================================================
-->
<!-- Javadoc target
-->
<!-- ======================================================================
-->
@@ -201,7 +101,7 @@
<!-- Package target
-->
<!-- ======================================================================
-->
- <target name="package" depends="compile,test" description="Package the
application">
+ <target name="package" depends="compile" description="Package the
application">
<jar jarfile="${build.dir}/${build.finalName}.jar"
compress="true"
index="false"