Hii,
I just take the clone of DHIS2 -Core from GitHub by git clone GitHub - dhis2/dhis2-core: DHIS 2 Core. Written in Java. Contains the service layer and Web API. and now I want to build and run this on my system locally by docker so I just run the below command.
docker build --tag dhis2 .
build failed and get the below message
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for DHIS 2 2.35-SNAPSHOT:
[INFO]
[INFO] DHIS 2 … SUCCESS [01:41 min]
[INFO] DHIS API … FAILURE [05:35 min]
[INFO] DHIS Support Parent Project … SUCCESS [ 3.502 s]
[INFO] DHIS Support Commons … SKIPPED
[INFO] DHIS External Support … SKIPPED
[INFO] DHIS Database Migration Support … SKIPPED
[INFO] DHIS Hibernate Support … SKIPPED
[INFO] DHIS Test Support … SKIPPED
[INFO] DHIS System Support … SKIPPED
[INFO] DHIS Services Parent Project … SKIPPED
[INFO] DHIS Schema service … SKIPPED
[INFO] DHIS Settings service … SKIPPED
[INFO] DHIS ACL service … SKIPPED
[INFO] DHIS Node service … SKIPPED
[INFO] DHIS Artemis AMQP/JMS Support … SKIPPED
[INFO] DHIS Audit Support … SKIPPED
[INFO] DHIS Audit consumer service … SKIPPED
[INFO] DHIS JDBC Service … SKIPPED
[INFO] DHIS Expression Parser Support … SKIPPED
[INFO] DHIS Core API Implementations … SKIPPED
[INFO] DHIS Validation Service … SKIPPED
[INFO] DHIS Program Rule Service … SKIPPED
[INFO] DHIS Mobile Service … SKIPPED
[INFO] DHIS Administration Service … SKIPPED
[INFO] DHIS DXF 2 Data Exchange … SKIPPED
[INFO] DHIS Analytics … SKIPPED
[INFO] DHIS Reporting Service … SKIPPED
[INFO] DHIS Tracker services … SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 07:18 min (Wall Clock)
[INFO] Finished at: 2020-04-14T11:03:08Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project dhis-api: Could not resolve dependencies for project org.hisp.dhis:dhis-api:jar:2.35-SNAPSHOT: The following artifacts could not be resolved: org.geotools:gt-opengis:jar:18.0, org.geotools:gt-geojson:jar:18.0: Could not find artifact org.geotools:gt-opengis:jar:18.0 in MavenCentral (Central Repository:)
I tried to set the opengis jarfile manually but still the issue is not resolved. Please help me to set-up build and run the dhis2 project successfully , so that I can run it on my own server.
Thanks