Skip to content

Evaluate use of git-commit-id-plugin and make compatible with shallow clones or archives #82

@wetneb

Description

@wetneb

The use of the git-commit-id-plugin requires that Maven builds are triggered from a full clone of the repository. This makes the CI slightly more wasteful (since it has to fetch the entire repository instead of the commit being built). It also indicates that if someones downloads an archive of the source code from GitHub and tries to build it locally, it will probably also fail (because of the lack of a .git subdirectory).
The git-commit-id-plugin can be configured to be skipped if the information is not available, which is probably the right thing to do here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions