1
0
Fridrich Strba 2019-04-06 07:14:03 +00:00 committed by Git OBS Bridge
commit 65984f8b3d
5 changed files with 138 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -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

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

View File

@ -0,0 +1,2 @@
# It is meant to be a meta-package
addFilter("W: suse-filelist-empty")

View File

@ -0,0 +1,7 @@
-------------------------------------------------------------------
Sat Apr 6 07:11:00 UTC 2019 - Fridrich Strba <fstrba@suse.com>
- Package separately the set of meta-packages implementing
different Javapackages local modes.
* Prevents their dependencies being pulled by the main
javapackages build

105
javapackages-meta.spec Normal file
View File

@ -0,0 +1,105 @@
#
# spec file for package javapackages-meta
#
# 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: javapackages-meta
# Sync the version with javapackages-tools package
Version: 5.3.0
Release: 0
Summary: Meta-packages for different local modes of Java builds
License: BSD-3-Clause
Group: Development/Languages/Java
URL: https://github.com/fedora-java/javapackages
Source100: %{name}-rpmlintrc
BuildArch: noarch
%description
This package provides a set of meta-packages needed by local modes for
Gradle, Ivy and Maven. These local modes allow artifact resolution
using XMvn resolver.
%package -n gradle-local
Summary: Local mode for Gradle
Group: Development/Languages/Java
Requires: gradle >= 2.2.1
Requires: javapackages-gradle = %{version}
Requires: xmvn-connector-gradle
Requires: xmvn-install
Requires: xmvn-resolve
%description -n gradle-local
This meta-package pulls in macros, scripts and dependencies
implementing local mode for Gradle, which allows artifact
resolution using XMvn resolver.
%package -n ivy-local
Summary: Local mode for Apache Ivy
Group: Development/Languages/Java
Requires: ant
Requires: apache-ivy >= 2.3.0
Requires: javapackages-ivy = %{version}
Requires: xmvn-connector-ivy
Requires: xmvn-install
Requires: xmvn-resolve
%description -n ivy-local
This meta-package pulls in macros, scripts and dependencies
implementing local mode for Apache Ivy, which allows
artifact resolution using XMvn resolver.
%package -n maven-local
Summary: Local mode for Maven
Group: Development/Languages/Java
Requires: javapackages-local = %{version}
Requires: javapackages-tools = %{version}
# Common Maven plugins required by almost every build. It wouldn't make
# sense to explicitly require them in every package built with Maven.
Requires: mvn(org.apache.maven.plugins:maven-compiler-plugin)
Requires: mvn(org.apache.maven.plugins:maven-jar-plugin)
Requires: mvn(org.apache.maven.plugins:maven-javadoc-plugin)
Requires: mvn(org.apache.maven.plugins:maven-resources-plugin)
Requires: mvn(org.apache.maven.plugins:maven-surefire-plugin)
# Tests based on JUnit are very common and JUnit itself is small.
# Include JUnit and JUnit provider for Surefire just for convenience.
Requires: mvn(junit:junit)
Requires: mvn(org.apache.maven.surefire:surefire-junit4)
# testng is quite common as well
Requires: mvn(org.apache.maven.surefire:surefire-testng)
Requires: xmvn-connector-aether
Requires: xmvn-install
Requires: xmvn-minimal
Requires: xmvn-mojo
Requires: xmvn-resolve
%description -n maven-local
This meta-package pulls in macros, scripts and dependencies
implementing local mode for Maven, which allows artifact
resolution using XMvn resolver.
%prep
%build
%install
%files -n maven-local
%files -n gradle-local
%files -n ivy-local
%changelog