Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 903667 - dev-java/junit-5.9.2 does not define MAVEN_PROVIDES
Summary: dev-java/junit-5.9.2 does not define MAVEN_PROVIDES
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on: 903666
Blocks:
  Show dependency tree
 
Reported: 2023-04-01 17:21 UTC by Yuan Liao (Leo3418)
Modified: 2023-04-01 17:21 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yuan Liao (Leo3418) 2023-04-01 17:21:17 UTC
dev-java/junit-5.9.2 should list the Maven artifacts it installs in the MAVEN_PROVIDES variable inside the ebuild.

However, the MAVEN_PROVIDES value for this ebuild requires extra attention because the ebuild has these special properties:

- The ebuild conditionally installs some artifacts depending on the USE flags.  For example, org.junit.vintage:junit-vintage-engine:5.9.2 is installed if and only if USE="vintage" is set.  When the said USE flag is disabled, the files installed by the ebuild no longer provide org.junit.vintage:junit-vintage-engine:5.9.2.

- The ebuild installs files for at least 8 Maven artifacts; even more artifacts will be installed when more USE flags are enabled.  Thus, the value of MAVEN_PROVIDES will contain at least 8 artifact coordinates and thus be too long, unless multi-line MAVEN_PROVIDES values are supported (https://bugs.gentoo.org/903666).