Madhubabu Sandara created JENKINS-13561:
-------------------------------------------
Summary: Compilation error building plugin using mvn install
Key: JENKINS-13561
URL: https://issues.jenkins-ci.org/browse/JENKINS-13561
Project: Jenkins
Issue Type: Bug
Components: postbuildscript
Environment: JDK 1.6, Windows 7
Reporter: Madhubabu Sandara
Assignee: gbois
Hi,
I downloaded the source code in a zip file from
https://github.com/jenkinsci/postbuildscript-plugin.git and when I try to run
*mvn install* from the root directory, I get the below error:
{noformat}
C:\jenkinsci-postbuildscript-plugin-postbuildscript-0.8-1-g813b84f\jenkinsci-postbuildscript-plugin-813b84f\src\main\java\org\jenk
insci\plugins\postbuildscript\PostBuildScript.java:69: inconvertible types
found : capture#59 of ?
required: hudson.matrix.MatrixConfiguration
if (!(build.getProject() instanceof MatrixConfiguration)) {
^
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
2 warnings
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Fatal error compiling
Embedded error: APT failed: 1
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
{noformat}
Is this something to be fixed???
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira