You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Rok Mihevc (Jira)" <ji...@apache.org> on 2023/01/11 07:14:03 UTC
[jira] [Commented] (ARROW-1239) issue with current version of git-commit-id-plugin
[ https://issues.apache.org/jira/browse/ARROW-1239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17658272#comment-17658272 ]
Rok Mihevc commented on ARROW-1239:
-----------------------------------
This issue has been migrated to [issue #17091|https://github.com/apache/arrow/issues/17091] on GitHub. Please see the [migration documentation|https://github.com/apache/arrow/issues/14542] for further details.
> issue with current version of git-commit-id-plugin
> ---------------------------------------------------
>
> Key: ARROW-1239
> URL: https://issues.apache.org/jira/browse/ARROW-1239
> Project: Apache Arrow
> Issue Type: Bug
> Components: Java
> Environment: maven
> Reporter: Antony Mayi
> Assignee: Antony Mayi
> Priority: Major
> Fix For: 0.6.0
>
>
> Currently used version of the git-commit-id-plugin maven plugin (2.1.9) doesn't work with recent git structures. This is for majority of the users not manifested since Arrow has the java maven root in the project subdirectory ({{/java}}) instead of top level so this plugin normally doesn't kick in if maven is executed from the subdirectory (usual case - ie {{cd java; mvn install}} - works fine) as the plugin doesn't see the {{.git}} directory but it does kick in and fail if executed from the main arrow top level dir as {{mvn -f java/pom.xml install}} (where the {{.git}} sits):
> {quote}
> $ mvn -f java/pom.xml package
> ...
> [ERROR] Failed to execute goal pl.project13.maven:git-commit-id-plugin:2.1.9:revision (for-jars) on project arrow-java-root: Execution for-jars of goal pl.project13.maven:git-commit-id-plugin:2.1.9:revision failed: Bare Repository has neither a working tree, nor an index -> [Help 1]
> {quote}
> Simple fix is upgrading the plugin to recent version (the minimal working version appears to be 2.1.13).
> This is required for seamless integration with Jenkins (ARROW-1234).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)