Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 175054 - java-maven-2.eclass
Summary: java-maven-2.eclass
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Java team
URL: http://maven.apache.org
Whiteboard:
Keywords: InOverlay
Depends on:
Blocks: 175034
  Show dependency tree
 
Reported: 2007-04-18 09:57 UTC by kiorky
Modified: 2024-01-06 22:16 UTC (History)
4 users (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 kiorky 2007-04-18 09:57:37 UTC
Use to simplify maven based ebuilds writing (java).

Added to java-experimental overlay.
Comment 1 Christian Heim (RETIRED) gentoo-dev 2007-04-18 10:08:15 UTC
Since maven is m-wanted, reassigning this too.
Comment 2 Andreas Sturmlechner gentoo-dev 2011-03-13 14:06:49 UTC
Hmm. Been a long time this was reported, but I'll add a comment anyway. ^^

There's an issue with the eclass caused by "source?" used in it without been defined as IUSE. Or else the ebuilds were not prepared for it.



!!! All ebuilds that could satisfy "dev-java/maven-base-poms" have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-java/maven-base-poms-2.1::java-overlay (masked by: invalid: DEPEND: USE flag 'source' referenced in conditional 'source?' is not in IUSE)

(dependency required by "dev-java/maven-2.1-r2" [ebuild])
(dependency required by "maven" [argument])
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
Comment 3 Dirk Tilger 2011-04-14 11:48:25 UTC
The problem from comment 2 is here:

DEPEND="source? ( app-arch/zip )
        ${JAVA_MAVEN_COMMON_DEPS}"

I've seen later down the eclass constructs like:
if hasq source ${IUSE} && use source; then

I'm not sure if that can be done or is acceptable in an eclass as well. If it doesn't, all these maven ebuilds would need to be modified to put source in their IUSE.