Summary: | dev-java/*: Add support for Maven/Gradle build systems | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Kaibo Ma <kaiboma06> |
Component: | Current packages | Assignee: | Java team <java> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | ajak, flow, gentoo, jstein |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://github.com/gradle/gradle/issues/16600 | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=688542 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Kaibo Ma
2021-03-14 13:46:10 UTC
Maven was once built from source, but was removed before the git history starts (in 2015!). chewi@g.o says that it's unlikely that it's going to happen again https://bugs.gentoo.org/175034#c2. A good step would be getting some of the eclasses from java-overlay, but that bug (https://bugs.gentoo.org/175054) has been open for a long time. This entire endeavour would probably be on the scale of slotted lua, but would definitely be worth it in my opinion. Also, gentoo-dev@l.g.o would probably be the best place to ask for comments on this kind of thing. I have posted to the mailing list with one more point added: 3. ERRATA The local maven repository would not be a good fit since it is on a per-user basis (~/.m2). The correct way would be to define a path for installing (such as /usr/share/.m2), and pass that to build tools as a URL (file:///usr/share/.m2). Maven Java overlay (GSoC) https://wiki.gentoo.org/wiki/Google_Summer_of_Code/2019/Ideas/Maven_Java_overlay maven support (GSoC) https://wiki.gentoo.org/wiki/Google_Summer_of_Code/2019/Ideas/maven_support After looking at the current packages that uses gradle, it looks like most plugins use a plugin with id 'com.gradle.plugin-publish' to publish to a maven repository. This plugin is not open source: https://github.com/gradle/gradle/issues/15992 says "Plugin sources: internal repo", which means most gradle projects would depend upon this non-free plugin that was used to publish other plugins that this project would use. This would be a major problem if gentoo were to call gradle for building. Please collect knowledge in the wiki pages and discuss on the mailinglist, IRC and other discussion platforms. The bug tracker is not for discussion or brainstorming. Please use also https://wiki.gentoo.org/wiki/Gradle https://wiki.gentoo.org/wiki/Maven Closing here, because this is technically no bug report. We can not do anything here. |