Initial module

Resolves: rhbz#2083112
This commit is contained in:
Mikolaj Izdebski 2022-08-03 08:13:47 +02:00
parent 1e3024ecb6
commit 3fdd720f87
6 changed files with 212 additions and 0 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

11
gating.yaml Normal file
View File

@ -0,0 +1,11 @@
--- !Policy
product_versions:
- rhel-9
decision_context: osci_compose_gate_modules
subject_type: redhat-module
rules:
- !PassingTestCaseRule {test_case_name: baseos-ci.redhat-module.other.functional}
# - !PassingTestCaseRule {test_case_name: baseos-ci.redhat-module.tier1.functional}
# - !PassingTestCaseRule {test_case_name: baseos-ci.redhat-module.tier2.functional}
# - !PassingTestCaseRule {test_case_name: baseos-ci.redhat-module.tier3.functional}
# - !PassingTestCaseRule {test_case_name: baseos-ci.redhat-module.acceptance-tier.functional}

185
maven.yaml Normal file
View File

@ -0,0 +1,185 @@
---
document: modulemd
version: 2
data:
stream: 3.8
summary: Java project management and project comprehension tool
description: >-
Maven is a software project management and comprehension tool.
Based on the concept of a project object model (POM), Maven
can manage a project's build, reporting and documentation from
a central piece of information.
license:
module:
- MIT
dependencies:
- buildrequires:
javapackages-tools: [202201]
platform: [el9]
requires:
platform: [el9]
profiles:
common:
rpms:
- maven-openjdk11
api:
rpms:
- maven
- maven-openjdk8
- maven-openjdk11
- maven-openjdk17
filter:
rpms:
- apache-commons-cli-javadoc
- apache-commons-codec-javadoc
- apache-commons-io-javadoc
- apache-commons-lang3-javadoc
- atinject-javadoc
- cdi-api-javadoc
- google-guice-javadoc
- guava-javadoc
- guava-testlib
- guice-assistedinject
- guice-bom
- guice-extensions
- guice-grapher
- guice-jmx
- guice-jndi
- guice-multibindings
- guice-parent
- guice-servlet
- guice-throwingproviders
- httpcomponents-client-javadoc
- httpcomponents-core-javadoc
- jakarta-annotations-javadoc
- jansi-javadoc
- jsr-305-javadoc
- jul-to-slf4j
- log4j-over-slf4j
- maven-javadoc
- maven-resolver-javadoc
- maven-shared-utils-javadoc
- maven-wagon-javadoc
- plexus-cipher-javadoc
- plexus-classworlds-javadoc
- plexus-containers
- plexus-containers-component-metadata
- plexus-containers-container-default
- plexus-containers-javadoc
- plexus-interpolation-javadoc
- plexus-sec-dispatcher-javadoc
- plexus-utils-javadoc
- sisu-javadoc
- slf4j-javadoc
- slf4j-jcl
- slf4j-jdk14
- slf4j-manual
- slf4j-migrator
- slf4j-sources
buildopts:
rpms:
macros: |
%_without_maven_resolver_extra_modules 1
%java_arches aarch64 ppc64le s390x x86_64
components:
rpms:
apache-commons-cli:
buildorder: 10
ref: stream-maven-3.8-rhel-9.1.0
rationale: Runtime dependency of maven.
apache-commons-codec:
buildorder: 10
ref: stream-maven-3.8-rhel-9.1.0
rationale: Runtime dependency of maven.
apache-commons-io:
buildorder: 10
ref: stream-maven-3.8-rhel-9.1.0
rationale: Runtime dependency of maven.
apache-commons-lang3:
buildorder: 10
ref: stream-maven-3.8-rhel-9.1.0
rationale: Runtime dependency of maven.
atinject:
buildorder: 10
ref: stream-maven-3.8-rhel-9.1.0
rationale: Runtime dependency of maven.
cdi-api:
buildorder: 20
ref: stream-maven-3.8-rhel-9.1.0
rationale: Runtime dependency of maven.
google-guice:
buildorder: 30
ref: stream-maven-3.8-rhel-9.1.0
rationale: Runtime dependency of maven.
guava:
buildorder: 20
ref: stream-maven-3.8-rhel-9.1.0
rationale: Runtime dependency of maven.
httpcomponents-client:
buildorder: 20
ref: stream-maven-3.8-rhel-9.1.0
rationale: Runtime dependency of maven.
httpcomponents-core:
buildorder: 10
ref: stream-maven-3.8-rhel-9.1.0
rationale: Runtime dependency of maven.
jakarta-annotations:
buildorder: 10
ref: stream-maven-3.8-rhel-9.1.0
rationale: Runtime dependency of maven.
jansi:
buildorder: 10
ref: stream-maven-3.8-rhel-9.1.0
rationale: Runtime dependency of maven.
jsr-305:
buildorder: 10
ref: stream-maven-3.8-rhel-9.1.0
rationale: Runtime dependency of maven.
maven:
buildorder: 50
ref: stream-maven-3.8-rhel-9.1.0
rationale: Module API.
maven-resolver:
buildorder: 40
ref: stream-maven-3.8-rhel-9.1.0
rationale: Runtime dependency of maven.
maven-shared-utils:
buildorder: 20
ref: stream-maven-3.8-rhel-9.1.0
rationale: Runtime dependency of maven.
maven-wagon:
buildorder: 30
ref: stream-maven-3.8-rhel-9.1.0
rationale: Runtime dependency of maven.
plexus-cipher:
buildorder: 10
ref: stream-maven-3.8-rhel-9.1.0
rationale: Runtime dependency of maven.
plexus-classworlds:
buildorder: 10
ref: stream-maven-3.8-rhel-9.1.0
rationale: Runtime dependency of maven.
plexus-containers:
buildorder: 10
ref: stream-maven-3.8-rhel-9.1.0
rationale: Runtime dependency of maven.
plexus-interpolation:
buildorder: 10
ref: stream-maven-3.8-rhel-9.1.0
rationale: Runtime dependency of maven.
plexus-sec-dispatcher:
buildorder: 20
ref: stream-maven-3.8-rhel-9.1.0
rationale: Runtime dependency of maven.
plexus-utils:
buildorder: 10
ref: stream-maven-3.8-rhel-9.1.0
rationale: Runtime dependency of maven.
sisu:
buildorder: 30
ref: stream-maven-3.8-rhel-9.1.0
rationale: Runtime dependency of maven.
slf4j:
buildorder: 10
ref: stream-maven-3.8-rhel-9.1.0
rationale: Runtime dependency of maven.

5
plans/smoke-jdk11.fmf Normal file
View File

@ -0,0 +1,5 @@
summary: Basic smoke test - OpenJDK 11
execute:
script:
- dnf -y swap maven-jdk-binding maven-openjdk11
- mvn -V dependency:get -Dartifact=junit:junit:4.12 && stat $HOME/.m2/repository/junit/junit/4.12/junit-4.12.jar

5
plans/smoke-jdk17.fmf Normal file
View File

@ -0,0 +1,5 @@
summary: Basic smoke test - OpenJDK 17
execute:
script:
- dnf -y swap maven-jdk-binding maven-openjdk17
- mvn -V dependency:get -Dartifact=junit:junit:4.12 && stat $HOME/.m2/repository/junit/junit/4.12/junit-4.12.jar

5
plans/smoke-jdk8.fmf Normal file
View File

@ -0,0 +1,5 @@
summary: Basic smoke test - OpenJDK 8
execute:
script:
- dnf -y swap maven-jdk-binding maven-openjdk8
- mvn -V dependency:get -Dartifact=junit:junit:4.12 && stat $HOME/.m2/repository/junit/junit/4.12/junit-4.12.jar