Compare commits

...

No commits in common. "c8-beta-stream-202201" and "c9s" have entirely different histories.

16 changed files with 441 additions and 299 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

114
.gitignore vendored Normal file
View File

@ -0,0 +1,114 @@
/javapackages-bootstrap-1.0.0.tar.xz
/ant.tar.xz
/apache-pom.tar.xz
/apiguardian.tar.xz
/asm.tar.xz
/assertj-core.tar.xz
/bnd.tar.xz
/build-helper-maven-plugin.tar.xz
/byte-buddy.tar.xz
/cdi.tar.xz
/cglib.tar.xz
/common-annotations-api.tar.xz
/commons-beanutils.tar.xz
/commons-cli.tar.xz
/commons-codec.tar.xz
/commons-collections.tar.xz
/commons-compress.tar.xz
/commons-io.tar.xz
/commons-jxpath.tar.xz
/commons-lang.tar.xz
/commons-logging.tar.xz
/commons-parent-pom.tar.xz
/cup.tar.xz
/easymock.tar.xz
/felix-parent-pom.tar.xz
/felix-utils.tar.xz
/fusesource-pom.tar.xz
/guava.tar.xz
/guice.tar.xz
/hamcrest.tar.xz
/httpcomponents-client.tar.xz
/httpcomponents-core.tar.xz
/httpcomponents-parent-pom.tar.xz
/injection-api.tar.xz
/jansi.tar.xz
/jcommander.tar.xz
/jdom2.tar.xz
/jdom.tar.xz
/jflex.tar.xz
/jsoup.tar.xz
/jsr-305.tar.xz
/junit4.tar.xz
/junit5.tar.xz
/maven-antrun-plugin.tar.xz
/maven-archiver.tar.xz
/maven-artifact-transfer.tar.xz
/maven-assembly-plugin.tar.xz
/maven-bundle-plugin.tar.xz
/maven-common-artifact-filters.tar.xz
/maven-compiler-plugin.tar.xz
/maven-dependency-analyzer.tar.xz
/maven-dependency-plugin.tar.xz
/maven-dependency-tree.tar.xz
/maven-enforcer.tar.xz
/maven-file-management.tar.xz
/maven-filtering.tar.xz
/maven-jar-plugin.tar.xz
/maven-parent-pom.tar.xz
/maven-plugin-testing.tar.xz
/maven-plugin-tools.tar.xz
/maven-remote-resources-plugin.tar.xz
/maven-resolver.tar.xz
/maven-resources-plugin.tar.xz
/maven-resources.tar.xz
/maven-shared-incremental.tar.xz
/maven-shared-io.tar.xz
/maven-shared-utils.tar.xz
/maven-source-plugin.tar.xz
/maven-surefire.tar.xz
/maven.tar.xz
/maven-verifier.tar.xz
/maven-wagon.tar.xz
/mockito.tar.xz
/modello.tar.xz
/mojo-parent-pom.tar.xz
/munge-maven-plugin.tar.xz
/objenesis.tar.xz
/opentest4j.tar.xz
/osgi-annotation.tar.xz
/osgi-cmpn.tar.xz
/osgi-core.tar.xz
/oss-parent-pom.tar.xz
/plexus-archiver.tar.xz
/plexus-cipher.tar.xz
/plexus-classworlds.tar.xz
/plexus-compiler.tar.xz
/plexus-components-pom.tar.xz
/plexus-containers.tar.xz
/plexus-interpolation.tar.xz
/plexus-io.tar.xz
/plexus-languages.tar.xz
/plexus-pom.tar.xz
/plexus-resources.tar.xz
/plexus-sec-dispatcher.tar.xz
/plexus-utils.tar.xz
/qdox.tar.xz
/servlet-api.tar.xz
/sisu-build-api.tar.xz
/sisu-inject.tar.xz
/sisu-mojos.tar.xz
/sisu-plexus.tar.xz
/slf4j.tar.xz
/testng.tar.xz
/univocity-parsers.tar.xz
/velocity-engine.tar.xz
/xbean.tar.xz
/xmlunit.tar.xz
/xmvn.tar.xz
/xz-java.tar.xz
/javapackages-bootstrap-1.1.0.tar.xz
/javapackages-bootstrap-1.2.0.tar.xz
/javapackages-bootstrap-1.3.0.tar.xz
/javapackages-bootstrap-1.4.0.tar.xz
/javapackages-bootstrap-1.5.0.tar.xz

View File

