commit: 3f8685c047507ce85ee97be35cfcaf841448e8f7
Author: Yuan Liao <liaoyuan <AT> gmail <DOT> com>
AuthorDate: Tue Mar 14 16:16:58 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Mar 14 17:39:47 2023 +0000
URL: https://gitweb.gentoo.org/proj/gentoo-syntax.git/commit/?id=3f8685c0
newebuild: Add MAVEN_ID to dev-java ebuild template
Java ebuilds in Gentoo often contain a MAVEN_ID variable. Although no
eclasses use this variable yet, some Java ebuild tools, like
java-ebuilder, recognize this variable and use its value to establish an
ebuild-to-Maven artifact mapping. Human maintainers may also use 'grep'
to search for an ebuild with a certain MAVEN_ID for finding out if an
ebuild for a certain Maven artifact already exists.
The MAVEN_ID variable in the dev-java ebuild template acts as a reminder
for Java ebuild authors to record the Maven artifact for the ebuild they
create when applicable.
Signed-off-by: Yuan Liao <liaoyuan <AT> gmail.com>
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
plugin/newebuild.vim | 1 +
1 file changed, 1 insertion(+)
diff --git a/plugin/newebuild.vim b/plugin/newebuild.vim
index cd3f44f..e5a54e4 100644
--- a/plugin/newebuild.vim
+++ b/plugin/newebuild.vim
@@ -122,6 +122,7 @@ fun! <SID>MakeNewEbuild()
elseif l:category ==# "dev-java"
" {{{ dev-java generation-2 default java-pkg-simple ebuild
put ='JAVA_PKG_IUSE=\"doc source\"'
+ put ='MAVEN_ID=\"\"'
put =''
put ='inherit java-pkg-2 java-pkg-simple'
put =''