Bug 1980981

Summary: jmc-core: FTBFS due to junit:junit:jar:4.12 Maven dependency
Product: Red Hat Enterprise Linux 9 Reporter: Florian Weimer <fweimer>
Component: jmc-coreAssignee: Joshua Matsuoka <jmatsuok>
Status: CLOSED COMPLETED QA Contact: OpenJDK QA <java-qa>
Severity: low Docs Contact: Jacob Taylor Valdez <jvaldez>
Priority: medium    
Version: CentOS StreamCC: almacdon, bstinson, gfialova, jmatsuok, jvaldez, jvanek, jwboyer, rlemosor, sfroberg, tis
Target Milestone: betaKeywords: TechPreview, Triaged
Target Release: ---Flags: almacdon: needinfo+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Technology Preview
Doc Text:
.`jmc-core` and `owasp-java-encoder` available as a Technology Preview RHEL 9 is distributed with the `jmc-core` and `owasp-java-encoder` packages as Technology Preview features for the AMD and Intel 64-bit architectures. `jmc-core` is a library providing core APIs for Java Development Kit (JDK) Mission Control, including libraries for parsing and writing JDK Flight Recording files, and libraries for Java Virtual Machine (JVM) discovery through Java Discovery Protocol (JDP). The `owasp-java-encoder` package provides a collection of high-performance low-overhead contextual encoders for Java. Note that since RHEL 9.2, `jmc-core` and `owasp-java-encoder` are available in the CodeReady Linux Builder (CRB) repository, which you must explicitly enable. See link:https://access.redhat.com/articles/4348511[How to enable and make use of content within CodeReady Linux Builder] for more information.
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-04-11 07:28:12 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1975099    
Attachments:
Description Flags
build.log none

Description Florian Weimer 2021-07-10 10:12:56 UTC
A rebuild of jmc-core-7.1.1-5.el9.2 fails with junit-related issues:

[WARNING] The POM for junit:junit:jar:4.12 is missing, no dependency information available
[…]
[ERROR] Failed to execute goal on project common.test: Could not resolve dependencies for project org.openjdk.jmc:common.test:jar:7.1.1: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact junit:junit:jar:4.12 has not been downloaded from it before. -> [Help 1]

Comment 1 Florian Weimer 2021-07-29 19:11:39 UTC
Created attachment 1809087 [details]
build.log

Comment 10 Tuomo Soini 2022-06-22 10:00:44 UTC
Adding missing build requirement fixes both packages.

BuildRequires:  mvn(junit:junit)

Comment 37 RHEL Program Management 2023-04-11 07:28:12 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.

Comment 40 Red Hat Bugzilla 2024-05-04 04:25:02 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days