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]
the maven repository: http://maven.dhis2.org/ isn’t available. Is there a particular reason why you want to build version 2.12 and not a later version?
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]
Hi Michael,
This system was originally done version 2.12 but customized so much that i may not have time to upgrade to the latest version and fix the issue.
I thought building the local repos would help me fix the issue at hand as i arrange to fix the upgrade at a later date.
the maven repository: http://maven.dhis2.org/ isn’t available. Is there a particular reason why you want to build version 2.12 and not a later version?
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]
I think this might be related to smslib dependency… what I would do if I was you, is to checkout a later release (2.16-17 maybe) and check the pom.xml file, and see if there was any changed to the repos, probably you can easily change that old repo to something new.
Hi Michael,
This system was originally done version 2.12 but customized so much that i may not have time to upgrade to the latest version and fix the issue.
I thought building the local repos would help me fix the issue at hand as i arrange to fix the upgrade at a later date.
the maven repository: http://maven.dhis2.org/ isn’t available. Is there a particular reason why you want to build version 2.12 and not a later version?
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]