[EnvInject] - Variables injected successfully.
[Build] $ /export/apps/citools/maven/apache-maven-3.0.4/bin/mvn versions:set versions:update-child-modules -DnewVersion=1.0.753-SNAPSHOT -DgenerateBackupPoms=false -DprocessParent=false
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for com.fanniemae.IdGen:cfds_idgen1_0:jar:1.0
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-shade-plugin is missing. @ line 209, column 12
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building cfds_idgen1_0 1.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- versions-maven-plugin:2.5:set (default-cli) @ cfds_idgen1_0 ---
[INFO] Searching for local aggregator root...
[INFO] Local aggregation root: /export/appl/fqdprod/jenkins_rd/workspace/AUT/CI000000019364076/cfds_idgen1_0/Build/Build
[INFO] Processing change of com.fanniemae.IdGen:cfds_idgen1_0:1.0 -> 1.0.753-SNAPSHOT
[INFO] Processing com.fanniemae.IdGen:cfds_idgen1_0
[INFO] Updating project com.fanniemae.IdGen:cfds_idgen1_0
[INFO] from version 1.0 to 1.0.753-SNAPSHOT
[INFO]
[INFO]
[INFO] --- versions-maven-plugin:2.5:update-child-modules (default-cli) @ cfds_idgen1_0 ---
[INFO] All child modules are up to date.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.995s
[INFO] Finished at: Tue Jul 03 11:03:41 EDT 2018
[INFO] Final Memory: 14M/475M
[INFO] ------------------------------------------------------------------------
[Build] $ /export/apps/citools/maven/apache-maven-3.0.4/bin/mvn clean install -Dorg.jacoco:jacoco-maven-plugin:prepare-agent install -Dmaven.test.failure.ignore=true
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for com.fanniemae.IdGen:cfds_idgen1_0:jar:1.0.753-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-shade-plugin is missing. @ line 209, column 12
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building cfds_idgen1_0 1.0.753-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ cfds_idgen1_0 ---
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ cfds_idgen1_0 ---
[debug] execute contextualize
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 28 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ cfds_idgen1_0 ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 177 source files to /export/appl/fqdprod/jenkins_rd/workspace/AUT/CI000000019364076/cfds_idgen1_0/Build/Build/target/classes
[INFO] /export/appl/fqdprod/jenkins_rd/workspace/AUT/CI000000019364076/cfds_idgen1_0/Build/Build/src/com/fanniemae/MORNETPlus/utils/Base64.java: Some input files use or override a deprecated API.
[INFO] /export/appl/fqdprod/jenkins_rd/workspace/AUT/CI000000019364076/cfds_idgen1_0/Build/Build/src/com/fanniemae/MORNETPlus/utils/Base64.java: Recompile with -Xlint:deprecation for details.
[INFO] /export/appl/fqdprod/jenkins_rd/workspace/AUT/CI000000019364076/cfds_idgen1_0/Build/Build/src/com/fanniemae/MORNETPlus/sba/service/SBAMessage.java: Some input files use unchecked or unsafe operations.
[INFO] /export/appl/fqdprod/jenkins_rd/workspace/AUT/CI000000019364076/cfds_idgen1_0/Build/Build/src/com/fanniemae/MORNETPlus/sba/service/SBAMessage.java: Recompile with -Xlint:unchecked for details.
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /export/appl/fqdprod/jenkins_rd/workspace/AUT/CI000000019364076/cfds_idgen1_0/Build/Build/src/com/fanniemae/MORNETPlus/services/document/model/Doc.java:[365,19] com.fanniemae.MORNETPlus.services.document.model.Doc.Comp is not abstract and does not override abstract method getAnnotationsByType(java.lang.Class) in javax.lang.model.AnnotatedConstruct
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.691s
[INFO] Finished at: Tue Jul 03 11:03:44 EDT 2018
[INFO] Final Memory: 21M/584M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:compile (default-compile) on project cfds_idgen1_0: Compilation failure
[ERROR] /export/appl/fqdprod/jenkins_rd/workspace/AUT/CI000000019364076/cfds_idgen1_0/Build/Build/src/com/fanniemae/MORNETPlus/services/document/model/Doc.java:[365,19] com.fanniemae.MORNETPlus.services.document.model.Doc.Comp is not abstract and does not override abstract method getAnnotationsByType(java.lang.Class) in javax.lang.model.AnnotatedConstruct
[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
Build step 'Invoke top-level Maven targets' marked build as failure
Skipping sonar analysis due to bad build status FAILURE
Notifying upstream projects of job completion
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any
Sending email to: DU_Agile_Team_6@fanniemae.com
Warning: you have no plugins providing access control for builds, so falling back to legacy behavior of permitting any downstream builds to be triggered
Finished: FAILURE
***Note: I am getting this error on compile time. Below is the code snippet
public static class Comp extends MarshallableObject implements Element{
protected List<Doc.Comp.Prop> prop;
The error is originated on Comp class. Can anyone help me resolve the issue ?
[EnvInject] - Executing scripts and injecting environment variables after the SCM step. [EnvInject] - Injecting as environment variables the properties content ICART_REL_NAME=DOC5.0.3 ICART_APP_NAME=CFDS PACKAGING=zip ICART_NEXUS_URL_DEPLOY=http://plsysadm-ap59:8081/nexus/content/repositories/snapshots/com/fanniemae/cfds/cfds_idgen1_0 ICART_COMP_NAME=cfds_idgen1_0 VER=1.0.753
[EnvInject] - Variables injected successfully. [Build] $ /export/apps/citools/maven/apache-maven-3.0.4/bin/mvn versions:set versions:update-child-modules -DnewVersion=1.0.753-SNAPSHOT -DgenerateBackupPoms=false -DprocessParent=false [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for com.fanniemae.IdGen:cfds_idgen1_0:jar:1.0 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-shade-plugin is missing. @ line 209, column 12 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO]
[INFO] ------------------------------------------------------------------------ [INFO] Building cfds_idgen1_0 1.0 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- versions-maven-plugin:2.5:set (default-cli) @ cfds_idgen1_0 --- [INFO] Searching for local aggregator root... [INFO] Local aggregation root: /export/appl/fqdprod/jenkins_rd/workspace/AUT/CI000000019364076/cfds_idgen1_0/Build/Build [INFO] Processing change of com.fanniemae.IdGen:cfds_idgen1_0:1.0 -> 1.0.753-SNAPSHOT [INFO] Processing com.fanniemae.IdGen:cfds_idgen1_0 [INFO] Updating project com.fanniemae.IdGen:cfds_idgen1_0 [INFO] from version 1.0 to 1.0.753-SNAPSHOT [INFO] [INFO] [INFO] --- versions-maven-plugin:2.5:update-child-modules (default-cli) @ cfds_idgen1_0 --- [INFO] All child modules are up to date. [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.995s [INFO] Finished at: Tue Jul 03 11:03:41 EDT 2018 [INFO] Final Memory: 14M/475M [INFO] ------------------------------------------------------------------------ [Build] $ /export/apps/citools/maven/apache-maven-3.0.4/bin/mvn clean install -Dorg.jacoco:jacoco-maven-plugin:prepare-agent install -Dmaven.test.failure.ignore=true [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for com.fanniemae.IdGen:cfds_idgen1_0:jar:1.0.753-SNAPSHOT [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-shade-plugin is missing. @ line 209, column 12 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO]
[INFO] ------------------------------------------------------------------------ [INFO] Building cfds_idgen1_0 1.0.753-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ cfds_idgen1_0 --- [INFO] [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ cfds_idgen1_0 --- [debug] execute contextualize [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 28 resources [INFO] [INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ cfds_idgen1_0 --- [INFO] Changes detected - recompiling the module! [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent! [INFO] Compiling 177 source files to /export/appl/fqdprod/jenkins_rd/workspace/AUT/CI000000019364076/cfds_idgen1_0/Build/Build/target/classes [INFO] /export/appl/fqdprod/jenkins_rd/workspace/AUT/CI000000019364076/cfds_idgen1_0/Build/Build/src/com/fanniemae/MORNETPlus/utils/Base64.java: Some input files use or override a deprecated API. [INFO] /export/appl/fqdprod/jenkins_rd/workspace/AUT/CI000000019364076/cfds_idgen1_0/Build/Build/src/com/fanniemae/MORNETPlus/utils/Base64.java: Recompile with -Xlint:deprecation for details. [INFO] /export/appl/fqdprod/jenkins_rd/workspace/AUT/CI000000019364076/cfds_idgen1_0/Build/Build/src/com/fanniemae/MORNETPlus/sba/service/SBAMessage.java: Some input files use unchecked or unsafe operations. [INFO] /export/appl/fqdprod/jenkins_rd/workspace/AUT/CI000000019364076/cfds_idgen1_0/Build/Build/src/com/fanniemae/MORNETPlus/sba/service/SBAMessage.java: Recompile with -Xlint:unchecked for details. [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /export/appl/fqdprod/jenkins_rd/workspace/AUT/CI000000019364076/cfds_idgen1_0/Build/Build/src/com/fanniemae/MORNETPlus/services/document/model/Doc.java:[365,19] com.fanniemae.MORNETPlus.services.document.model.Doc.Comp is not abstract and does not override abstract method getAnnotationsByType(java.lang.Class) in javax.lang.model.AnnotatedConstruct [INFO] 1 error [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2.691s [INFO] Finished at: Tue Jul 03 11:03:44 EDT 2018 [INFO] Final Memory: 21M/584M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:compile (default-compile) on project cfds_idgen1_0: Compilation failure [ERROR] /export/appl/fqdprod/jenkins_rd/workspace/AUT/CI000000019364076/cfds_idgen1_0/Build/Build/src/com/fanniemae/MORNETPlus/services/document/model/Doc.java:[365,19] com.fanniemae.MORNETPlus.services.document.model.Doc.Comp is not abstract and does not override abstract method getAnnotationsByType(java.lang.Class) in javax.lang.model.AnnotatedConstruct [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 Build step 'Invoke top-level Maven targets' marked build as failure Skipping sonar analysis due to bad build status FAILURE Notifying upstream projects of job completion Email was triggered for: Failure - Any Sending email for trigger: Failure - Any Sending email to: DU_Agile_Team_6@fanniemae.com Warning: you have no plugins providing access control for builds, so falling back to legacy behavior of permitting any downstream builds to be triggered Finished: FAILURE
***Note: I am getting this error on compile time. Below is the code snippet
public static class Comp extends MarshallableObject implements Element{
The error is originated on Comp class. Can anyone help me resolve the issue ?