From 3f8685c047507ce85ee97be35cfcaf841448e8f7 Mon Sep 17 00:00:00 2001 From: Yuan Liao Date: Tue, 14 Mar 2023 09:16:58 -0700 Subject: newebuild: Add MAVEN_ID to dev-java ebuild template MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Michał Górny --- 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! 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 ='' -- cgit v1.2.3-65-gdbad