@ -1,109 +0,0 @@
e6518e788096e4c175147d09bbbbbabdf75f569f SOURCES/cglib.tar.xz
ccf85c123683dcbf21b6447a18d9c90856c50517 SOURCES/maven-filtering.tar.xz
27a3ced24b7b9af6ce93607fdad0b3a2bd753d63 SOURCES/objenesis.tar.xz
19d2e9ce84819b75d8a4aea47e350261bac29aa2 SOURCES/maven-parent-pom.tar.xz
59f3ca5b2462817d3425b199d99f4fed03961b96 SOURCES/cup.tar.xz
1c8aba7c3231ccd4cb73ca854535bdc9cb39af4d SOURCES/plexus-classworlds.tar.xz
ecd6fec6c5ee310106ba5013eaab4656806166fe SOURCES/commons-compress.tar.xz
b441d56932c833517f35851d792a64ccf0493fbe SOURCES/maven-dependency-tree.tar.xz
19b0e9af3898aeec432c8eee2d28ab817ac6d998 SOURCES/maven-shared-incremental.tar.xz
f117a9f1619adf31688fab82499b73c661742bd9 SOURCES/commons-beanutils.tar.xz
37401b0cddd12687ef2f7e901f5a345fa047f60c SOURCES/servlet-api.tar.xz
abf0bb913b39df57d06d3de02fa1631addd1c920 SOURCES/plexus-pom.tar.xz
68634358bdc6307ed44835bae38c000706e96744 SOURCES/httpcomponents-core.tar.xz
102e65b17516c1ff3c853bcc86c5c5510e6286c6 SOURCES/cdi.tar.xz
180788a36fc4cae29b4b85943dec5a973503f28d SOURCES/maven-file-management.tar.xz
c19eb7a0af4291417e18f35a6819deb9164a894d SOURCES/jsr-305.tar.xz
702831096a42b50264b138c851811b9f80fd7bbd SOURCES/maven-jar-plugin.tar.xz
dcab9322c023f5fea0f06b31245ae5103325662a SOURCES/univocity-parsers.tar.xz
c989978e405274f28b3c2aab828844505bfdf8a3 SOURCES/commons-logging.tar.xz
ff1d01a279a5ee996e5a071c4eb7b66bd1198c31 SOURCES/oss-parent-pom.tar.xz
602c205a368dffcc34c6e230d82226a85efed69d SOURCES/byte-buddy.tar.xz
3642c4983d5d2e2b6f93027b2b93eed11ec7307b SOURCES/build-helper-maven-plugin.tar.xz
02c53fd9d87bfc2776e70c4b109641f05c16d984 SOURCES/opentest4j.tar.xz
238480128ee77114c6b9c145a67ed8624bf1f2b1 SOURCES/apache-pom.tar.xz
f45517067e561ac61a798f625172e33067787841 SOURCES/maven-bundle-plugin.tar.xz
a556acaaadd132c27d695e77b9e3519944b6a484 SOURCES/maven-dependency-plugin.tar.xz
091d9d85361e03421bf5c60c0d6735406518f121 SOURCES/apiguardian.tar.xz
4eb42d944574fe0dd89b2556f3257fbad2a749cb SOURCES/hamcrest.tar.xz
0dd7bf8ed169943b5329714c1a60822281a7cb5e SOURCES/guice.tar.xz
a32d2c2045233f86c49d349f5f0fd1995c8a0c3e SOURCES/maven-shared-io.tar.xz
419f3f0579e0fd39b577cf9caec8aa361e7e7753 SOURCES/sisu-mojos.tar.xz
c1ca73ff125fe3721ac726c6198eca8b90b7008b SOURCES/plexus-components-pom.tar.xz
2069e6da50e8b0f76b618e7118958e54a1d2671c SOURCES/jflex.tar.xz
6e73826a62a74db9c0b1dbad4cb37887c70edad1 SOURCES/plexus-compiler.tar.xz
367477ea5e39a444c4b539bb91f10d25fb906a37 SOURCES/xz-java.tar.xz
96c4c88b5f3cc52ec6404be1fd3999db3faecdc2 SOURCES/maven-surefire.tar.xz
c146da6f8c40d961040a736ed72b09bb4cc02c97 SOURCES/maven-resolver.tar.xz
8e3751be93e6ffa8a14d8cf13d07480bf5eae8cb SOURCES/plexus-io.tar.xz
33d7bff0a102f5489ab1acaa0e471656ed3ab9b2 SOURCES/osgi-annotation.tar.xz
3cbc03fef1f8d72bf8949de228025e3c51fa1724 SOURCES/jdom2.tar.xz
cf250d1537dd3a86223bffcd1260e8f5c69642ba SOURCES/maven-compiler-plugin.tar.xz
42585e3476fb7035f325bf3a44f36fd7e368835d SOURCES/plexus-interpolation.tar.xz
081aae7b708bbeed99b96924d4140186927aede3 SOURCES/maven-artifact-transfer.tar.xz
b6d530fee3a26ff32cf29c1457722f0401c1b7d4 SOURCES/plexus-cipher.tar.xz
3167fd6a3935c7808b6757f68ade019c8b483c10 SOURCES/osgi-cmpn.tar.xz
9996290d76a515946f64b4ead479ac18adca4511 SOURCES/maven-resources-plugin.tar.xz
5c1d40990a9836f360565f1ef818c2ee5900e7cc SOURCES/plexus-languages.tar.xz
0f632d34ee0044f9eae7ce4359e4e1dbec17b605 SOURCES/bnd.tar.xz
6dcfb920f0677b50cb57fddc447c1ef6e5b66c69 SOURCES/slf4j.tar.xz
1834f1019a9f7e0fd6af91e49c9cd061dcaf519b SOURCES/commons-collections.tar.xz
5d9a9f9835ebc2fbc50a2f3fea4264ebb3d54e02 SOURCES/testng.tar.xz
64d4b27a31b5aed0d40612c5767509a51bfe0a2e SOURCES/felix-utils.tar.xz
a417a7c17ba7d55f70ad9e5b837749b465febf36 SOURCES/plexus-resources.tar.xz
85fe93ed58bfead279062a88deaedfe197a3e489 SOURCES/xmlunit.tar.xz
dc6682ae3e9bdd8fdc3fa88cfaaea3ef2cc55f51 SOURCES/maven-verifier.tar.xz
a4e2bb81a90ea7e28e30a7b90c9b1eff5ab0f8d7 SOURCES/maven-plugin-tools.tar.xz
f36bfc064e243c1b52d4a675c5a90b93336b627b SOURCES/jcommander.tar.xz
9d1e13755be23ee97fa13977fc90cd6cda8f6a63 SOURCES/maven-shared-utils.tar.xz
3baf1fb69967ea15a6d1316bd04bc2ea188b6ad9 SOURCES/maven-common-artifact-filters.tar.xz
70ed8152503142bc7ccfa519cc2ce49b39f1fdfa SOURCES/maven-wagon.tar.xz
629c35aae0b4355526d06e253dd432de5bdde402 SOURCES/velocity-engine.tar.xz
32fda7972daa52a338b8c82c8e79334e4410bab7 SOURCES/jdom.tar.xz
e4a80e6a969d46884f25851bdafee59f73a6bffb SOURCES/commons-parent-pom.tar.xz
2b799663c0f1c9d4800dfd75fa3463ffbabdcafd SOURCES/qdox.tar.xz
6af636258cb78bbb886684e6ce849e42bc2a225a SOURCES/maven-enforcer.tar.xz
d4acd3c7c4517ce221f9b034625cc668e9a7f47c SOURCES/httpcomponents-client.tar.xz
708954aac18964a8f1d0e324221ef724bd545d74 SOURCES/guava.tar.xz
1466b8d1a5c8b998e45bfb8176d958cc5fe2dfcf SOURCES/commons-jxpath.tar.xz
24e167495181777bf43289e62a1736cfdb634bcf SOURCES/plexus-utils.tar.xz
9816e365c9e555be00452fc34a72f8f1a3fe309c SOURCES/plexus-sec-dispatcher.tar.xz
fea855304bcde7077edb0d45b244f9faf4c89560 SOURCES/mojo-parent-pom.tar.xz
f63feb55c764313e7205df0c02947ed6bcc669c2 SOURCES/commons-codec.tar.xz
d3c81ac41e931017edaae5d97556f84992c10546 SOURCES/osgi-core.tar.xz
bf5bba96f5e6285913ede7867f0a84265f6bc66b SOURCES/maven-remote-resources-plugin.tar.xz
2d7833d287586eac53c23baa9b3f3f1119a1d70e SOURCES/asm.tar.xz
96a64b9f13754d50c554437d9f6a529184b0add4 SOURCES/maven-dependency-analyzer.tar.xz
abdc4a6c69b5500c09862846a11702eace5e13e7 SOURCES/mockito.tar.xz
1631789917fd6b5763656b3a5eafb9bdf751e72f SOURCES/injection-api.tar.xz
ca93c45dbcb6ef0048bd76c294762f1bfef27dbe SOURCES/maven-assembly-plugin.tar.xz
854cf1b8058a891972b83db7b84be3b6c60752d2 SOURCES/maven-source-plugin.tar.xz
92a9e161da80bb4c21e03c14719af5d513c48567 SOURCES/commons-cli.tar.xz
371ae1fc276b4a73abac49f792474687d17fbb95 SOURCES/maven-resources.tar.xz
8a0456c81611001e8f7ec1327626eb197ee3239c SOURCES/common-annotations-api.tar.xz
a4b7c41c060943acfd4d6002574f5984d1e8ef4b SOURCES/extra-enforcer-rules.tar.xz
8e99bee3d48756d9a124f3074edcb7cc15a56be1 SOURCES/ant.tar.xz
05a452b78b0464c68ae42550e3558b2265b6f20d SOURCES/plexus-containers.tar.xz
fcb0385ede1b94038f0a8fb52ad084046df9ff82 SOURCES/easymock.tar.xz
fbe6aa4d4b8c7aae51a78079ae5138db2e0a3fcd SOURCES/sisu-inject.tar.xz
3e834b6a84949e0d0f7267f1cf05d26e3b6a22b1 SOURCES/commons-lang.tar.xz
f47fcc2b1790b01ee2dd7837ed08c3994993dbab SOURCES/junit4.tar.xz
0f6acd5c559c24a86ba36614e0716aee8a91760c SOURCES/javapackages-bootstrap-1.7.1.tar.xz
539f4212f39e768edb668c0d9374ce8febdc6269 SOURCES/sisu-plexus.tar.xz
437239cc2e628b237afcf37994a0668ac68a771a SOURCES/maven-archiver.tar.xz
e5038041b07c28f94d4a917471568e5b8aa436b3 SOURCES/assertj-core.tar.xz
850c2476e040003abcf986c5511133409d88af50 SOURCES/maven.tar.xz
89bbfc876680feb1a8b202d5666cb496f8248327 SOURCES/junit5.tar.xz
cb8f6e30d97548c0cf55aeb5602b5d52e296f697 SOURCES/plexus-archiver.tar.xz
d56ee485bbec5b673ad9db61ccd7bec6a708a234 SOURCES/jansi.tar.xz
40bdec45313d9908230b0b639a7d1303a7d9ac56 SOURCES/maven-antrun-plugin.tar.xz
ec5ae30e66c40c9c3da52c5bf73a3bbbe1b77478 SOURCES/fusesource-pom.tar.xz
d0d433419bd46757fb85e2c0b51df16d8fb7efac SOURCES/xmvn.tar.xz
06e77d4632bf70316c0bda3e3cf12f8569c9c768 SOURCES/plexus-build-api.tar.xz
9c56889c6fd0bbc578251b032017c200966a03ed SOURCES/munge-maven-plugin.tar.xz
17b2651c203cd40516a19d16236f454e6778f891 SOURCES/httpcomponents-parent-pom.tar.xz
156f37375991943515c51b16316b732a9e1889a0 SOURCES/maven-plugin-testing.tar.xz
2204b6f03103100f31d7173ea1aacd1ec29c61c7 SOURCES/felix-parent-pom.tar.xz
0a9890916c99733f068227d72447324573b20369 SOURCES/xbean.tar.xz
1a2599598a4f518562d9435dab05570451654c05 SOURCES/modello.tar.xz
40ce17fbb70a8458c31e6a1840efc9c163dabcd1 SOURCES/commons-io.tar.xz

View File

@ -1,26 +1,22 @@
From ad65f62443f23076dfc520d3f0589282da9530fa Mon Sep 17 00:00:00 2001
From: Mikolaj Izdebski <mizdebsk@redhat.com>
Date: Wed, 8 Jul 2020 09:04:57 +0200
Subject: [PATCH 2/2] Bind to OpenJDK 17 for runtime
Subject: [PATCH 2/2] Bind to OpenJDK 11 for runtime
---
apache-maven/src/bin/mvn | 16 +---------------
1 file changed, 1 insertion(+), 15 deletions(-)
apache-maven/src/bin/mvn | 12 +-----------
1 file changed, 1 insertion(+), 11 deletions(-)
diff --git a/apache-maven/src/bin/mvn b/apache-maven/src/bin/mvn
index dfa384b8e..2e9f10da0 100755
index a554c6617..23b9dd902 100755
--- a/downstream/maven/apache-maven/src/bin/mvn
+++ b/downstream/maven/apache-maven/src/bin/mvn
@@ -27,21 +27,7 @@
@@ -27,17 +27,7 @@
# MAVEN_SKIP_RC (Optional) Flag to disable loading of mavenrc files.
# -----------------------------------------------------------------------------
-if [ -z "$MAVEN_SKIP_RC" ] ; then
-
- if [ -f /usr/local/etc/mavenrc ] ; then
- . /usr/local/etc/mavenrc
- fi
-
- if [ -f /etc/mavenrc ] ; then
- . /etc/mavenrc
- fi
@ -30,10 +26,10 @@ index dfa384b8e..2e9f10da0 100755
- fi
-
-fi
+export JAVA_HOME=/usr/lib/jvm/java-17-openjdk
+export JAVA_HOME=/usr/lib/jvm/java-11-openjdk
# OS specific support. $var _must_ be set to either true or false.
cygwin=false;
--
2.31.1
2.25.4

