← Back to team overview

dhis2-devs team mailing list archive

Dhis2 Build Failure In Main Trunk.

 

Hello Devs,

Build failure is coming on fresh checkout of dhis2 main trunk...

[INFO]
------------------------------------------------------------------------
[INFO] Building DHIS API 2.11-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ dhis-api ---
[INFO] Deleting D:\src\dhis2\dhis-2\dhis-api\target
[INFO]
[INFO] --- maven-antrun-plugin:1.7:run (default) @ dhis-api ---
[INFO] Executing tasks

main:
    [mkdir] Created dir: D:\src\dhis2\dhis-2\dhis-api\target\classes
[INFO] Executed tasks
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @
dhis-api ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ dhis-api
---
[INFO] Compiling 405 source files to
D:\src\dhis2\dhis-2\dhis-api\target\classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR]
\src\dhis2\dhis-2\dhis-api\src\main\java\org\hisp\dhis\organisationunit\comparator\OrganisationUnitByLevelComparator.java:[43,22]
cannot find symbol
symbol  : method compare(int,int)
location: class java.lang.Integer
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] DHIS 2 ............................................ SUCCESS [5.188s]
[INFO] DHIS API .......................................... FAILURE [11.928s]
[INFO] DHIS Support Parent Project ....................... SKIPPED
[INFO] DHIS Test Support ................................. SKIPPED
[INFO] DHIS External Support ............................. SKIPPED
[INFO] DHIS Hibernate Support ............................ SKIPPED
[INFO] DHIS XML framework services ....................... SKIPPED
[INFO] DHIS System Support ............................... SKIPPED
[INFO] DHIS JDBC Service ................................. SKIPPED
[INFO] DHIS Services Parent Project ...................... SKIPPED
[INFO] DHIS Core API Implementations ..................... SKIPPED
[INFO] DHIS I18n Static .................................. SKIPPED
[INFO] DHIS Administration Service ....................... SKIPPED
[INFO] DHIS DataMart Service - Default ................... SKIPPED
[INFO] DHIS Data Exchange ................................ SKIPPED
[INFO] DHIS Reporting Service ............................ SKIPPED
[INFO] DHIS Import-Export Service ........................ SKIPPED
[INFO] DHIS Aggregation Service - Default ................ SKIPPED
[INFO] DHIS Map Generation Service ....................... SKIPPED
[INFO] DHIS Analytics .................................... SKIPPED
[INFO] DHIS SMS Service .................................. SKIPPED
[INFO] DHIS Patient API Implementations .................. SKIPPED
[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: 19.165s
[INFO] Finished at: Fri Dec 14 13:49:48 IST 2012
[INFO] Final Memory: 15M/59M
[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
[ERROR]
\src\dhis2\dhis-2\dhis-api\src\main\java\org\hisp\dhis\organisationunit\comparator\OrganisationUnitByLevelComparator.java:[43,22]
cannot find symbol
[ERROR] symbol  : method compare(int,int)
[ERROR] location: class java.lang.Integer
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[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 read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR]   mvn <goals> -rf :dhis-api


-- 
Regards,
Brajesh

Follow ups