Hey community, i’ve been trying to set up OpenElis from source code. When attempting to run
mvn clean install -DskipTests
on the dataexport module I get this:
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Data Export [pom]
[INFO] Data Export Core [jar]
[INFO] Data Export API [jar]
[INFO]
[INFO] ------------------------< org.itech:dataexport >------------------------
[INFO] Building Data Export 0.0.0.9 [1/3]
[INFO] from pom.xml
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- clean:3.2.0:clean (default-clean) @ dataexport ---
[INFO]
[INFO] --- install:3.1.1:install (default-install) @ dataexport ---
[INFO] Installing C:\Users\osman\OpenELIS-Global-2\dataexport\pom.xml to C:\Users\osman\.m2\repository\org\itech\dataexport\0.0.0.9\dataexport-0.0.0.9.pom
[INFO]
[INFO] ---------------------< org.itech:dataexport-core >----------------------
[INFO] Building Data Export Core 0.0.0.9 [2/3]
[INFO] from dataexport-core\pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- clean:3.2.0:clean (default-clean) @ dataexport-core ---
[INFO] Deleting C:\Users\osman\OpenELIS-Global-2\dataexport\dataexport-core\target
[INFO]
[INFO] --- resources:3.3.1:resources (default-resources) @ dataexport-core ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory C:\Users\osman\OpenELIS-Global-2\dataexport\dataexport-core\src\main\resources
[INFO]
[INFO] --- compiler:3.8.0:compile (default-compile) @ dataexport-core ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 12 source files to C:\Users\osman\OpenELIS-Global-2\dataexport\dataexport-core\target\classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /C:/Users/osman/OpenELIS-Global-2/dataexport/dataexport-core/src/main/java/org/itech/fhir/dataexport/core/service/impl/DataExportTaskServiceImpl.java:[42,124] cannot find symbol
symbol: method getId()
location: variable dataExportTask of type org.itech.fhir.dataexport.core.model.DataExportTask
[ERROR] /C:/Users/osman/OpenELIS-Global-2/dataexport/dataexport-core/src/main/java/org/itech/fhir/dataexport/core/service/impl/DataExportTaskServiceImpl.java:[46,52] cannot find symbol
symbol: method getStartTime()
location: variable latestAttempt of type org.itech.fhir.dataexport.core.model.DataExportAttempt
[ERROR] /C:/Users/osman/OpenELIS-Global-2/dataexport/dataexport-core/src/main/java/org/itech/fhir/dataexport/core/service/impl/DataExportTaskServiceImpl.java:[48,17] cannot find symbol
symbol: variable log
location: class org.itech.fhir.dataexport.core.service.impl.DataExportTaskServiceImpl
[ERROR] /C:/Users/osman/OpenELIS-Global-2/dataexport/dataexport-core/src/main/java/org/itech/fhir/dataexport/core/service/impl/DataExportTaskServiceImpl.java:[57,115] cannot find symbol
symbol: method getId()
location: variable dataExportTask of type org.itech.fhir.dataexport.core.model.DataExportTask
[ERROR] /C:/Users/osman/OpenELIS-Global-2/dataexport/dataexport-core/src/main/java/org/itech/fhir/dataexport/core/service/impl/DataExportTaskServiceImpl.java:[60,52] cannot find symbol
symbol: method getStartTime()
location: variable latestAttempt of type org.itech.fhir.dataexport.core.model.DataExportAttempt
[ERROR] /C:/Users/osman/OpenELIS-Global-2/dataexport/dataexport-core/src/main/java/org/itech/fhir/dataexport/core/service/impl/DataExportTaskServiceImpl.java:[62,17] cannot find symbol
symbol: variable log
location: class org.itech.fhir.dataexport.core.service.impl.DataExportTaskServiceImpl
[INFO] 6 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Data Export 0.0.0.9:
[INFO]
[INFO] Data Export ........................................ SUCCESS [ 0.246 s]
[INFO] Data Export Core ................................... FAILURE [ 1.844 s]
[INFO] Data Export API .................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.185 s
[INFO] Finished at: 2025-03-25T16:15:08-05:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project dataexport-core: Compilation failure: Compilation failure:
[ERROR] /C:/Users/osman/OpenELIS-Global-2/dataexport/dataexport-core/src/main/java/org/itech/fhir/dataexport/core/service/impl/DataExportTaskServiceImpl.java:[42,124] cannot find symbol
[ERROR] symbol: method getId()
[ERROR] location: variable dataExportTask of type org.itech.fhir.dataexport.core.model.DataExportTask
[ERROR] /C:/Users/osman/OpenELIS-Global-2/dataexport/dataexport-core/src/main/java/org/itech/fhir/dataexport/core/service/impl/DataExportTaskServiceImpl.java:[46,52] cannot find symbol
it seems like my dataexport module points to the most recent remote repository version:
PS C:\Users\osman\OpenELIS-Global-2\dataexport> git branch -vv
* (HEAD detached at fad9327) fad9327 update spring data