← Back to team overview

dhis2-users team mailing list archive

Step by step process of building dependencies and making them available in a local maven repo

 

Dear Team,

I get the error below whenever, I try to built my system previously done on
DHIS2 Version 2.12. I am aware some of these repos are old and are nolonger
supported so I want to build them locally. I have tried downloading some of
these compile dependencies but still its not able to built.

Any idea of how to go about it step wise would be highly appreciated.


[ERROR] Failed to execute goal on project dhis-api: Could not resolve
dependencies for project org.hisp.dhis:dhis-api:jar:2.12: Failed to collect
dependencies for [junit:junit:jar:4.11 (compile),
commons-lang:commons-lang:jar:2.6 (compile), commons-io:commons-io:jar:2.4
(compile), commons-collections:commons-collections:jar:3.2.1 (compile),
jfree:jfreechart:jar:1.0.13 (compile),
net.sf.jasperreports:jasperreports:jar:4.7.1 (compile),
net.sf.jasperreports:jasperreports-fonts:jar:4.0.0 (compile),
com.fasterxml.jackson.core:jackson-core:jar:2.0.6 (compile),
com.fasterxml.jackson.core:jackson-annotations:jar:2.0.6 (compile),
com.fasterxml.jackson.dataformat:jackson-dataformat-xml:jar:2.0.6
(compile), org.smslib:smslib:jar:3.5.3 (compile),
org.springframework:spring-jdbc:jar:3.2.2.RELEASE (compile)]: Failed to
read artifact descriptor for org.smslib:smslib:jar:3.5.3: Could not
transfer artifact org.smslib:smslib:pom:3.5.3 from/to amplecode_maven2_repo
(http://maven.dhis2.org/amplecode-local): maven.dhis2.org: unknown error:
Unknown host maven.dhis2.org: unknown error -> [Help 1]

Collins

Follow ups