3
README.md Normal file
View File

@ -0,0 +1,3 @@
# javapackages-bootstrap
The javapackages-bootstrap package

View File

@ -1,11 +0,0 @@
<toolchains>
<toolchain>
<type>jdk</type>
<provides>
<xmvn>xmvn</xmvn>
</provides>
<configuration>
<jdkHome>/usr/lib/jvm/java-1.8.0-openjdk</jdkHome>
</configuration>
</toolchain>
</toolchains>

1
ci.fmf Normal file
View File

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

8
gating.yaml Normal file
View File

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

View File

@ -23,7 +23,6 @@ downstream/commons-logging: ASL 2.0
downstream/commons-parent-pom: ASL 2.0
downstream/cup: MIT
downstream/easymock: ASL 2.0
downstream/extra-enforcer-rules: ASL 2.0
downstream/felix-parent-pom: ASL 2.0
downstream/felix-utils: ASL 2.0
downstream/fusesource-pom: ASL 2.0
@ -49,6 +48,7 @@ downstream/jcommander: ASL 2.0
downstream/jdom: BSD with advertising
downstream/jdom2: BSD with advertising
downstream/jflex: BSD
downstream/jsoup: MIT
downstream/jsr-305: BSD
downstream/junit4: EPL-1.0
downstream/junit5: EPL-2.0

View File

