Thank you so much for the reply. I changed the <parent> POM version to latest which is 2.2 and tried to run "mvn test". It failed with different errors:
Generating C:\Users\sshejwal\Downloads\delivery-pipeline-plugin-master\target\site\apidocs\help-doc.html...
2 warnings
[WARNING] Javadoc Warnings
[WARNING] C:\Users\sshejwal\Downloads\delivery-pipeline-plugin-master\src\main\java\se\diabol\jenkins\pipeline\domain\results\TestResult.java:21: error: package hudson.tasks.test does not exist
[WARNING] import hudson.tasks.test.AbstractTestResultAction;
[WARNING] ^
[WARNING] C:\Users\sshejwal\Downloads\delivery-pipeline-plugin-master\src\main\java\se\diabol\jenkins\pipeline\util\ProjectUtil.java:63: warning - Tag @see: can't find getAllDownstreamProjects(hudson.model.AbstractProject, java.util.Map) in se.diabol.jenkins.pipeline.util.ProjectUtil
[INFO]
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ delivery-pipeline-plugin ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 49 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.4:compile (default-compile) @ delivery-pipeline-plugin ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- animal-sniffer:1.2:check (animal-sniffer) @ delivery-pipeline-plugin ---
[INFO] Checking unresolved references to org.jvnet.animal-sniffer:java1.6:1.0
[ERROR] Undefined reference: hudson/tasks/test/AbstractTestResultAction in C:\Users\sshejwal\Downloads\delivery-pipeline-plugin-master\target\classes\se\diabol\jenkins\pipeline\domain\results\TestResult.class
[ERROR] Undefined reference: hudson/tasks/test/AbstractTestResultAction.getDisplayName()Ljava/lang/String; in C:\Users\sshejwal\Downloads\delivery-pipeline-plugin-master\target\classes\se\diabol\jenkins\pipeline\domain\results\TestResult.class
[ERROR] Undefined reference: hudson/tasks/test/AbstractTestResultAction.getUrlName()Ljava/lang/String; in C:\Users\sshejwal\Downloads\delivery-pipeline-plugin-master\target\classes\se\diabol\jenkins\pipeline\domain\results\TestResult.class
[ERROR] Undefined reference: hudson/tasks/test/AbstractTestResultAction.getFailCount()I in C:\Users\sshejwal\Downloads\delivery-pipeline-plugin-master\target\classes\se\diabol\jenkins\pipeline\domain\results\TestResult.class
[ERROR] Undefined reference: hudson/tasks/test/AbstractTestResultAction.getSkipCount()I in C:\Users\sshejwal\Downloads\delivery-pipeline-plugin-master\target\classes\se\diabol\jenkins\pipeline\domain\results\TestResult.class
[ERROR] Undefined reference: hudson/tasks/test/AbstractTestResultAction.getTotalCount()I in C:\Users\sshejwal\Downloads\delivery-pipeline-plugin-master\target\classes\se\diabol\jenkins\pipeline\domain\results\TestResult.class
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 36.746 s
[INFO] Finished at: 2016-11-21T16:05:47-08:00
[INFO] Final Memory: 106M/1153M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.jvnet:animal-sniffer:1.2:check (animal-sniffer) on project delivery-pipeline-plugin: Signature errors found. Verify them and put @IgnoreJRERequirement on them. -> [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:
Do you have any idea about these? Also when I tried to run "mvn compile" the command throws the same above errors. I am not sure if the warnings matter, as ProjectUtil.java has method definition for "getAllDownstreamProjects". So not sure why it's complaining about not finding this method.
Thanks,
Sneha