Build error

[INFO] Failed to resolve artifact.

Missing:

···
  1. org.hisp.dhis:dhis-service-aggregationengine-default:jar:2.0.3-SNAPSHOT

Try downloading the file manually from the project website.

Then, install it using the command:

mvn install:install-file -DgroupId=org.hisp.dhis -DartifactId=dhis-service

-aggregationengine-default -Dversion=2.0.3-SNAPSHOT -Dpackaging=jar -Dfile=/path

/to/file

Alternatively, if you host your own repository you can deploy the file there:

mvn deploy:deploy-file -DgroupId=org.hisp.dhis -DartifactId=dhis-service-a

ggregationengine-default -Dversion=2.0.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/t

o/file -Durl=[url] -DrepositoryId=[id]

Path to dependency:

  1. org.hisp.dhis:dhis-web-excel-reporting:war:2.0.3-SNAPSHOT

  2. org.hisp.dhis:dhis-service-aggregationengine-default:jar:2.0.3-SNAPSH

OT


1 required artifact is missing.

for artifact:

org.hisp.dhis:dhis-web-excel-reporting:war:2.0.3-SNAPSHOT

from the specified remote repositories:

central (http://repo1.maven.org/maven2)


Cheers,
Knut Staring

Ok Tri, but such changes need to be very clearly communicated and discussed on the list, and documented, not discovered by each person trying to build.

···

---------- Forwarded message ----------
From: Trí Trần Thanh tranthanhtri84@gmail.com

Hi Knut,
In Excel Reporting module, i used dhis-service-aggregationengine-default to get aggregated datavalue, this module is in local/vn folder , please build it first.