Merge branch 'maven' into stream-javapackages-tools-202501-rhel-9.6.0

This commit is contained in:
Johnny Hughes 2025-01-15 13:05:01 -06:00
commit d3077b8c77
7 changed files with 84 additions and 0 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

2
.gitignore vendored
View File

@ -0,0 +1,2 @@
/plexus-xml-3.0.0.tar.gz
/plexus-testing-1.3.0.tar.gz

1
ci.fmf Normal file
View File

@ -0,0 +1 @@
resultsdb-testcase: separate

7
gating.yaml Normal file
View File

@ -0,0 +1,7 @@
--- !Policy
product_versions:
- rhel-9
decision_contexts:
- osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/javapackages.functional}

7
plans/javapackages.fmf Normal file
View File

@ -0,0 +1,7 @@
summary: Run javapackages-specific tests
discover:
how: fmf
url: https://src.fedoraproject.org/tests/javapackages
ref: c9s
execute:
how: tmt

65
plexus-testing.spec Normal file
View File

@ -0,0 +1,65 @@
%bcond_with bootstrap
Name: plexus-testing
Version: 1.3.0
Release: 8%{?dist}
Summary: Plexus Testing
License: Apache-2.0
URL: https://github.com/codehaus-plexus/plexus-testing
BuildArch: noarch
ExclusiveArch: %{java_arches} noarch
Source0: https://github.com/codehaus-plexus/%{name}/archive/%{name}-%{version}.tar.gz
%if %{with bootstrap}
BuildRequires: javapackages-bootstrap
%else
BuildRequires: maven-local
BuildRequires: mvn(com.google.inject:guice)
BuildRequires: mvn(org.codehaus.plexus:plexus:pom:)
BuildRequires: mvn(org.eclipse.sisu:org.eclipse.sisu.inject)
BuildRequires: mvn(org.eclipse.sisu:org.eclipse.sisu.plexus)
BuildRequires: mvn(org.junit.jupiter:junit-jupiter-api)
%endif
%description
The Plexus Testing contains the necessary classes to be able to test
Plexus components.
%package javadoc
Summary: API documentation for %{name}
%description javadoc
API documentation for %{name}.
%prep
%autosetup -p1 -n %{name}-%{name}-%{version}
# Some tests rely on Jakarta Injection API, which is not packaged
rm src/test/java/org/codehaus/plexus/testing/TestJakartaComponent.java
rm src/test/java/org/codehaus/plexus/testing/PlexusTestJakartaTest.java
%build
%mvn_build
%install
%mvn_install
%files -f .mfiles
%doc README.md
%license LICENSE
%files javadoc -f .mfiles-javadoc
%changelog
* Fri Nov 29 2024 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.3.0-7
- Update javapackages test plan to f42
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Fri Feb 23 2024 Jiri Vanek <jvanek@redhat.com> - 1.3.0-2
- bump of release for for java-21-openjdk as system jdk
* Fri Feb 02 2024 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.3.0-1
- Initial packaging

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (plexus-testing-1.3.0.tar.gz) = 4a3fddcbf00a8aca14767946bb9682670384673c844aa9eeb3cdc49e14e1406091d6644506fd2d7af10c1e07bd788e771ef8ecaa6e8b3efcd67467786ce4aa4e