SORMAS-Foundation / SORMAS-Project

SORMAS (Surveillance, Outbreak Response Management and Analysis System) is an early warning and management system to fight the spread of infectious diseases.
https://sormas.org
GNU General Public License v3.0
293 stars 143 forks source link

Building sormas with "with-app" profile fails #13132

Closed obinna-h-n closed 3 months ago

obinna-h-n commented 3 months ago

Problem Description

When building sormas with the "with-app" profile using mvn install -Pwith-app, the build fails with an error.

Reproduction Steps

  1. run mvn install -Pwith-app from sormas-base
  2. the build fails with following error:
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for de.symeda.sormas:sormas-app:1.97.0-SNAPSHOT: The following artifacts could not be resolved: de.symeda.sormas:sormas-base:pom:1.97.0-SNAPSHOT (absent): Could not find artifact de.symeda.sormas:sormas-base:pom:1.97.0-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 3, column 10
 @ 
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]   
[ERROR]   The project de.symeda.sormas:sormas-app:1.97.0-SNAPSHOT (/home/jenkins/sormas-project/SORMAS-Project/sormas-app/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM for de.symeda.sormas:sormas-app:1.97.0-SNAPSHOT: The following artifacts could not be resolved: de.symeda.sormas:sormas-base:pom:1.97.0-SNAPSHOT (absent): Could not find artifact de.symeda.sormas:sormas-base:pom:1.97.0-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 3, column 10

Expected Behavior

Build of project including the android app is successful.

Affected Area(s)

Android app

SORMAS Version

1.98.0-SNAPSHOT

Android version/Browser

maven

User Role(s)

No Response

Server URL

No response

Additional Information

No response