Skip to content

Build of ohsome-planet-cli fails for release 1.2.0 #29

@CristianCantoro

Description

@CristianCantoro

Steps to reproduce

  1. Download the .tar.gz version of release 1.2.0 and untar it.

  2. Build

cd ohsome-planet-1.2.0
./mvnw clean package -DskipTests

Error log

(full log: build.log)

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for ohsome-planet 1.2.0:
[INFO] 
[INFO] ohsome-planet ...................................... SUCCESS [  0.506 s]
[INFO] osm-types .......................................... SUCCESS [  2.391 s]
[INFO] osm-pbf ............................................ SUCCESS [  1.458 s]
[INFO] ohsome-parquet ..................................... SUCCESS [  1.837 s]
[INFO] osm-changesets ..................................... SUCCESS [  1.713 s]
[INFO] osm-xml ............................................ SUCCESS [  0.360 s]
[INFO] ohsome-replication ................................. SUCCESS [  1.382 s]
[INFO] osm-geometry ....................................... SUCCESS [  0.821 s]
[INFO] ohsome-changesets .................................. SUCCESS [  1.754 s]
[INFO] ohsome-output ...................................... SUCCESS [  0.199 s]
[INFO] ohsome-contributions ............................... SUCCESS [  5.458 s]
[INFO] ohsome-output-minio ................................ SUCCESS [  0.307 s]
[INFO] ohsome-replication-update .......................... SUCCESS [  1.272 s]
[INFO] ohsome-planet-cli .................................. FAILURE [  0.345 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  20.091 s
[INFO] Finished at: 2026-01-28T12:39:30Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:buildnumber-maven-plugin:3.2.1:create (default) on project ohsome-planet-cli: Cannot get the revision information from the scm repository : 
[ERROR] Exception while executing SCM command.: The git log command failed: /bin/sh -c cd '/home/cristian.consonni/work/osm/ohsome-planet/releases/ohsome-planet-1.2.0/ohsome-planet-cli' && 'git' 'log' '-1' '--no-merges' '--format=format:%H %aI %aE %aN' returned fatal: not a git repository (or any of the parent directories): .git
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :ohsome-planet-cli

Java and system info

  • Java
$ java -version
openjdk version "21.0.9" 2025-10-21
OpenJDK Runtime Environment (build 21.0.9+10-Ubuntu-124.04)
OpenJDK 64-Bit Server VM (build 21.0.9+10-Ubuntu-124.04, mixed mode, sharing)
  • System
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:  Ubuntu 24.04.3 LTS
Release:  24.04
Codename: noble
$ uname -a
Linux [cut] 6.8.0-90-generic #91-Ubuntu SMP PREEMPT_DYNAMIC Tue Nov 18 14:14:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux

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