← Back to team overview

dhis2-devs team mailing list archive

Build Failure at dhis-2

 

*Hi*
*Recently, I check out the code of dhis 2.3 release version. but when I
build in dhis-2 folder, it always say that build failure. I copied the
message here. Please someone tell me how to solve this problem. I also just
installed new operating system too, so I don't know whether it is because of
dhis or because of missing installation*



*[INFO] 5 errors
[INFO] -------------------------------------------------------------
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] DHIS 2 ............................................ SUCCESS [0.343s]
[INFO] DHIS API .......................................... FAILURE [1.170s]
[INFO] DHIS Support Parent Project ....................... SKIPPED
[INFO] DHIS Test Support ................................. SKIPPED
[INFO] DHIS External Support ............................. SKIPPED
[INFO] DHIS Hibernate Support ............................ SKIPPED
[INFO] DHIS System Support ............................... SKIPPED
[INFO] DHIS JDBC Service ................................. SKIPPED
[INFO] DHIS XML framework services ....................... SKIPPED
[INFO] DHIS Services Parent Project ...................... SKIPPED
[INFO] DHIS Core API Implementations ..................... SKIPPED
[INFO] DHIS I18n Static .................................. SKIPPED
[INFO] DHIS Options ...................................... SKIPPED
[INFO] DHIS Administration Service ....................... SKIPPED
[INFO] DHIS DataMart Service - Default ................... SKIPPED
[INFO] DHIS Aggregation Service - Default ................ SKIPPED
[INFO] DHIS OrganisationUnit API Implementations ......... SKIPPED
[INFO] DHIS Reporting Service ............................ SKIPPED
[INFO] DHIS Import-Export Service ........................ SKIPPED
[INFO] DHIS Patient API Implementations .................. SKIPPED
[INFO] DHIS JDBC / External Test Project ................. SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1.903s
[INFO] Finished at: Fri Jul 22 09:03:32 IST 2011
[INFO] Final Memory: 5M/15M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.
3.2:compile (default-compile) on project dhis-api: Compilation failure:
Compilat
ion failure:
[ERROR] error: error reading C:\Users\Gau
Gau\.m2\repository\junit\junit\4.8.1\j
unit-4.8.1.jar; error in opening zip file
[ERROR] error: error reading C:\Users\Gau
Gau\.m2\repository\commons-lang\common
s-lang\2.6\commons-lang-2.6.jar; error in opening zip file
[ERROR] error: error reading C:\Users\Gau
Gau\.m2\repository\commons-collections
\commons-collections\3.2\commons-collections-3.2.jar; error in opening zip
file
[ERROR] error: error reading C:\Users\Gau
Gau\.m2\repository\jfree\jfreechart\1.
0.13\jfreechart-1.0.13.jar; error in opening zip file
[ERROR] error: error reading C:\Users\Gau
Gau\.m2\repository\net\sf\jasperreport
s\jasperreports\4.0.1\jasperreports-4.0.1.jar; error in opening zip file
[ERROR] -> [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/MojoFailureExc
eption
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command*
*[ERROR]   mvn <goals> -rf :dhis-api
D:\Work\DHIS\Source Code\dhis2.3\2.3\dhis-2>*
* *

*Thủy*
*
*

Follow ups