From 3800e58b72bf950b70ebbc8142b20598da2b55f7b7414a7fb7c9d54c4c48ec91 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Mon, 25 Mar 2019 08:32:27 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Java:packages/maven-shared-incremental?expand=0&rev=1 --- .gitattributes | 23 ++ .gitignore | 1 + ...-shared-incremental-1.1-source-release.zip | 3 + maven-shared-incremental-build.xml | 238 ++++++++++++++++++ maven-shared-incremental.changes | 5 + maven-shared-incremental.spec | 84 +++++++ 6 files changed, 354 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 maven-shared-incremental-1.1-source-release.zip create mode 100644 maven-shared-incremental-build.xml create mode 100644 maven-shared-incremental.changes create mode 100644 maven-shared-incremental.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/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc 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..48be027 --- /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..e901963 --- /dev/null +++ b/maven-shared-incremental.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +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..ea48e75 --- /dev/null +++ b/maven-shared-incremental.spec @@ -0,0 +1,84 @@ +# +# spec file for package maven-shared-incremental +# +# 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-shared-incremental +Version: 1.1 +Release: 0 +Summary: Maven Incremental Build support utilities +License: Apache-2.0 +Group: Development/Libraries/Java +URL: http://maven.apache.org/shared/maven-shared-incremental/ +Source0: http://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 +BuildRequires: maven-lib +BuildRequires: maven-shared-utils +BuildRequires: plexus-component-api +BuildRequires: plexus-containers-component-annotations +BuildRequires: unzip +BuildRequires: xmvn-install +BuildRequires: xmvn-resolve +BuildRequires: mvn(org.apache.maven.shared:maven-shared-components:pom:) +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 + +%{mvn_artifact} pom.xml target/%{name}-%{version}.jar + +%install +%mvn_install +%fdupes -s %{buildroot}%{_javadocdir} + +%files -f .mfiles +%license LICENSE +%doc NOTICE + +%files javadoc -f .mfiles-javadoc +%license LICENSE +%doc NOTICE + +%changelog