commit 0821a0ff95a3089fc17910f3cb25500a8a8f233ed25050188ae6e5d9165ebab2 Author: Adrian Schröter Date: Fri May 3 16:41:59 2024 +0200 Sync from SUSE:SLFO:Main maven-shared-incremental revision 2358648cf7c9f9dcdb191cb2894d55f6 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/maven-shared-incremental-1.1-source-release.zip b/maven-shared-incremental-1.1-source-release.zip new file mode 100644 index 0000000..e69a057 --- /dev/null +++ b/maven-shared-incremental-1.1-source-release.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e6a4953a76b51c0643d132bd92e00f40c337329b9af42ffe842a3dcfb5b3c40e +size 15176 diff --git a/maven-shared-incremental-build.xml b/maven-shared-incremental-build.xml new file mode 100644 index 0000000..1f89bc5 --- /dev/null +++ b/maven-shared-incremental-build.xml @@ -0,0 +1,238 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + =================================== WARNING =================================== + JUnit is not present in the test classpath or your $ANT_HOME/lib directory. Tests not executed. + =============================================================================== + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/maven-shared-incremental.changes b/maven-shared-incremental.changes new file mode 100644 index 0000000..49c0cfb --- /dev/null +++ b/maven-shared-incremental.changes @@ -0,0 +1,15 @@ +------------------------------------------------------------------- +Wed Sep 6 22:33:43 UTC 2023 - Fridrich Strba + +- Remove unnecessary dependency on xmvn tools and parent pom + +------------------------------------------------------------------- +Mon Mar 21 04:38:35 UTC 2022 - Fridrich Strba + +- Build with source and target levels 8 + +------------------------------------------------------------------- +Mon Mar 25 08:31:35 UTC 2019 - Fridrich Strba + +- Initial packaging of maven-shared-incremental 1.1 +- Generate and customize the ant build.xml file diff --git a/maven-shared-incremental.spec b/maven-shared-incremental.spec new file mode 100644 index 0000000..a15fe6f --- /dev/null +++ b/maven-shared-incremental.spec @@ -0,0 +1,87 @@ +# +# spec file for package maven-shared-incremental +# +# 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 +# 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-shared-incremental +Version: 1.1 +Release: 0 +Summary: Maven Incremental Build support utilities +License: Apache-2.0 +Group: Development/Libraries/Java +URL: https://maven.apache.org/shared/maven-shared-incremental/ +Source0: https://repo1.maven.org/maven2/org/apache/maven/shared/%{name}/%{version}/%{name}-%{version}-source-release.zip +Source1: %{name}-build.xml +BuildRequires: ant +BuildRequires: fdupes +BuildRequires: javapackages-local >= 6 +BuildRequires: maven-lib +BuildRequires: maven-shared-utils +BuildRequires: plexus-component-api +BuildRequires: plexus-containers-component-annotations +BuildRequires: unzip +BuildArch: noarch + +%description +Various utility classes and plexus components for supporting +incremental build functionality in maven plugins. + +%package javadoc +Summary: API documentation for %{name} +Group: Documentation/HTML + +%description javadoc +This package provides %{summary}. + +%prep +%setup -q +cp %{SOURCE1} build.xml + +%build +mkdir -p lib +build-jar-repository -s lib \ + maven/maven-core \ + maven/maven-model \ + maven/maven-plugin-api \ + maven-shared-utils/maven-shared-utils \ + plexus-component-api/plexus-component-api \ + plexus-containers/plexus-component-annotations + +%{ant} \ + -Dtest.skip=true \ + jar javadoc + +%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 +%{_javadocdir}/%{name} +%license LICENSE NOTICE + +%changelog