Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Cannot save config file 'FileBasedConfig[H:\.config\jgit\config]' #566

Open
Labels
@bernardpaulus

Description

Describe the bug

During maven build, we observe the following error message from git-commit-id-maven-plugin 4.0.5:

Cannot save config file 'FileBasedConfig[H:\.config\jgit\config]'

The H: drive is a network drive where our home dir is set

Steps to Reproduce

  • mvn -version
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: C:\Users\<redacted>\tools\maven3円.6.3
Java version: 1.8.0_201, vendor: Oracle Corporation, runtime: C:\Program Files\Java\JDK8\jre
Default locale: en_GB, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
  • Plugin config:
 <plugin>
 <groupId>pl.project13.maven</groupId>
 <artifactId>git-commit-id-plugin</artifactId>
 <version>4.0.5</version>
 <configuration>
 <failOnNoGitDirectory>false</failOnNoGitDirectory>
 <offline>true</offline>
 </configuration>
 </plugin>
  • no public build
  • Observed error:
 Cannot save config file 'FileBasedConfig[H:\.config\jgit\config]'

This error doesn not prevents the maven build from being executed with success. However, intelliJ Community 2019.3 spots it as an error:
image

Expected behavior

  • no error message printed

Additional context

This might be similar to https://www.eclipse.org/forums/index.php/t/1103395/

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /