Skip to main content

Compilation error while trying to build hudson

  1 post   Feedicon  
Replies: 0 - Last Post: November 29, 2012 05:45
by: Sandeep439
showing 1 - 1 of 1
Posted: November 29, 2012 05:45 by Sandeep439
Hi,

I have recently downloaded hudson code from below repository
https://github.com/hudson/hudson

When I try to build the code using command
mvn clean install
a compilation error was thrown, which I have pasted below:

[INFO] Compiling 43 source files to E:\Hudson\hudson-master\hudson-master\hudson
-service\target\classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] \Hudson\hudson-master\hudson-master\hudson-service\src\main\java\org\hud
sonci\service\internal\ProjectServiceImpl.java:[111,16] inconvertible types
found : hudson.model.AbstractProject<capture#973 of ?,capture#689 of ?>
required: hudson.matrix.MatrixProject
[ERROR] \Hudson\hudson-master\hudson-master\hudson-service\src\main\java\org\hud
sonci\service\internal\ProjectServiceImpl.java:[112,67] inconvertible types
found : hudson.model.AbstractProject<capture#202 of ?,capture#657 of ?>
required: hudson.matrix.MatrixProject
[INFO] 2 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Hudson Parent ..................................... SUCCESS [5.625s]
[INFO] Hudson ............................................ SUCCESS [4.031s]
[INFO] Hudson :: Test Utilities .......................... SUCCESS [9.626s]
[INFO] Hudson :: Common Utilities ........................ SUCCESS [6.281s]
[INFO] Hudson :: Remoting Layer .......................... SUCCESS [19.641s]
[INFO] Hudson :: CLI ..................................... SUCCESS [5.234s]
[INFO] Hudson :: Core .................................... SUCCESS [5:26.801s]
[INFO] Hudson :: Inject (JSR-330 Strategy) ............... SUCCESS [25.063s]
[INFO] Hudson :: Plugin Utilities ........................ SUCCESS [7.938s]
[INFO] Hudson :: Service ................................. FAILURE [8.047s]
[INFO] Hudson :: Webapp .................................. SKIPPED
[INFO] Hudson :: Test Framework .......................... SKIPPED
[INFO] Hudson :: Plugin Parent POM ....................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7:21.803s
[INFO] Finished at: Thu Nov 29 10:43:47 GMT+05:30 2012
[INFO] Final Memory: 55M/138M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.
3.2:compile (default-compile) on project hudson-service: Compilation failure: Co
mpilation failure:
[ERROR] \Hudson\hudson-master\hudson-master\hudson-service\src\main\java\org\hud
sonci\service\internal\ProjectServiceImpl.java:[111,16] inconvertible types
[ERROR] found : hudson.model.AbstractProject<capture#973 of ?,capture#689 of ?
>
[ERROR] required: hudson.matrix.MatrixProject
[ERROR] \Hudson\hudson-master\hudson-master\hudson-service\src\main\java\org\hudsonci\service\internal\ProjectServiceImpl.java:[112,67] inconvertible types
[ERROR] found : hudson.model.AbstractProject<capture#202 of ?,capture#657 of ?
>
[ERROR] required: hudson.matrix.MatrixProject
[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 :hudson-service

Is there any code issue or some problem with my setup? How can I get this working?

Thank You
Replies: 0 - Last Post: November 29, 2012 05:45
by: Sandeep439
 
 
Close
loading
Please Confirm
Close