commit a43f99e3c214dd9b08902e335dcec02f85fa11969d06eb3be51534236cea60b5 Author: Fridrich Strba Date: Mon Mar 25 14:09:38 2019 +0000 OBS-URL: https://build.opensuse.org/package/show/Java:packages/maven-filtering?expand=0&rev=1 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/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/maven-filtering-3.1.1-source-release.zip b/maven-filtering-3.1.1-source-release.zip new file mode 100644 index 0000000..350fed8 --- /dev/null +++ b/maven-filtering-3.1.1-source-release.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:df17c02da9c0dee03efa89a9273d4e4185bd80ca607c020d15ed6b0b196c9927 +size 152814 diff --git a/maven-filtering-build.xml b/maven-filtering-build.xml new file mode 100644 index 0000000..ff52749 --- /dev/null +++ b/maven-filtering-build.xml @@ -0,0 +1,263 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + =================================== WARNING =================================== + JUnit is not present in the test classpath or your $ANT_HOME/lib directory. Tests not executed. + =============================================================================== + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/maven-filtering.changes b/maven-filtering.changes new file mode 100644 index 0000000..a678b74 --- /dev/null +++ b/maven-filtering.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Mon Mar 25 14:08:45 UTC 2019 - Fridrich Strba + +- Initial packaging of maven-filtering 3.1.1 +- Generate and customize the ant build.xml file diff --git a/maven-filtering.spec b/maven-filtering.spec new file mode 100644 index 0000000..4806918 --- /dev/null +++ b/maven-filtering.spec @@ -0,0 +1,116 @@ +# +# spec file for package maven-filtering +# +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# +# 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-filtering +Version: 3.1.1 +Release: 0 +Summary: Shared component providing resource filtering +License: Apache-2.0 +Group: Development/Libraries/Java +URL: http://maven.apache.org/shared/%{name}/index.html +Source0: http://repo1.maven.org/maven2/org/apache/maven/shared/%{name}/%{version}/%{name}-%{version}-source-release.zip +Source1: %{name}-build.xml +BuildRequires: ant +BuildRequires: apache-commons-cli +BuildRequires: atinject +BuildRequires: fdupes +BuildRequires: google-guice +BuildRequires: guava20 +BuildRequires: javapackages-local +BuildRequires: jdom2 +BuildRequires: jsr-305 +BuildRequires: maven-lib +BuildRequires: maven-shared-utils +BuildRequires: objectweb-asm +BuildRequires: plexus-build-api +BuildRequires: plexus-classworlds +BuildRequires: plexus-cli +BuildRequires: plexus-containers-component-annotations +BuildRequires: plexus-interpolation +BuildRequires: plexus-metadata-generator +BuildRequires: plexus-utils +BuildRequires: qdox +BuildRequires: sisu-inject +BuildRequires: sisu-plexus +BuildRequires: unzip +BuildRequires: xbean +BuildRequires: xmvn-install +BuildRequires: xmvn-resolve +BuildRequires: mvn(org.apache.maven.shared:maven-shared-components:pom:) +BuildArch: noarch + +%description +These Plexus components have been built from the filtering process/code in +Maven Resources Plugin. The goal is to provide a shared component for all +plugins that needs to filter resources. + +%package javadoc +Summary: Javadoc for %{name} +Group: Documentation/HTML + +%description javadoc +This package contains the API documentation for %{name}. + +%prep +%setup -q +cp %{SOURCE1} build.xml + +%build +mkdir -p lib +build-jar-repository -s lib \ + atinject \ + commons-cli \ + guava20/guava-10.0 \ + guice/google-guice-no_aop \ + jdom2/jdom2 \ + jsr-305 \ + maven/maven-core \ + maven/maven-model \ + maven/maven-settings \ + maven-shared-utils/maven-shared-utils \ + objectweb-asm/asm \ + org.eclipse.sisu.inject \ + org.eclipse.sisu.plexus \ + plexus-classworlds \ + plexus/cli \ + plexus-containers/plexus-component-annotations \ + plexus/interpolation \ + plexus-metadata-generator \ + plexus/plexus-build-api \ + plexus/utils \ + qdox \ + xbean/xbean-reflect + +# Tests use a package that is no longer present in plexus-build-api (v0.0.7) +%{ant} \ + -Dtest.skip=true \ + jar javadoc + +%{mvn_artifact} pom.xml target/%{name}-%{version}.jar + +%install +%mvn_install +%fdupes -s %{buildroot}%{_javadocdir} + +%files -f .mfiles +%license LICENSE NOTICE + +%files javadoc -f .mfiles-javadoc +%license LICENSE NOTICE + +%changelog