@ -1,23 +1,18 @@
%global java_arches aarch64 ppc64le s390x x86_64
# Exclude automatically generated requires on java interpreter which is not
# owned by any package
%global __requires_exclude ^%{_jvmdir}/java
# Don't run OSGi dependency generators on private (bundled) JARs
%global __requires_exclude_from \\.jar$
%global __provides_exclude_from \\.jar$
%global javaHomePath %{_jvmdir}/java-17-openjdk
%global javaHomePath %{_jvmdir}/java-11-openjdk
%global mavenHomePath %{_datadir}/%{name}
%global metadataPath %{mavenHomePath}/maven-metadata
%global artifactsPath %{_javadir}
%global launchersPath %{_libexecdir}/%{name}
#global git_hash ...
#global git_short_hash %(echo %{git_hash} | cut -b -7)
Name: javapackages-bootstrap
Version: 1.7.1
Release: 2%{?dist}
Version: 1.5.0
Release: 3%{?dist}
Summary: A means of bootstrapping Java Packages Tools
# For detailed info see the file javapackages-bootstrap-PACKAGE-LICENSING
License: ASL 2.0 and ASL 1.1 and (ASL 2.0 or EPL-2.0) and (EPL-2.0 or GPLv2 with exceptions) and MIT and BSD with advertising and BSD and EPL-1.0 and EPL-2.0 and CDDL-1.0 and xpp and CC0 and Public Domain
@ -26,13 +21,10 @@ BuildArch: noarch
ExclusiveArch: %{java_arches} noarch
Source0: https://github.com/fedora-java/javapackages-bootstrap/releases/download/%{version}/javapackages-bootstrap-%{version}.tar.xz
#Source0: https://github.com/fedora-java/javapackages-bootstrap/archive/%{git_short_hash}.tar.gz
# License breakdown
Source1: javapackages-bootstrap-PACKAGE-LICENSING
Source101: toolchains-openjdk8.xml
# To obtain the following sources:
# tar -xf ${name}-${version}.tar.xz
# pushd ${name}-${version}
@ -40,8 +32,8 @@ Source101: toolchains-openjdk8.xml
# ./downstream.sh prep
# ./downstream.sh archive
# The results are in the archive directory
Source1001: ant.tar.xz
Source1002: apache-pom.tar.xz
Source1001: ant.tar.xz
Source1003: apiguardian.tar.xz
Source1004: asm.tar.xz
Source1005: assertj-core.tar.xz
@ -63,22 +55,22 @@ Source1020: commons-logging.tar.xz
Source1021: commons-parent-pom.tar.xz
Source1022: cup.tar.xz
Source1023: easymock.tar.xz
Source1024: extra-enforcer-rules.tar.xz
Source1025: felix-parent-pom.tar.xz
Source1026: felix-utils.tar.xz
Source1027: fusesource-pom.tar.xz
Source1028: guava.tar.xz
Source1029: guice.tar.xz
Source1030: hamcrest.tar.xz
Source1031: httpcomponents-client.tar.xz
Source1032: httpcomponents-core.tar.xz
Source1033: httpcomponents-parent-pom.tar.xz
Source1034: injection-api.tar.xz
Source1035: jansi.tar.xz
Source1036: jcommander.tar.xz
Source1037: jdom.tar.xz
Source1038: jdom2.tar.xz
Source1039: jflex.tar.xz
Source1024: felix-parent-pom.tar.xz
Source1025: felix-utils.tar.xz
Source1026: fusesource-pom.tar.xz
Source1027: guava.tar.xz
Source1028: guice.tar.xz
Source1029: hamcrest.tar.xz
Source1030: httpcomponents-client.tar.xz
Source1031: httpcomponents-core.tar.xz
Source1032: httpcomponents-parent-pom.tar.xz
Source1033: injection-api.tar.xz
Source1034: jansi.tar.xz
Source1035: jcommander.tar.xz
Source1036: jdom.tar.xz
Source1037: jdom2.tar.xz
Source1038: jflex.tar.xz
Source1039: jsoup.tar.xz
Source1040: jsr-305.tar.xz
Source1041: junit4.tar.xz
Source1042: junit5.tar.xz
@ -122,21 +114,21 @@ Source1079: osgi-cmpn.tar.xz
Source1080: osgi-core.tar.xz
Source1081: oss-parent-pom.tar.xz
Source1082: plexus-archiver.tar.xz
Source1083: plexus-build-api.tar.xz
Source1084: plexus-cipher.tar.xz
Source1085: plexus-classworlds.tar.xz
Source1086: plexus-compiler.tar.xz
Source1087: plexus-components-pom.tar.xz
Source1088: plexus-containers.tar.xz
Source1089: plexus-interpolation.tar.xz
Source1090: plexus-io.tar.xz
Source1091: plexus-languages.tar.xz
Source1092: plexus-pom.tar.xz
Source1093: plexus-resources.tar.xz
Source1094: plexus-sec-dispatcher.tar.xz
Source1095: plexus-utils.tar.xz
Source1096: qdox.tar.xz
Source1097: servlet-api.tar.xz
Source1083: plexus-cipher.tar.xz
Source1084: plexus-classworlds.tar.xz
Source1085: plexus-compiler.tar.xz
Source1086: plexus-components-pom.tar.xz
Source1087: plexus-containers.tar.xz
Source1088: plexus-interpolation.tar.xz
Source1089: plexus-io.tar.xz
Source1090: plexus-languages.tar.xz
Source1091: plexus-pom.tar.xz
Source1092: plexus-resources.tar.xz
Source1093: plexus-sec-dispatcher.tar.xz
Source1094: plexus-utils.tar.xz
Source1095: qdox.tar.xz
Source1096: servlet-api.tar.xz
Source1097: sisu-build-api.tar.xz
Source1098: sisu-inject.tar.xz
Source1099: sisu-mojos.tar.xz
Source1100: sisu-plexus.tar.xz
@ -149,126 +141,125 @@ Source1106: xmlunit.tar.xz
Source1107: xmvn.tar.xz
Source1108: xz-java.tar.xz
Patch0: 0001-Bind-to-OpenJDK-17-for-runtime.patch
Patch0: 0001-Bind-to-OpenJDK-11-for-runtime.patch
Provides: bundled(ant) = 1.10.12
Provides: bundled(apache-parent) = 26
Provides: bundled(apiguardian) = 1.1.2
Provides: bundled(objectweb-asm) = 9.3
Provides: bundled(ant) = 1.10.9
Provides: bundled(apache-parent) = 23
Provides: bundled(apiguardian) = 1.1.1
Provides: bundled(objectweb-asm) = 9.0
Provides: bundled(assertj-core) = 3.19.0
Provides: bundled(aqute-bnd) = 5.2.0
Provides: bundled(maven-plugin-build-helper) = 3.2.0
Provides: bundled(byte-buddy) = 1.11.22
Provides: bundled(byte-buddy) = 1.10.20
Provides: bundled(cdi-api) = 2.0.2
Provides: bundled(cglib) = 3.3.0
Provides: bundled(jakarta-annotations) = 1.3.5
Provides: bundled(apache-commons-beanutils) = 1.9.4
Provides: bundled(apache-commons-cli) = 1.5.0
Provides: bundled(apache-commons-cli) = 1.4
Provides: bundled(apache-commons-codec) = 1.15
Provides: bundled(apache-commons-collections) = 3.2.2
Provides: bundled(apache-commons-compress) = 1.21
Provides: bundled(apache-commons-io) = 2.11.0
Provides: bundled(apache-commons-compress) = 1.20
Provides: bundled(apache-commons-io) = 2.8.0
Provides: bundled(apache-commons-jxpath) = 1.3
Provides: bundled(apache-commons-lang3) = 3.12.0
Provides: bundled(apache-commons-lang3) = 3.11
Provides: bundled(apache-commons-logging) = 1.2
Provides: bundled(apache-commons-parent) = 53
Provides: bundled(apache-commons-parent) = 52
Provides: bundled(java_cup) = 0.11b
Provides: bundled(easymock) = 4.3
Provides: bundled(extra-enforcer-rules) = 1.5.1
Provides: bundled(easymock) = 4.2
Provides: bundled(felix-parent) = 7
Provides: bundled(felix-utils) = 1.11.8
Provides: bundled(felix-utils) = 1.11.6
Provides: bundled(fusesource-pom) = 1.12
Provides: bundled(guava) = 31.0.1
Provides: bundled(guava) = 30.1
Provides: bundled(google-guice) = 4.2.3
Provides: bundled(hamcrest) = 2.2
Provides: bundled(httpcomponents-client) = 4.5.13
Provides: bundled(httpcomponents-client) = 4.5.11
Provides: bundled(httpcomponents-core) = 4.4.13
Provides: bundled(httpcomponents-project) = 12
Provides: bundled(atinject) = 1.0.5
Provides: bundled(jansi) = 2.4.0
Provides: bundled(beust-jcommander) = 1.81
Provides: bundled(atinject) = 1.0.3
Provides: bundled(jansi) = 1.18
Provides: bundled(beust-jcommander) = 1.78
Provides: bundled(jdom) = 1.1.3
Provides: bundled(jdom2) = 2.0.6
Provides: bundled(jflex) = 1.7.0
Provides: bundled(jsoup) = 1.13.1
Provides: bundled(jsr-305) = 3.0.2
Provides: bundled(junit) = 4.13.1
Provides: bundled(junit5) = 5.8.1
Provides: bundled(junit5) = 5.7.0
Provides: bundled(maven-antrun-plugin) = 3.0.0
Provides: bundled(maven-archiver) = 3.5.1
Provides: bundled(maven-artifact-transfer) = 0.13.1
Provides: bundled(maven-assembly-plugin) = 3.3.0
Provides: bundled(maven-plugin-bundle) = 5.1.1
Provides: bundled(maven-common-artifact-filters) = 3.2.0
Provides: bundled(maven-compiler-plugin) = 3.10.1
Provides: bundled(maven-dependency-analyzer) = 1.12.0
Provides: bundled(maven-dependency-plugin) = 3.3.0
Provides: bundled(maven-dependency-tree) = 3.1.0
Provides: bundled(maven-enforcer) = 3.0.0
Provides: bundled(maven-common-artifact-filters) = 3.1.0
Provides: bundled(maven-compiler-plugin) = 3.8.1
Provides: bundled(maven-dependency-analyzer) = 1.11.3
Provides: bundled(maven-dependency-plugin) = 3.1.2
Provides: bundled(maven-dependency-tree) = 3.0.1
Provides: bundled(maven-enforcer) = 3.0.0~M2
Provides: bundled(maven-file-management) = 3.0.0
Provides: bundled(maven-filtering) = 3.2.0
Provides: bundled(maven-jar-plugin) = 3.2.0
Provides: bundled(maven-parent) = 34
Provides: bundled(maven-plugin-testing) = 3.3.0
Provides: bundled(maven-plugin-tools) = 3.6.4
Provides: bundled(maven-plugin-tools) = 3.6.0
Provides: bundled(maven-remote-resources-plugin) = 1.7.0
Provides: bundled(maven-resolver) = 1.7.2
Provides: bundled(maven-resolver) = 1.6.1
Provides: bundled(maven-resources-plugin) = 3.2.0
Provides: bundled(maven-resources) = 1.4
Provides: bundled(maven-shared-incremental) = 1.1
Provides: bundled(maven-shared-io) = 3.0.0
Provides: bundled(maven-shared-utils) = 3.3.4
Provides: bundled(maven-shared-utils) = 3.3.3
Provides: bundled(maven-source-plugin) = 3.2.1
Provides: bundled(maven-surefire) = 3.0.0~M6
Provides: bundled(maven-surefire) = 3.0.0~M3
Provides: bundled(maven-verifier) = 1.7.2
Provides: bundled(maven-wagon) = 3.5.1
Provides: bundled(maven) = 3.8.5
Provides: bundled(maven-wagon) = 3.4.2
Provides: bundled(maven) = 3.6.3
Provides: bundled(mockito) = 3.7.13
Provides: bundled(modello) = 2.0.0
Provides: bundled(mojo-parent) = 67
Provides: bundled(modello) = 1.11
Provides: bundled(mojo-parent) = 60
Provides: bundled(munge-maven-plugin) = 1.0
Provides: bundled(objenesis) = 3.1
Provides: bundled(opentest4j) = 1.2.0
Provides: bundled(osgi-annotation) = 8.0.1
Provides: bundled(osgi-annotation) = 8.0.0
Provides: bundled(osgi-compendium) = 7.0.0
Provides: bundled(osgi-core) = 8.0.0
Provides: bundled(sonatype-oss-parent) = 7
Provides: bundled(plexus-archiver) = 4.2.7
Provides: bundled(plexus-build-api) = 0.0.7
Provides: bundled(plexus-cipher) = 2.0
Provides: bundled(plexus-archiver) = 4.2.2
Provides: bundled(plexus-cipher) = 1.7
Provides: bundled(plexus-classworlds) = 2.6.0
Provides: bundled(plexus-compiler) = 2.11.1
Provides: bundled(plexus-components-pom) = 6.6
Provides: bundled(plexus-containers) = 2.1.1
Provides: bundled(plexus-compiler) = 2.8.8
Provides: bundled(plexus-components-pom) = 6.4
Provides: bundled(plexus-containers) = 2.1.0
Provides: bundled(plexus-interpolation) = 1.26
Provides: bundled(plexus-io) = 3.2.0
Provides: bundled(plexus-languages) = 1.1.1
Provides: bundled(plexus-pom) = 8
Provides: bundled(plexus-resources) = 1.2.0
Provides: bundled(plexus-sec-dispatcher) = 2.0
Provides: bundled(plexus-utils) = 3.4.1
Provides: bundled(plexus-languages) = 1.0.6
Provides: bundled(plexus-pom) = 7
Provides: bundled(plexus-resources) = 1.1.0
Provides: bundled(plexus-sec-dispatcher) = 1.4
Provides: bundled(plexus-utils) = 3.3.0
Provides: bundled(qdox) = 2.0.0
Provides: bundled(jakarta-servlet) = 4.0.3
Provides: bundled(sisu) = 0.3.5
Provides: bundled(sisu-mojos) = 0.3.5
Provides: bundled(sisu-plexus) = 0.3.5
Provides: bundled(slf4j) = 1.7.36
Provides: bundled(testng) = 7.4.0
Provides: bundled(plexus-build-api) = 0.0.7
Provides: bundled(sisu) = 0.3.4
Provides: bundled(sisu-mojos) = 0.3.4
Provides: bundled(sisu-plexus) = 0.3.4
Provides: bundled(slf4j) = 1.7.30
Provides: bundled(testng) = 7.3.0
Provides: bundled(univocity-parsers) = 2.9.1
Provides: bundled(velocity) = 1.7
Provides: bundled(xbean) = 4.18
Provides: bundled(xmlunit) = 2.8.2
Provides: bundled(xmvn) = 4.0.0
Provides: bundled(xz-java) = 1.9
Provides: bundled(xmvn) = 4.0.0~SNAPSHOT
Provides: bundled(xz-java) = 1.8
BuildRequires: byaccj
BuildRequires: java-17-openjdk-devel
BuildRequires: java-11-openjdk-devel
Requires: bash
Requires: coreutils
Requires: java-17-openjdk-devel
Requires: java-11-openjdk-devel
Requires: procps-ng
Requires: javapackages-common
Requires: javapackages-common >= 6.4.0
%description
In a nutshell, Java Packages Bootstrap (JPB) is a standalone build of all Java
@ -287,27 +278,19 @@ depend on JPB for everything, without depending on any other Java packages. For
example, JPB contains embedded version of XMvn, removing dependency of JPT on
XMvn, allowing JPT to be used before one builds XMvn package.
%package openjdk8
Summary: OpenJDK 8 toolchain for Java Packages Bootstrap
Requires: %{name}
Requires: java-1.8.0-openjdk-devel
%description openjdk8
OpenJDK 8 toolchain for Java Packages Bootstrap.
%prep
%setup -q
# leave out the first source as it has already been extracted
# leave out licensing breakdown file
other_sources=$(echo %{sources} | cut -d' ' -f4-)
other_sources=$(echo %{sources} | cut -d' ' -f3-)
for source in ${other_sources}
do
tar -xf "${source}"
done
%patch0 -p1
%patch -P0 -p1
for patch_path in patches/*/*
do
@ -315,14 +298,12 @@ do
patch_name="$(echo ${patch_path} | cut -f3 -d/)"
pushd "downstream/${package_name}"
# Unify line endings
find . -name '*.java' -exec sed -i 's/\r//' {} +
sed 's/\r//' "../../patches/${package_name}/${patch_name}" | patch -p1
patch -p1 < "../../patches/${package_name}/${patch_name}"
popd
done
%build
export LC_ALL=C.UTF-8
export LC_ALL=C.utf8
JAVA_HOME=%{javaHomePath} ./mbi.sh build -parallel
%install
@ -336,8 +317,14 @@ JAVA_HOME=%{javaHomePath} ./mbi.sh dist \
-launchersPath=%{launchersPath} \
-licensesPath=%{_licensedir}/%{name} \
# Use custom toolchains.xml
cp -p %{SOURCE101} %{buildroot}%{mavenHomePath}/conf/toolchains.xml
# fix permissions
for f in mvn mvnDebug mvnyjp
do
chmod +x "%{buildroot}%{mavenHomePath}/bin/${f}"
done
# Use toolchains.xml provided by javapackages-tools
ln -sf %{_datadir}/xmvn/conf/toolchains.xml %{buildroot}%{mavenHomePath}/conf/toolchains.xml
install -d -m 755 %{buildroot}%{_rpmmacrodir}
echo '%%jpb_env PATH=/usr/libexec/javapackages-bootstrap:$PATH' >%{buildroot}%{_rpmmacrodir}/macros.%{name}
@ -347,70 +334,28 @@ echo '%%jpb_env PATH=/usr/libexec/javapackages-bootstrap:$PATH' >%{buildroot}%{_
%files
%{mavenHomePath}
%exclude %{mavenHomePath}/conf/toolchains.xml
%{metadataPath}/*
%{artifactsPath}/*
%{launchersPath}/*
%{_rpmmacrodir}
%files openjdk8
%{mavenHomePath}/conf/toolchains.xml
%license %{_licensedir}/%{name}
%doc README.md
%doc AUTHORS
%changelog
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Thu Dec 12 2024 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.5.0-3
- Fix FTBFS after default Java change
* Wed Jun 22 2022 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.7.1-1
- Update to upstream version 1.7.1
* Tue Jun 14 2022 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.7.0-3
- Add openjdk8 toolchain subpackage
* Mon Jun 06 2022 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.7.0-2
- Drop build-requires on javapackages-generators
* Fri May 13 2022 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.7.0-1
- Update to upstream version 1.7.0
* Thu May 05 2022 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.5.0^20220505.git4f9a68a-2
- Fix dangling toolchains.xml symlink
* Thu May 05 2022 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.5.0^20220505.git4f9a68a-1
- Update to latest upstream snapshot
* Fri Apr 29 2022 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.5.0^20220429.git1cfada9-1
- Update to latest upstream snapshot
* Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 1.5.0^20220105.git9f283b7-3
- Rebuilt for java-17-openjdk as system jdk
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0^20220105.git9f283b7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Wed Jan 05 2022 Marian Koncek <mkoncek@redhat.com> - 1.5.0^20220105.git9f283b7-1
- Update to latest upstream snapshot
* Wed Nov 03 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.5.0^20211102.gitd76c032-2
- Build with OpenJDK 17
* Tue Nov 02 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.5.0^20211102.gitd76c032-1
- Update to latest upstream snapshot
* Thu Oct 28 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.5.0^20211028.git2daa95f-1
- Update to latest upstream snapshot
* Fri Oct 15 2021 Marian Koncek <mkoncek@redhat.com> - 1.5.0~20211015.1e296d5-1
- Update to upstream snapshot 1e296d550d91f89f383e42ceeb0856b97214b51a
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.5.0-2
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Mon Jul 26 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.5.0-1
- Update to upstream version 1.5.0
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Wed Jun 09 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4.0-2
- Rebuild to workaround DistroBaker issue
* Thu Mar 18 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4.0-1
- Update to upstream version 1.4.0

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

5
plans/smoke.fmf Normal file
View File

@ -0,0 +1,5 @@
summary: Basic smoke test
discover:
how: fmf
execute:
how: tmt

109
sources Normal file
View File

@ -0,0 +1,109 @@
SHA512 (javapackages-bootstrap-1.5.0.tar.xz) = a1a24f16f454ff6ea84458ca1635ad437051ceba9910864fc7b42758ba22e4f15580f269b7cde09cdfa052912efd14a0810a29cff799c13207a9001135454944
SHA512 (ant.tar.xz) = d514610ca6be05efdeabebaeecaa515790bfa65b83c85de557686fa42135e7510440f04aa1890143255ca8e937d39b3e5b4c2ade7059224227c1982f7f87f9bc
SHA512 (apache-pom.tar.xz) = add7ac6b664307f36c55950597876216c2e0fc9193ea2c00214c22d38d4c249fdea639f36618e49a66193da8f076bd6a76bc5136e3f4ef5b3bc28b779a9f5004
SHA512 (apiguardian.tar.xz) = 0a14ac34efcacc47736239059e33f9d30b7d8be1d692135b9f2ef785bfbdae1012e255d395fdb19c9b89b2d83a1ec7c015c9183b53ab33732814e357e76179ab
SHA512 (asm.tar.xz) = 0963a638f147c30f12de78afa27f7cb05ff15ad84a12a8f6dd22964c8acf59301451ea5af969d67b7c8167c2195cfd01d15a7d42c6f1fc32c1726be35ccf0453
SHA512 (assertj-core.tar.xz) = b8936be4f79845af8d9321dd2e41a35f7d716138f8cb3b34cd5932fb0479187f32a893c0a81074c2ff3fd010af31cc2bd743c5fdc2f1459a11ef33c87dc8f5d6
SHA512 (bnd.tar.xz) = 4caaea5c02d302d052b753c7a4b4fc9f725239be1ba1824b9871b30842b32e7794a7580648a6bbcc7f6d2a8ff61fb8bd2293f90626a19453b55f5854f095caee
SHA512 (build-helper-maven-plugin.tar.xz) = a10176b562e2d7edbe109aec397e4ae1cdca1b3d27494644b483c874d08731478413eb0f3a4308aa2279d2883fba072fbd1b8a8f428447044a18195a46942219
SHA512 (byte-buddy.tar.xz) = a76b6bb9cfae056bb9dc470f284f1703ba116e90e2137f8f53b571aea335e639f386255bd78f874b6f5f2993c9a530b0c23ef40a20c1b222dbb1019146d3b0c4
SHA512 (cdi.tar.xz) = 95b9c229ab2106de9133a9cea45f56bc85c2b32d348af0b56386ea782764a5cad1330aa9c8f68a92c0cad9a932a50fadd1a6f6f173a0497ccb267f7cad5f7b29
SHA512 (cglib.tar.xz) = 6641fdbcac9f68bf5fcd97a102e18fc62491894155b8d26fb3d6ee393d12c5165890f4c1346b4b1d1736fdeea2f489aefad2a4b82000b16ef5c6f71fa5e720d0
SHA512 (common-annotations-api.tar.xz) = 7f135480c6b8b9b3fc9472f570f4b82df773d9971814558f2742eed1f5ef5747daa95cfe88765edc72ba1d68c743e780733b115130ac93bdc8394f4824a42ed4
SHA512 (commons-beanutils.tar.xz) = c949b81843aad73e969c3671649d48efab9d29dffd74e752e7c17af39d0332c9bfd8c17fb4d0d66873db24adbb37ecf682a47ec248c131c844a0d067c6f58b35
SHA512 (commons-cli.tar.xz) = ee6ae7dd58aea611fbf8770d131dc226b20e189dc33ef99d13eb71b7700336cff973d26942c6b76c5142e3f397046e8a7480048aec59a2460cfb53a7a292d350
SHA512 (commons-codec.tar.xz) = 6dcff937bf44772a5741fc823a5a5e97394e440968ebad83101761f929ba6c0c6a24f775cb86d7ba094e2a7ee5c8e468d425ef99b23aae869eb927ae397142ce
SHA512 (commons-collections.tar.xz) = 4101d7590734932f08cf5a51d2c28a4e1b7d4a61b013f4f24e4f042ef70081225ef5b2d47620a0a34a216b8245c9a7a2f63f9a3d9d5d73e23e107218f0f3bf51
SHA512 (commons-compress.tar.xz) = 2ddd542560f6547bc742aff869f6619dbbf8ce2143dca34087e9ed0bca903614e74a0b7c2ea219957822776c2e5f36121604eadb214850574cecc2482b71ddae
SHA512 (commons-io.tar.xz) = 1703930014c68e870d865ff94c4ba3c103b2e4487e87635fc6ded00daa2b17731f34923ac4b1617cf77c28aab2a7473725da1df803d6c97a58b4288ba301d8c4
SHA512 (commons-jxpath.tar.xz) = 1bbc91d1755a115044aa631f042d05e192050feebd29f515e6fd8216e01b1c2654961c353c6f515b7e02d7022bd7c45ed85a5c5e232c8c89f9f0892081f2f27c
SHA512 (commons-lang.tar.xz) = 3d17f7013ec545faea8e6aa3809bd460efd6ce9d9908cd1d4a07c0062cfb66cf3ef345100d81222fc6bec49f5dd7203ef290cd572a13851a7e8c34aec828f394
SHA512 (commons-logging.tar.xz) = d406a137a6375f01b399d82d868694d28a2c3613f8afafe54aa0c29fa83f730ee6c460ad93c83e97ca0e6b883216e37ad4fad226d1a2616bab9e154e5f3c4d0a
SHA512 (commons-parent-pom.tar.xz) = 15c4dc847f446358a80a0c08042c78a4329b322cbf6420c42d66fa63aa5c7965e3351fa8221bf45e5b49e934e6a9c2453e92cc7cd7781d501a3124f7f2a46dfe
SHA512 (cup.tar.xz) = 2520269875b67d92898e94e313712b9c21f302eed7c5589a93890818e375e0cb748a83dbca2c175260dff0d59fead4ce12cb80728186562dffd830d5fc8ec19a
SHA512 (easymock.tar.xz) = cf219a1e07425021fcddc4fba3dabb0b99cae62f9960f3904cff5d9d045ae84d6c7dbeda872f94b1f8788e00eb6cb2ba99a7332178b7b78b4e782764faa32775
SHA512 (felix-parent-pom.tar.xz) = 25a8795f628f165e52a475252441457e3aed9efec3532a96ed8f061df1f22d8e0f08900e20ec7cd85322ff5112b39303fe9a1f5b6390eb5401fc475aff7fbc6f
SHA512 (felix-utils.tar.xz) = c75667cd76cd201ab09d8efae7ec5e52fe849e7e4376bdbb7b0ad79db311fdb1ec6fe69c0927b1b911daa60eb9b43ac15bd44e840f91a5da061c4dbe31361384
SHA512 (fusesource-pom.tar.xz) = 79868d1ade2ed501ff6857dc4a547f8c0e9d9e1423908e16c308f44cf26d4e677faa6632e77dd6c8e6e6ce1377c2dc967fd244e16b56b22a9b786fbb50f67df9
SHA512 (guava.tar.xz) = d91e610900925e8159d0db11c5322b74e249e85a35aaeec6962d4eb06cb926fa3c717519ed87ecf11aaa22c46ef2db3aadf0b325382ac040753fd3bebcccb4c2
SHA512 (guice.tar.xz) = 233b8361107bfbd5cf13757ca864833d863968a39b5e30482d50f32626b903f4ae5d9d63e02cad17777f4050793c54a9091603bbf1dc670a84e88c5130ed943a
SHA512 (hamcrest.tar.xz) = 9ab6d70ab5611b6fc52bf31afad93e76394d9341dace0361128bb22f77b974b62fa581926aa768850f2b24e758c7307f1f56e4dfa85ceeac83447ac7c9eada36
SHA512 (httpcomponents-client.tar.xz) = ba2f8cab32104aadf5a77ed3e1e16798b05471695eca9efe22b1a0fccf839540610ad55c65a5c3b948983e905b178eb7527da5e309d7a21f0c57bdead8150f26
SHA512 (httpcomponents-core.tar.xz) = 73e3bb628f57a0fa17994b4b66b54248c3abb548492a965e50a48067a7bffd983468f57720d5473100794e176415584849c04271d308f6ed5b9e6f31148d0443
SHA512 (httpcomponents-parent-pom.tar.xz) = 5b877ef9f038312fe2cd17f5e9930b6fb771ff5d1d57d6e60812332502e2fde0ca53498be53a85d8652427afdc73dc747d21ec69c25a059a4dc53758ff405df8
SHA512 (injection-api.tar.xz) = 2bfdb53c69322a5f7458a3acc59dd4b83b7969eb8312534ac8c0e60d4fb2f679df4690c6268b453ec19c791a156d111fafda5d113892e2412327d02325af4a16
SHA512 (jansi.tar.xz) = 2847c0d38b000d21acdeb1c32c6d9bc9796d0472b554aaae8c7144ec35f17b0d0e27268276568a5d61ea450e5a624c46732fb349c58a4900c02ea859e9ba7628
SHA512 (jcommander.tar.xz) = 344b800b5d7e5028dfabfe70a08f84a19371d2bbbde1a9771a9bf02cbd47026bd5a78a397e588f28077b9f5576d4ea1d563c99b2c6c2eed5ca0cd32d2da5f1e1
SHA512 (jdom2.tar.xz) = d3a3d8cf69fcfda48ced37f73a97711a5607bcf3a9fa73fe3cf0f3eb1dd6e2c4e727cb9f8b496ef9f3f9f46aab1e4f656d13059c798e713bd2b996a007e4f259
SHA512 (jdom.tar.xz) = ced2c0c810be0b39b788259c649a2035d88710de5c5ae7a71daa62c7cdf81e38644f0cc289ae4a74ab313e50a5d05555423932af50b09e3a85e72d9440cb3c6a
SHA512 (jflex.tar.xz) = ef9ee7dd44b8fbf9a40e9e3f7169ce9bd14d8d724a8f3ca3ac0a6d00d0d8093bf8ebd047c99338613e3eb5d6942bba3d1c1ef36e113660ae41207f69d25af042
SHA512 (jsoup.tar.xz) = da78d6698f9edc8ad3f2585f1c3581a16af65610cf4e4a2df6581dfa6a6917aab64ee85a8d706028b199f6f87f0dcc6227f9b6b312fdf50776827200971037c8
SHA512 (jsr-305.tar.xz) = 58843b9aa8cc959af6203ee73191ec8d8b1b8a3ab17e23c25bd6ad977c26cbeaeb3ff87ffbfb89e28dafd7406ff4eeb67a904caded9ff7246e917cc10017932e
SHA512 (junit4.tar.xz) = 05b76424587e3cf8847698e9cb65244baf3f68abaaef33a9d0a6d71eeecdb239a53846c377d74f708e4516fb3bda856fa68b9871d489286471ff12b5494dbf8c
SHA512 (junit5.tar.xz) = b5015485d56ad32dc66f4947438e6abb95d3d80a008d021fa46d7556c53069df40ec5fc1b7ad6ee9a2dd22ec6ca8b5ff942cbd9581ddeab30069e93a71e77826
SHA512 (maven-antrun-plugin.tar.xz) = c06c14dc0bd3dd1cbdba4a6168ac7a7b678d77d136bec615316e025548f13a6311c829cd79de5436ff268a44a956aea479a9b1af935e46ee97e693031fcb9000
SHA512 (maven-archiver.tar.xz) = 5372fc35dcb0487c8b0fd8c846dc30c6cda7233bf93d347d4317da8b322dbd5fe35968de7bef5ed33c07857571ba4ee84715fe613d57ce8db1338318a9ce5afc
SHA512 (maven-artifact-transfer.tar.xz) = e8b59a4352e2d047090bfb2d48117380dab12cbeffc7a1e96f23262f26877b7d582e92d1805672f40e53d8b39ca8fbb6ba5824dc49875d26310ae98b33b6c0c8
SHA512 (maven-assembly-plugin.tar.xz) = 3d4d5b90c780301b7fd2c7c0cb1f87d1bbf6747f00b08075584e9995bb87f18a9434c7c62aa73f4a34648609bd101b2f535148e19c5f2f8dab493995882fdbf9
SHA512 (maven-bundle-plugin.tar.xz) = 203999f023e09789c304a080d390ebbf7def09babbf8e99684c1d668f3ee6071b56c0f5f17359c9ff6646ce6f1507353d408e8d17f55f29723474533abe14f56
SHA512 (maven-common-artifact-filters.tar.xz) = 21dfc5641ad0bb72c01014283e7071192a2b26b075da54a2fe38b67118a5b00846d57de7ad89455779ba3cb3a29a533642498a1e2aa9cb77768e164b52e630bb
SHA512 (maven-compiler-plugin.tar.xz) = 29dcab26314ff2a2a34ff98b8193af9d78c86f779f2d8a59424a6c959e4a5883455d4f7a25015cdfa5e7661d4f2224f7c50e7b6b16a41daee7f09aa9eaf8ec62
SHA512 (maven-dependency-analyzer.tar.xz) = 9179c32f86349b1b939aa862c9d04fa1b1c7731d31b1702e71a8c7175125d8eab5c0fcccce8af95280073345d53953e2a37ce8cddd31b9efb0f8b27aecaef278
SHA512 (maven-dependency-plugin.tar.xz) = 02ff9fd3c265648e5ac17441c277295003a813cda2c2f5b3517cd044d109faa057997105fa3b4683f0ac1e79758e1eafc6f7158033fb697355979a92e264ae2f
SHA512 (maven-dependency-tree.tar.xz) = c3d34b25c8457bb4b65fae74cf1ac52d337ffaf0db6a40b5b85d586c9ff26c733bd673f67a24077a94769650266d9f5d170a934ecfdd4fc44d0d3dcd05278a36
SHA512 (maven-enforcer.tar.xz) = 0b0115fb7294ff3e8dcfd899c13d2674b535fbf3172dd9d3a334c1f2240df4a409a5801c878e8c8433079d16a047104645d031bfa188dad0c422c64210afd97d
SHA512 (maven-file-management.tar.xz) = e72fa521c57dda10977b5ca91a4b13adca878900a53165c48d58d4720f2380b3c53b9113239d5a71353f13b0d043c409185db40158b7ec6928d99a0d7b5e1fed
SHA512 (maven-filtering.tar.xz) = 2933b27f170ff25c74ab8ead5d00f1c11782d31df283a4e400775ab5e3cb981218c8da76b8b75e9a322938af32e9d4b44747253a69a55c6b4b6b4dcbf877c126
SHA512 (maven-jar-plugin.tar.xz) = 8d319a9099cf8c5d891fd7d0d0d9c274b814fda000975b14298e03ba354ae63ae9de10d34a6306fdd6fc45493e64679fd56f019ad52adf0a41e10a7927291340
SHA512 (maven-parent-pom.tar.xz) = dbed2a2f9f54c7e123124ef5479d71ee0a93b3139a0824c9b3b4b3f6c4d586a57f60e05ff183b1bc538f5b353c8873f6f860a81ec63e1c48127513a137f0f3ba
SHA512 (maven-plugin-testing.tar.xz) = c343fdc258b5884e801d74926767ba84c7dd1769d8215bf05c7dee955f3327cf216cffd39be4b96224523e4c16430edec81b934ab1543b328fd28f461360a2eb
SHA512 (maven-plugin-tools.tar.xz) = f084a81115c66f5be4c031cf23a522aaf5955cb0167155d998c71340591298e6744f932134b425b63acefc9af7a140484d2d99b263b0b702e091da392a88a7ae
SHA512 (maven-remote-resources-plugin.tar.xz) = 4c54f1a75c4dec4c48961f7c1ded4bb219dc10b246346a267a44b7e4a178b2cb23c25e81a41bd041975ed9ca37cdc0120b1e1da0fef86e56bb3a8415b26a9c39
SHA512 (maven-resolver.tar.xz) = b7549e87f6ff0c707edd0d9dad7dd3e48587d00867b0aa32c02ddb0966b897ed8521f3f33148307092b6559fa8e75213529360839f78ae145ffde5cd85725372
SHA512 (maven-resources-plugin.tar.xz) = f28fe60efe7c619201fba582327048e4bfe49b7ad8e55bf684c5c5e4ff12d23c92e3e02cbc0bd6ba977920c9a891ff6b27666b1f4a9ce0c5b03aeeedb7bf1843
SHA512 (maven-resources.tar.xz) = 9be130f3b9e098635e5f62acabd60d4ae66b1658b18ed8630aecec8ac7fc9e5c19e04894e79b5a11e656c1261d5b270beb9f71080b404a0db8927853cfdfa8aa
SHA512 (maven-shared-incremental.tar.xz) = 50f7cbcc3496fcf4b834bfeeac770d610deb8b35a60bdf3cd5d18eac0615bd1853377a83dc1bc1744c3b3e4d66df8cea722f3b7be626c855053c337deb0d1118
SHA512 (maven-shared-io.tar.xz) = e56af091151ee53587edd52943e7527bf6329920d0ebe2011aec075d56e05ce5b36c99f49e31adb5ee62dea6af1b977376df4f3646e306f9e8d9854d23aae587
SHA512 (maven-shared-utils.tar.xz) = c5f7d7c0830496e5d0191a77700f2d765ffc85d532063903a1d4f286adbfe3be87fcb257e9635b674cfa54654c352df996de665d60fa5d4ed42bd059b8048368
SHA512 (maven-source-plugin.tar.xz) = da94c4fbc819fb04a7ba6efd9fceac194837bf6cf754f00fe162db964321f2fb860f7c074b51693bfc0aedb31f9eadc0356d5e694838a4ef8c8fb9d390d454e8
SHA512 (maven-surefire.tar.xz) = 136d6ff35242e11ae293f21e9e42d2ab0b6ec379e64324a82ec5d0b8ae43072b68557f87c5f02227064899a638560c67e82ae4a5a7a1313eb8d198a60603c26b
SHA512 (maven.tar.xz) = d1392683175146e1328e97e24ba03eeda8d77f5b59695259971bbbc5d2c427954d6e06127b0445b8cbb3c156d0cf751d68668f62936256442e376cdc2b0e0725
SHA512 (maven-verifier.tar.xz) = 54deb814e5d254ec50c20c76f59f164ed7063a85b5828bf9fd4a727e4a4f936ae3d07a5854b016bc491e6730550eca5dd694c873cdbdc84f9b867f6daf4bcd14
SHA512 (maven-wagon.tar.xz) = 4fef09c0e98c3dca894b62f3f1751d27aca4d392ca730d6b4effc702b68100eaacdf18574a3c7fb495c2c4a66c5408c1dc8ccb802ac7908b3375fd946a10ee33
SHA512 (mockito.tar.xz) = 3737689c08b6cc43b2422fdc6dd2e0fc3c7fc21a65fe7cc96f7f70466f086972b7436434d047e16d7e692eabf06183feef4b911a5bf327a8565a8972e4c823d6
SHA512 (modello.tar.xz) = 93d92ea186d830bcc388b459d3b28a2612ffe5de5ad9d28acc20441d0ee07951ade832fd8e68616314e9b8ec66db1db2713839b20350c4833ed9beecc7ab58fb
SHA512 (mojo-parent-pom.tar.xz) = bcce1eb9c3a1c225a52f63b400b1dc1d3dc52650eb058fef0ec54f849862800d31e40929a20dd012839b4d4ac37cc6b49876b2244795a27b3a024fda9cb35ac5
SHA512 (munge-maven-plugin.tar.xz) = 573c010ca107cdf32440d5dfa95a1ca400da7fd3d56f8355fd99257fb4ec83d2818638c06f06ba8f0ea882a3515fc64931c6342e4ec167488b11555023a5e7ed
SHA512 (objenesis.tar.xz) = 99a3b9da3baec726aeb643a72494617d5234d31e063e0e81c0716a3e0a7d9b773b591f215ea82f3dc6d781d4294e60143794409073739caf07917b14b231015c
SHA512 (opentest4j.tar.xz) = f28358721018eb98959427553300e2bba4cf592016c7e83f25c907236caab0e77c537cbe1fd9685edae3e125bf0feb87560ccc991d37e381d377c1d48197c2a4
SHA512 (osgi-annotation.tar.xz) = 8c1d02688941727a6d550f678a8c85db656b30a10bc32eb0b7b28b0f9cf17a7d9b3f64d62c6f5e3176a86ef6eb915a92a6aff71034e17b9617ae02c47b4990d7
SHA512 (osgi-cmpn.tar.xz) = 1c3ee095a8b89e8a553d3e0f2a0b8cabdec203aa0810829b64bae885de701541ce11185b02bb5d09c5965fa66390b534997ed0440008a46bd09e3673f72f6ecd
SHA512 (osgi-core.tar.xz) = b1e9c98a38cb7d6ea0bd495a9f5c28168fbec9474e782144ac42e0ce5b615d757345f319bfc2d40a3c04a1e460fbe2c7a9cf22920fd49990429838041962dac2
SHA512 (oss-parent-pom.tar.xz) = 11e88e748e13a48262f34de209169e60da5f8c9f548b80212a80ae767d7f5d3aeac7d03d420d78da14e9e64a299904411c54d59a0361c4290c696c52efe350d4
SHA512 (plexus-archiver.tar.xz) = 67b79e1c99e1e78fceaf887d3e68f158833c01b43b98a5546165d3d29674ac7510ea3cbb12d63e21c00efeaae76bdf8059a0fb9cd284b7062377c1d9ac2341e8
SHA512 (plexus-cipher.tar.xz) = 4080ff531e2d75ed114670861f7ccc80348588a0aa133e17811e3f0ba6a8af44ed749df8d10f41f58790e3309859eff9e995945a5f9356d86c9b46c254ab449e
SHA512 (plexus-classworlds.tar.xz) = 769af97c043b3675a49960cbabff04e748134770fc36d9ede6e52a0acb6b2ddc9dc0e51e05cc6d3e8e2c33a76441794381f05c4927d70d4b1fc9ea7ee84472a6
SHA512 (plexus-compiler.tar.xz) = 4c9af6a934d2f8cf0712fee364d9a4723323102b4f6b64ccf4b74bcf3fe8cdb9d04d50261026dbd63a770fab97f03fd3ecf99f903d6707e29dfcaedc74b092d7
SHA512 (plexus-components-pom.tar.xz) = d7386aeb60591b6facc7d99d9910b1623ebb8de61b9b0d781fae22ba9eb02ff864e67f6198054eed41c2454b82f26848c3d6ed6bf1113dab338f70fc1aab61dc
SHA512 (plexus-containers.tar.xz) = 7e7a34374e66cf1f4540c4246260e0d65088f87eef79583f3ada3b49d317395d7f6420d2baf4ea6cc37c5ba2ee7cde1490b1ab61074423de1f01a4054069f85b
SHA512 (plexus-interpolation.tar.xz) = 5f93f9e88aef39753d3901785421367253948449044990d1d974b99f2ae110a52d314a13264766312a9597ef2f8f40240e7773f51daf5d8d162848d95c37bd8c
SHA512 (plexus-io.tar.xz) = e2bd3152749001a9133f2d2184b5559a2bdcc8991d00ee6cabfd8998fde8446ac05c48aca0e427cac06e6589afb466034d26300b5ccede74259ad6b37c382595
SHA512 (plexus-languages.tar.xz) = 3bf471f223684a6e1cddb55e7448972d55dc48a7d4f7c36466e1505ca61bc8822b82b3d3aebefaad29d3be4cbe3bf55cb42c79eeb271fb5e656d9b7a0996ef3c
SHA512 (plexus-pom.tar.xz) = b10d906162c61563d87894ae42ab3f38b2ae3b56c5a131697cd51b80e7848b6d2222e2977cc30140fb9bd79282b57bcbb73016ed72e79d6517715036ec7e5db2
SHA512 (plexus-resources.tar.xz) = 8b7c55468661311b1faf1eee83d0c491986cfbe5aed38b9298362b82bb384cd583ea476b337dd6393c492c16f70192cd9a763d53920df64210ce9c22f4be635b
SHA512 (plexus-sec-dispatcher.tar.xz) = 4fa97396d72f6f7c43160c1f303bd4e5ada5bef4b912a7fdf75f5721e466c420c4415e0031d58fa060493ea2a1c1ee39800250d6f13a8b1fb19b10e729413764
SHA512 (plexus-utils.tar.xz) = ccf1d201f1d8682cab36764b9a8ce946a26013980d9df3087dbe8d8136bf7b9191029be6836108506ca9dc662e92cd8809835b7ff1c23c6ca2ab4901d67f8c93
SHA512 (qdox.tar.xz) = 922111989f6472c1bfdffe78d91ea8da94e704f122a6c3f9d5d87c22647c412b69f0ebbd4a737650163b14c7102aaddbd1164dfb364c6a92a3638ac5b6c9c264
SHA512 (servlet-api.tar.xz) = f1731aa67600034edeb10a60030cb22f650b036de71a8309dddd3fdfb475436512a35dbdb6f1b985fa31964b018cddad51c5909a9c6a2bcab025593ecce4c74b
SHA512 (sisu-build-api.tar.xz) = 6d1dc0cbfba6d78eb12f2e68c955c49a85ee5a07a696d83d31efe8eba8ccedb887036be280de0c805c0aeb6b8ff35ff4ceab5231ead8cc9d467fc27226e576d4
SHA512 (sisu-inject.tar.xz) = b0111b6c8e4103029c528a2bb169a4afd5bc58e52564cc34fbc006adb653abb265a92114bb2461ae6720e6787a5f60a32897781cbe0f54e070edb6520b145750
SHA512 (sisu-mojos.tar.xz) = 32a31bd01af618f04fdfc1f3e5aa850d4ac8f3f2b6ed4e1ad2f8bbf65b7e6a75f0aa91c4e3ec5a361b8b3f0d25120ddd5a5c17ef11ddb4ea31491784d66cdaf8
SHA512 (sisu-plexus.tar.xz) = 736896a5bb6230338341ebca1cbbc4d258faf5affac88d178252eed6173dada281299ecac9df03f133c3199eac7230c7a37d3f1902c6a164453b120015030c7b
SHA512 (slf4j.tar.xz) = 5071068364c08e65058f367fed61b8298e2e19aff6fcced4fb6cd170d7a71b4e24c25e7192745bb3759c35078fff37f7c196a758dc3faee11e696a43db3d553f
SHA512 (testng.tar.xz) = 3377c6a6f40740b0def5eca5b89e522d1a41e6e7c41cbb944baa524b838b203a6458a6dfa234f38b23e45a7de1e6a16ecf288f3d1271812700dc2d82303c63fd
SHA512 (univocity-parsers.tar.xz) = 8438aa3cca3895c74473419f075e824e73bc7752e7fa6b6f33fa5be38a09af60d3485bef031486281b6f91e9b6129381dc742e71b35cf127dc33084a4fc18b3b
SHA512 (velocity-engine.tar.xz) = 81f647534f4361fc8e7065282b1182b4f0c5009ef5b63a85c2c4668e2d0281689970df06f3f7566f77140e157dea674ecd2a120d48d75ab9c7de1cb35a2b7992
SHA512 (xbean.tar.xz) = 43c7ff1ad83c4b74990bb7e9b7d8f03f655ac15bb06f4833c1fb2dfabbfe7de61d664d4e5a6f7f34bb43f05d3641dd99ac46c3b25e7c568a67b7774fceba9d21
SHA512 (xmlunit.tar.xz) = 1b91bd589b5bfc595533ee140c29b4da02bb59b17720a9b8e029d0110669f947137fcbdee75e04aea9bd91952719fbd8303d98f679ab8a2296d79ceecb327500
SHA512 (xmvn.tar.xz) = 62c0a9ef0ad2bedfadbc6ec5846d7bb0f07f42dd8383163004f86278441db40bceef1840e1958270b048d74a18387f3397ae08143324640562ec374a1634508b
SHA512 (xz-java.tar.xz) = 287335c084b80a1fc7510f1dc8d1cc17a815f6ae40f70cca1b08112fe8ba48181a9da3c0bc9328adcece74b677fef1659461ce03082e87a01b8d753fc3ffe680

View File

@ -0,0 +1,5 @@
summary: javapackages-bootstrap smoke test
description: |
Test basic functionality of javapackages-bootstrap.
require:
- javapackages-bootstrap

64
tests/Sanity/smoke/runtest.sh Executable file
View File

@ -0,0 +1,64 @@
#!/bin/bash
# Author: Mikolaj Izdebski <mizdebsk@redhat.com>
. /usr/share/beakerlib/beakerlib.sh
rlJournalStart
PATH="/usr/libexec/javapackages-bootstrap:$PATH"
rlPhaseStartTest "check for presence of libexec binaries"
rlAssertRpm javapackages-bootstrap
rlAssertBinaryOrigin mvn javapackages-bootstrap
rlAssertBinaryOrigin xmvn javapackages-bootstrap
rlAssertBinaryOrigin xmvn-install javapackages-bootstrap
rlAssertBinaryOrigin xmvn-resolve javapackages-bootstrap
rlAssertBinaryOrigin xmvn-subst javapackages-bootstrap
rlAssertBinaryOrigin ant javapackages-bootstrap
rlAssertBinaryOrigin cup javapackages-bootstrap
rlAssertBinaryOrigin jflex javapackages-bootstrap
rlPhaseEnd
rlPhaseStartTest "display mvn version"
rlRun -s "mvn --version"
rlAssertGrep "Red Hat XMvn" $rlRun_LOG
rlAssertGrep "XMvn home: /usr/share/javapackages-bootstrap" $rlRun_LOG
rlPhaseEnd
rlPhaseStartTest "display xmvn version"
rlRun -s "xmvn --version"
rlAssertGrep "Red Hat XMvn" $rlRun_LOG
rlAssertGrep "XMvn home: /usr/share/javapackages-bootstrap" $rlRun_LOG
rlPhaseEnd
rlPhaseStartTest "display xmvn-install help"
rlRun -s "xmvn-install --help"
rlAssertGrep "Usage: xmvn-install" $rlRun_LOG
rlPhaseEnd
rlPhaseStartTest "display xmvn-resolve help"
rlRun -s "xmvn-resolve --help"
rlAssertGrep "Usage: xmvn-resolve" $rlRun_LOG
rlPhaseEnd
rlPhaseStartTest "display xmvn-subst help"
rlRun -s "xmvn-subst --help"
rlAssertGrep "Usage: xmvn-subst" $rlRun_LOG
rlPhaseEnd
rlPhaseStartTest "display ant version"
rlRun -s "ant -version"
rlAssertGrep "Apache Ant(TM) version" $rlRun_LOG
rlPhaseEnd
rlPhaseStartTest "display cup version"
rlRun -s "cup -version" 1
rlAssertGrep "CUP v" $rlRun_LOG
rlPhaseEnd
rlPhaseStartTest "display jflex version"
rlRun -s "jflex --version"
rlAssertGrep "This is JFlex" $rlRun_LOG
rlPhaseEnd
rlJournalEnd
rlJournalPrintText

4
tests/main.fmf Normal file
View File

@ -0,0 +1,4 @@
contact: Mikolaj Izdebski <mizdebsk@redhat.com>
framework: beakerlib
test: ./runtest.sh
tier: 0