diff options
author | Yuan Liao <liaoyuan@gmail.com> | 2023-03-14 09:16:58 -0700 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-03-14 18:39:47 +0100 |
commit | 3f8685c047507ce85ee97be35cfcaf841448e8f7 (patch) | |
tree | be7b6d6d421fba81aa96606eeb1ff4d788ef97b0 | |
parent | Drop support for Gentoo style ChaneLogs (diff) | |
download | gentoo-syntax-3f8685c047507ce85ee97be35cfcaf841448e8f7.tar.gz gentoo-syntax-3f8685c047507ce85ee97be35cfcaf841448e8f7.tar.bz2 gentoo-syntax-3f8685c047507ce85ee97be35cfcaf841448e8f7.zip |
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@gmail.com>
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r-- | plugin/newebuild.vim | 1 |
1 files changed, 1 insertions, 0 deletions
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 ='' |