This is because dhis-service-patient depends on dhis-service-sms which has been removed.
Turns out there were many other modules apparently depending on dhis-service-sms. I have commented out this dependency in their respective poms so now the build is ok. Note I haven'y checked what may have broken in the functionality as a result. Just got the build working again. Note also that there seems to be some modules with a great many unnecessary dependencies listed in pom files. On 17 November 2012 14:53, RAHUL <[email protected]> wrote: > Hi , > I am getting following error when i am doing *mvn install* in > */dhis-2*directory > > [INFO] DHIS 2 ............................................ SUCCESS [3.389s] > [INFO] DHIS API .......................................... SUCCESS [6.212s] > [INFO] DHIS Support Parent Project ....................... SUCCESS [0.893s] > [INFO] DHIS Test Support ................................. SUCCESS [2.970s] > [INFO] DHIS External Support ............................. SUCCESS [2.856s] > [INFO] DHIS Hibernate Support ............................ SUCCESS [2.638s] > [INFO] DHIS XML framework services ....................... SUCCESS [6.401s] > [INFO] DHIS System Support ............................... SUCCESS > [10.765s] > [INFO] DHIS JDBC Service ................................. SUCCESS [2.938s] > [INFO] DHIS Services Parent Project ...................... SUCCESS [1.266s] > [INFO] DHIS Core API Implementations ..................... SUCCESS > [1:03.939s] > [INFO] DHIS I18n Static .................................. SUCCESS [2.499s] > [INFO] DHIS Administration Service ....................... SUCCESS > [35.185s] > [INFO] DHIS DataMart Service - Default ................... SUCCESS > [33.890s] > [INFO] DHIS Data Exchange ................................ SUCCESS > [26.622s] > [INFO] DHIS Reporting Service ............................ SUCCESS > [42.590s] > [INFO] DHIS Import-Export Service ........................ SUCCESS > [52.934s] > [INFO] DHIS Aggregation Service - Default ................ SUCCESS > [21.791s] > [INFO] DHIS Map Generation Service ....................... SUCCESS > [27.322s] > [INFO] DHIS Patient API Implementations .................. FAILURE [1.310s] > [INFO] DHIS Mobile Service ............................... SKIPPED > [INFO] DHIS Integration Service .......................... SKIPPED > [INFO] DHIS JDBC / External Test Project ................. SKIPPED > > > [INFO] Scanning for projects... > [INFO] > ------------------------------------------------------------------------ > [INFO] Reactor Build Order: > [INFO] > [INFO] DHIS Patient API Implementations > [INFO] DHIS Mobile Service > [INFO] DHIS Integration Service > [INFO] DHIS JDBC / External Test Project > [INFO] > [INFO] > ------------------------------------------------------------------------ > [INFO] Building DHIS Patient API Implementations 2.11-SNAPSHOT > [INFO] > ------------------------------------------------------------------------ > Downloading: > http://maven.dhis2.org/amplecode-local/org/hisp/dhis/dhis-service-s > ms/2.11-SNAPSHOT/maven-metadata.xml > [WARNING] Could not transfer metadata > org.hisp.dhis:dhis-service-sms:2.11-SNAPSH > OT/maven-metadata.xml from/to amplecode_maven2_repo ( > http://maven.dhis2.org/ampl > ecode-local): Failed to transfer file: > http://maven.dhis2.org/amplecode-local/or > g/hisp/dhis/dhis-service-sms/2.11-SNAPSHOT/maven-metadata.xml. Return code > is: 5 > 02, ReasonPhrase:Bad Gateway. > [WARNING] Failure to transfer > org.hisp.dhis:dhis-service-sms:2.11-SNAPSHOT/maven > -metadata.xml from http://maven.dhis2.org/amplecode-local was cached in > the loca > l repository, resolution will not be reattempted until the update interval > of am > plecode_maven2_repo has elapsed or updates are forced. Original error: > Could not > transfer metadata > org.hisp.dhis:dhis-service-sms:2.11-SNAPSHOT/maven-metadata.x > ml from/to amplecode_maven2_repo (http://maven.dhis2.org/amplecode-local): > Faile > d to transfer file: > http://maven.dhis2.org/amplecode-local/org/hisp/dhis/dhis-se > rvice-sms/2.11-SNAPSHOT/maven-metadata.xml. Return code is: 502, > ReasonPhrase:Ba > d Gateway. > Downloading: > http://maven.dhis2.org/amplecode-local/org/hisp/dhis/dhis-service-s > ms/2.11-SNAPSHOT/dhis-service-sms-2.11-SNAPSHOT.pom > [INFO] > ------------------------------------------------------------------------ > [INFO] Reactor Summary: > [INFO] > [INFO] DHIS Patient API Implementations .................. FAILURE [3.258s] > [INFO] DHIS Mobile Service ............................... SKIPPED > [INFO] DHIS Integration Service .......................... SKIPPED > [INFO] DHIS JDBC / External Test Project ................. SKIPPED > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 4.601s > [INFO] Finished at: Sun Nov 18 01:13:04 IST 2012 > [INFO] Final Memory: 11M/110M > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal on project dhis-service-patient: Could not > resolv > e dependencies for project > org.hisp.dhis:dhis-service-patient:jar:2.11-SNAPSHOT: > Failed to collect dependencies for > [org.hisp.dhis:dhis-api:jar:2.11-SNAPSHOT (c > ompile), org.hisp.dhis:dhis-service-core:jar:2.11-SNAPSHOT (compile), > org.hisp.d > his:dhis-service-sms:jar:2.11-SNAPSHOT (compile), > org.hisp.dhis:dhis-support-tes > t:jar:2.11-SNAPSHOT (test)]: Failed to read artifact descriptor for > org.hisp.dhi > s:dhis-service-sms:jar:2.11-SNAPSHOT: Could not transfer artifact > org.hisp.dhis: > dhis-service-sms:pom:2.11-SNAPSHOT from/to amplecode_maven2_repo ( > http://maven.d > his2.org/amplecode-local): Failed to transfer file: > http://maven.dhis2.org/ample > > code-local/org/hisp/dhis/dhis-service-sms/2.11-SNAPSHOT/dhis-service-sms-2.11-SN > APSHOT.pom. Return code is: 502, ReasonPhrase:Bad Gateway. -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the > -e swit > ch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, > please rea > d the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/DependencyReso > lutionException > > --Thanks > Rahul Akula > > _______________________________________________ > Mailing list: https://launchpad.net/~dhis2-devs > Post to : [email protected] > Unsubscribe : https://launchpad.net/~dhis2-devs > More help : https://help.launchpad.net/ListHelp > >
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-devs Post to : [email protected] Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp

