update modulemd etc

This commit is contained in:
Adam Samalik 2023-02-23 11:47:58 +00:00
commit 653a49bf74
7 changed files with 443 additions and 0 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

0
.gitignore vendored Normal file
View File

3
README.md Normal file
View File

@ -0,0 +1,3 @@
# maven
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.

11
gating.yaml Normal file
View File

@ -0,0 +1,11 @@
--- !Policy
product_versions:
- rhel-8
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}

123
koschei.cfg Normal file
View File

@ -0,0 +1,123 @@
# -*- python -*-
# vim: ft=python
config = {
"buildrequires": [
"javapackages-tools",
],
"requires": [
"platform",
],
"bootstrap": False,
"full_refs": False,
"default_ref": "stream-maven-3.5",
"include_build_deps": False,
"closure": False,
"filter_unused": True,
"topo_sort": True,
"api": [
"maven",
],
"profiles": {
"default": ["maven"],
},
"filter": [
],
"includes": [
],
"excludes": [
"javapackages-tools",
"java-1.7.0-openjdk",
"java-1.8.0-openjdk",
],
"frozen_refs": [
],
"stream_override": {
"javapackages-tools": {
"3.5": "[201801]",
},
"platform": {
"3.5": "[]",
},
},
"macros": {
"_with_xmvn_javadoc": 1,
"_without_asciidoc": 1,
"_without_avalon": 1,
"_without_bouncycastle": 1,
"_without_cython": 1,
"_without_dafsa": 1,
"_without_desktop": 1,
"_without_doxygen": 1,
"_without_dtd": 1,
"_without_eclipse": 1,
"_without_ehcache": 1,
"_without_emacs": 1,
"_without_equinox": 1,
"_without_fop": 1,
"_without_ftp": 1,
"_without_gradle": 1,
"_without_groovy": 1,
"_without_hadoop": 1,
"_without_hsqldb": 1,
"_without_itext": 1,
"_without_jackson": 1,
"_without_jmh": 1,
"_without_jna": 1,
"_without_jpa": 1,
"_without_junit5": 1,
"_without_logback": 1,
"_without_markdown": 1,
"_without_memcached": 1,
"_without_memoryfilesystem": 1,
"_without_obr": 1,
"_without_python": 1,
"_without_reporting": 1,
"_without_scm": 1,
"_without_snappy": 1,
"_without_spring": 1,
"_without_ssh": 1,
"_without_testlib": 1,
},
"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.
""",
"koji_config": {
"server": "https://koji.kjnet.xyz/kojihub",
"topurl": "https://koji.kjnet.xyz/kojifiles",
"multicall_chunk_size": 1000,
"tag_name": "hybrid",
},
"dependency": {
"repo_arch": "x86_64",
"resolve_for_arch": "x86_64",
"ignore_weak_deps": True,
"cache_l2_capacity": 2,
},
"directories": {
"cachedir": "/tmp/maven-modulemd-gen",
},
"logging": {
"version": 1,
"loggers": {
"": {
"level": "INFO",
"handlers": ["stderr"],
},
},
"handlers": {
"stderr": {
"class": "logging.StreamHandler",
"stream": "ext://sys.stderr"
},
},
},
}

301
maven.yaml Normal file
View File

@ -0,0 +1,301 @@
---
document: modulemd
version: 2
data:
stream: 3.5
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: [201801]
platform: [el8]
requires:
platform: [el8]
profiles:
common:
rpms:
- maven
api:
rpms:
- maven
filter:
rpms:
- aopalliance-javadoc
- apache-commons-cli-javadoc
- apache-commons-codec-javadoc
- apache-commons-io-javadoc
- apache-commons-lang3-javadoc
- apache-commons-logging-javadoc
- atinject-javadoc
- atinject-tck
- cdi-api-javadoc
- geronimo-annotation-javadoc
- glassfish-el
- glassfish-el-javadoc
- google-guice-javadoc
- guava20-javadoc
- guava20-testlib
- guice-assistedinject
- guice-bom
- guice-extensions
- guice-grapher
- guice-jmx
- guice-jndi
- guice-multibindings
- guice-parent
- guice-servlet
- guice-testlib
- guice-throwingproviders
- hawtjni
- hawtjni-javadoc
- httpcomponents-client-cache
- httpcomponents-client-javadoc
- httpcomponents-core-javadoc
- jansi-javadoc
- jansi-native-javadoc
- jboss-interceptors-1.2-api-javadoc
- jsoup-javadoc
- jul-to-slf4j
- log4j-over-slf4j
- maven-hawtjni-plugin
- maven-javadoc
- maven-resolver
- maven-resolver-javadoc
- maven-resolver-test-util
- maven-resolver-transport-classpath
- maven-resolver-transport-file
- maven-resolver-transport-http
- maven-shared-utils-javadoc
- maven-wagon
- maven-wagon-ftp
- maven-wagon-http-lightweight
- maven-wagon-javadoc
- maven-wagon-providers
- plexus-cipher-javadoc
- plexus-classworlds-javadoc
- plexus-containers
- plexus-containers-component-javadoc
- plexus-containers-component-metadata
- plexus-containers-container-default
- plexus-containers-javadoc
- plexus-interpolation-javadoc
- plexus-sec-dispatcher-javadoc
- plexus-utils-javadoc
- sisu-javadoc
- slf4j-ext
- slf4j-javadoc
- slf4j-jcl
- slf4j-jdk14
- slf4j-log4j12
- slf4j-manual
- slf4j-sources
buildopts:
rpms:
macros: |
%_with_xmvn_javadoc 1
%_without_asciidoc 1
%_without_avalon 1
%_without_bouncycastle 1
%_without_cython 1
%_without_dafsa 1
%_without_desktop 1
%_without_dom4j 1
%_without_doxygen 1
%_without_dtd 1
%_without_eclipse 1
%_without_ehcache 1
%_without_emacs 1
%_without_equinox 1
%_without_fop 1
%_without_ftp 1
%_without_gradle 1
%_without_groovy 1
%_without_hadoop 1
%_without_hsqldb 1
%_without_itext 1
%_without_jackson 1
%_without_jmh 1
%_without_jna 1
%_without_jpa 1
%_without_junit5 1
%_without_logback 1
%_without_markdown 1
%_without_memcached 1
%_without_memoryfilesystem 1
%_without_obr 1
%_without_python 1
%_without_reporting 1
%_without_scm 1
%_without_snakeyaml 1
%_without_snappy 1
%_without_spring 1
%_without_ssh 1
%_without_testlib 1
%_without_vfs 1
components:
rpms:
aopalliance:
buildorder: 10
ref: stream-maven-3.5-rhel-8.8.0
rationale: >
Runtime dependency of google-guice, maven.
apache-commons-cli:
buildorder: 10
ref: stream-maven-3.5-rhel-8.8.0
rationale: >
Runtime dependency of maven.
apache-commons-codec:
buildorder: 10
ref: stream-maven-3.5-rhel-8.8.0
rationale: >
Runtime dependency of httpcomponents-client, maven.
apache-commons-io:
buildorder: 10
ref: stream-maven-3.5-rhel-8.8.0
rationale: >
Runtime dependency of maven, maven-shared-utils,
maven-wagon.
apache-commons-lang3:
buildorder: 10
ref: stream-maven-3.5-rhel-8.8.0
rationale: >
Runtime dependency of maven.
apache-commons-logging:
buildorder: 10
ref: stream-maven-3.5-rhel-8.8.0
rationale: >
Runtime dependency of httpcomponents-client, maven.
atinject:
buildorder: 10
ref: stream-maven-3.5-rhel-8.8.0
rationale: >
Runtime dependency of cdi-api, google-guice, maven.
cdi-api:
buildorder: 20
ref: stream-maven-3.5-rhel-8.8.0
rationale: >
Runtime dependency of maven, sisu.
geronimo-annotation:
buildorder: 10
ref: stream-maven-3.5-rhel-8.8.0
rationale: >
Runtime dependency of maven.
glassfish-el:
buildorder: 10
ref: stream-maven-3.5-rhel-8.8.0
rationale: >
Runtime dependency of cdi-api.
google-guice:
buildorder: 20
ref: stream-maven-3.5-rhel-8.8.0
rationale: >
Runtime dependency of maven.
guava20:
buildorder: 10
ref: stream-maven-3.5-rhel-8.8.0
rationale: >
Runtime dependency of google-guice, maven.
hawtjni:
buildorder: 10
ref: stream-maven-3.5-rhel-8.8.0
rationale: >
Runtime dependency of jansi, jansi-native, maven.
httpcomponents-client:
buildorder: 20
ref: stream-maven-3.5-rhel-8.8.0
rationale: >
Runtime dependency of maven, maven-wagon.
httpcomponents-core:
buildorder: 10
ref: stream-maven-3.5-rhel-8.8.0
rationale: >
Runtime dependency of httpcomponents-client, maven,
maven-wagon.
jansi:
buildorder: 30
ref: stream-maven-3.5-rhel-8.8.0
rationale: >
Runtime dependency of maven.
jansi-native:
buildorder: 20
ref: stream-maven-3.5-rhel-8.8.0
rationale: >
Runtime dependency of jansi, maven.
jboss-interceptors-1.2-api:
buildorder: 10
ref: stream-maven-3.5-rhel-8.8.0
rationale: >
Runtime dependency of cdi-api.
jsoup:
buildorder: 10
ref: stream-maven-3.5-rhel-8.8.0
rationale: >
Runtime dependency of maven-wagon.
maven:
buildorder: 50
ref: stream-maven-3.5-rhel-8.8.0
rationale: >
Module API.
maven-resolver:
buildorder: 40
ref: stream-maven-3.5-rhel-8.8.0
rationale: >
Runtime dependency of maven.
maven-shared-utils:
buildorder: 20
ref: stream-maven-3.5-rhel-8.8.0
rationale: >
Runtime dependency of maven.
maven-wagon:
buildorder: 30
ref: stream-maven-3.5-rhel-8.8.0
rationale: >
Runtime dependency of maven, maven-resolver.
plexus-cipher:
buildorder: 10
ref: stream-maven-3.5-rhel-8.8.0
rationale: >
Runtime dependency of maven, plexus-sec-dispatcher.
plexus-classworlds:
buildorder: 10
ref: stream-maven-3.5-rhel-8.8.0
rationale: >
Runtime dependency of maven, sisu.
plexus-containers:
buildorder: 10
ref: stream-maven-3.5-rhel-8.8.0
rationale: >
Runtime dependency of maven, sisu.
plexus-interpolation:
buildorder: 10
ref: stream-maven-3.5-rhel-8.8.0
rationale: >
Runtime dependency of maven.
plexus-sec-dispatcher:
buildorder: 20
ref: stream-maven-3.5-rhel-8.8.0
rationale: >
Runtime dependency of maven.
plexus-utils:
buildorder: 10
ref: stream-maven-3.5-rhel-8.8.0
rationale: >
Runtime dependency of maven, maven-wagon,
plexus-sec-dispatcher, sisu.
sisu:
buildorder: 30
ref: stream-maven-3.5-rhel-8.8.0
rationale: >
Runtime dependency of maven.
slf4j:
buildorder: 10
ref: stream-maven-3.5-rhel-8.8.0
rationale: >
Runtime dependency of maven, maven-wagon.

4
plans/smoke.fmf Normal file
View File

@ -0,0 +1,4 @@
summary: Basic smoke test
execute:
script:
- mvn -V dependency:get -Dartifact=junit:junit:4.12 && stat $HOME/.m2/repository/junit/junit/4.12/junit-4.12.jar