diff --git a/aggregator.pom b/aggregator.pom index 7f2f257..d3a97a3 100644 --- a/aggregator.pom +++ b/aggregator.pom @@ -19,25 +19,26 @@ junit-jupiter-params junit-jupiter junit-vintage-engine + junit-bom - - maven-compiler-plugin - - 1.8 - 1.8 - - - + + maven-compiler-plugin + + 1.8 + 1.8 + + + maven-jar-plugin ${project.build.outputDirectory}/META-INF/MANIFEST.MF - + @@ -54,9 +55,9 @@ - ${osgi.bsn} - ${osgi.bsn} - <_nouses>true + ${osgi.bsn} + ${osgi.bsn} + <_nouses>true diff --git a/junit-bom-5.5.2.pom b/junit-bom-5.5.2.pom new file mode 100644 index 0000000..94ae609 --- /dev/null +++ b/junit-bom-5.5.2.pom @@ -0,0 +1,129 @@ + + + 4.0.0 + org.junit + junit-bom + 5.5.2 + pom + JUnit 5 (Bill of Materials) + This Bill of Materials POM can be used to ease dependency management when referencing multiple JUnit artifacts using Gradle or Maven. + https://junit.org/junit5/ + + + Eclipse Public License v2.0 + https://www.eclipse.org/legal/epl-v20.html + + + + + bechte + Stefan Bechtold + stefan.bechtold@me.com + + + jlink + Johannes Link + business@johanneslink.net + + + marcphilipp + Marc Philipp + mail@marcphilipp.de + + + mmerdes + Matthias Merdes + Matthias.Merdes@heidelberg-mobil.com + + + sbrannen + Sam Brannen + sam@sambrannen.com + + + sormuras + Christian Stein + sormuras@gmail.com + + + + scm:git:git://github.com/junit-team/junit5.git + scm:git:git://github.com/junit-team/junit5.git + https://github.com/junit-team/junit5 + + + + + org.junit.jupiter + junit-jupiter + 5.5.2 + + + org.junit.jupiter + junit-jupiter-api + 5.5.2 + + + org.junit.jupiter + junit-jupiter-engine + 5.5.2 + + + org.junit.jupiter + junit-jupiter-migrationsupport + 5.5.2 + + + org.junit.jupiter + junit-jupiter-params + 5.5.2 + + + org.junit.platform + junit-platform-commons + 1.5.2 + + + org.junit.platform + junit-platform-console + 1.5.2 + + + org.junit.platform + junit-platform-engine + 1.5.2 + + + org.junit.platform + junit-platform-launcher + 1.5.2 + + + org.junit.platform + junit-platform-reporting + 1.5.2 + + + org.junit.platform + junit-platform-runner + 1.5.2 + + + org.junit.platform + junit-platform-suite-api + 1.5.2 + + + org.junit.platform + junit-platform-testkit + 1.5.2 + + + org.junit.vintage + junit-vintage-engine + 5.5.2 + + + + diff --git a/junit5.changes b/junit5.changes index c67d714..569eb5c 100644 --- a/junit5.changes +++ b/junit5.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Mar 3 14:03:48 UTC 2022 - Fridrich Strba + +- Package also the bill-of-materials pom + ------------------------------------------------------------------- Fri Nov 8 08:55:55 UTC 2019 - Fridrich Strba diff --git a/junit5.spec b/junit5.spec index f801133..03e39ec 100644 --- a/junit5.spec +++ b/junit5.spec @@ -1,7 +1,7 @@ # # spec file for package junit5 # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -47,6 +47,8 @@ Source304: https://repo1.maven.org/maven2/org/junit/jupiter/junit-jupiter-p Source305: https://repo1.maven.org/maven2/org/junit/jupiter/junit-jupiter/%{jupiter_version}/junit-jupiter-%{jupiter_version}.pom # Vintage POM Source400: https://repo1.maven.org/maven2/org/junit/vintage/junit-vintage-engine/%{vintage_version}/junit-vintage-engine-%{vintage_version}.pom +# Bom +Source500: https://repo1.maven.org/maven2/org/junit/junit-bom/%{version}/junit-bom-%{version}.pom BuildRequires: asciidoc BuildRequires: fdupes BuildRequires: maven-local @@ -66,6 +68,14 @@ Requires: javapackages-tools %description JUnit is a popular regression testing framework for Java platform. +%package bom +Summary: JUnit 5 (Bill of Materials) +Group: Development/Libraries/Java + +%description bom +This Bill of Materials POM can be used to ease dependency management +when referencing multiple JUnit artifacts using Gradle or Maven. + %package javadoc Summary: Javadoc for %{name} Group: Documentation/HTML @@ -125,6 +135,9 @@ done %endif %{mvn_package} :aggregator __noinstall +%{mvn_package} :junit-bom bom + +cp -p %{SOURCE500} junit-bom/pom.xml %build %{mvn_build} -f -- -Dencoding=utf-8 -Dsource=8 @@ -149,6 +162,9 @@ ln -s ../../javadoc/junit5 documentation/src/docs/api %endif %license LICENSE.md LICENSE-notice.md +%files bom -f .mfiles-bom +%license LICENSE.md LICENSE-notice.md + %files javadoc -f .mfiles-javadoc %license LICENSE.md LICENSE-notice.md