From 4615dfa32b42d4a13f07c2b48fd400128fa6a4f44437e6e017f5a667735ce409 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Mon, 27 Jan 2025 11:23:58 +0100 Subject: [PATCH] Sync from SUSE:SLFO:Main build-helper-maven-plugin revision 689aa51eae33422ab44eef08e3f40e57 --- .gitattributes | 23 ++++++++ build-helper-maven-plugin-3.6.0.tar.gz | 3 ++ build-helper-maven-plugin.changes | 57 ++++++++++++++++++++ build-helper-maven-plugin.spec | 74 ++++++++++++++++++++++++++ 4 files changed, 157 insertions(+) create mode 100644 .gitattributes create mode 100644 build-helper-maven-plugin-3.6.0.tar.gz create mode 100644 build-helper-maven-plugin.changes create mode 100644 build-helper-maven-plugin.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/build-helper-maven-plugin-3.6.0.tar.gz b/build-helper-maven-plugin-3.6.0.tar.gz new file mode 100644 index 0000000..d0789f0 --- /dev/null +++ b/build-helper-maven-plugin-3.6.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bbd69250ee3779565264237eea4b154f4f92e9a74c23e8b64087a5fb309844bf +size 50530 diff --git a/build-helper-maven-plugin.changes b/build-helper-maven-plugin.changes new file mode 100644 index 0000000..d9c1f75 --- /dev/null +++ b/build-helper-maven-plugin.changes @@ -0,0 +1,57 @@ +------------------------------------------------------------------- +Tue Jun 11 16:14:33 UTC 2024 - Fridrich Strba + +- Upgrade to upsteam version 3.6.0 + * New features and improvements + + Provide the Mojos logger as variable in the Interpreter context + + Get rid of ArtifactRepository - ${localRepository} + + Added a property name to the "sources" parameter for CLI usage + + Add skipIfMissing flag + + Add skip flags + + Deprecate maven-version goal + + Deprecate remove-project-artifact goal + + Parallel execution of uptodate-properties + * Bug Fixes + + Fixes #108, released-version does not detect version if maven + repository is not configured to look for snapshot + + Add missing whitespace to output of reserve-network-port + + Use UTF-8 for the pom + +------------------------------------------------------------------- +Tue Jun 11 16:13:46 UTC 2024 - Fridrich Strba + +- Rename package: + maven-plugin-build-helper -> build-helper-maven-plugin + + corresponds to the source name + +------------------------------------------------------------------- +Thu Oct 26 10:39:33 UTC 2023 - Fridrich Strba + +- Build javadoc with source level 8 + +------------------------------------------------------------------- +Tue Sep 8 18:48:28 UTC 2020 - Fridrich Strba + +- Upgrade to upstream version 3.2.0 + * Integrated pull requests: + + Set a property based on the maven.build.timestamp + + rootlocation does not correctly work + + Add profile to avoid showing warnings for maven plugin + plugin goals not supported in m2e + + Site: Properly showing 'value' tag on regex-properties usage + page + + Integration test reserve-ports-with-urls fails on windows + + IllegalArgumentException when using goal released-version with + maven 3.6.2 + + NPE in 3.1.0-SNAPSHOT when no qualifier is present + + parse-version goal fails when build number is greater than + Integer.MAX_VALUE enhancement + + Create directory before writing file in reserve-network-port + bug + + released-version does not allow access to the build number + + Qualifier Prefix + +------------------------------------------------------------------- +Fri Apr 5 14:39:18 UTC 2019 - Fridrich Strba + +- Initial packaging of maven-plugin-build-helper 1.9.1 diff --git a/build-helper-maven-plugin.spec b/build-helper-maven-plugin.spec new file mode 100644 index 0000000..fb7964f --- /dev/null +++ b/build-helper-maven-plugin.spec @@ -0,0 +1,74 @@ +# +# spec file for package build-helper-maven-plugin +# +# Copyright (c) 2024 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/ +# + + +%global oldname maven-plugin-build-helper +Name: build-helper-maven-plugin +Version: 3.6.0 +Release: 0 +Summary: Build Helper Maven Plugin +License: MIT +URL: https://www.mojohaus.org/build-helper-maven-plugin/ +Source0: https://github.com/mojohaus/%{name}/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz +BuildRequires: fdupes +BuildRequires: java-devel >= 1.8 +BuildRequires: maven-local +BuildRequires: mvn(org.apache-extras.beanshell:bsh) +BuildRequires: mvn(org.apache.maven.plugin-tools:maven-plugin-annotations) +BuildRequires: mvn(org.apache.maven.plugins:maven-invoker-plugin) +BuildRequires: mvn(org.apache.maven.plugins:maven-plugin-plugin) +BuildRequires: mvn(org.apache.maven.shared:file-management) >= 3.1.0 +BuildRequires: mvn(org.apache.maven:maven-core) +BuildRequires: mvn(org.apache.maven:maven-plugin-api) +BuildRequires: mvn(org.codehaus.mojo:mojo-parent:pom:) +BuildRequires: mvn(org.codehaus.plexus:plexus-utils) +BuildRequires: mvn(org.slf4j:slf4j-api) +Provides: %{oldname} = %{version} +Obsoletes: %{oldname} < %{version} +BuildArch: noarch + +%description +This plugin contains various small independent goals to assist with +Maven build lifecycle. + +%package javadoc +Summary: API documentation for %{name} +Provides: %{oldname}-javadoc = %{version} +Obsoletes: %{oldname}-javadoc = %{version} + +%description javadoc +This package provides %{summary}. + +%prep +%setup -q +%pom_remove_plugin :maven-checkstyle-plugin + +%build +%{mvn_build} -f -- -Dsource=8 + +%install +%mvn_install +%fdupes -s %{buildroot}%{_javadocdir} + +%files -f .mfiles +%license LICENSE.txt +%doc README.md + +%files javadoc -f .mfiles-javadoc +%license LICENSE.txt + +%changelog