Hey all
I’ve downloaded the Jenkins source from jenkinsci/jenkins: Jenkins automation server (github.com) and trying to build the source code following this IntelliJ Setup for Jenkins Core Development
the command I’ve run is the same as the doc and I’m getting the following error.
[INFO]
[INFO] --- build-helper-maven-plugin:3.3.0:add-source (add-source) @ jenkins-core ---
[INFO] Source directory: /Users/gearoidmaguire/git/truata/devops/jenkins/core/target/generated-sources/antlr added.
[INFO] Source directory: /Users/gearoidmaguire/git/truata/devops/jenkins/core/target/generated-sources/localizer added.
[INFO] Source directory: /Users/gearoidmaguire/git/truata/devops/jenkins/core/target/generated-sources/taglib-interface added.
[INFO]
[INFO] --- localizer-maven-plugin:1.31:generate (default) @ jenkins-core ---
[INFO]
[INFO] --- antlr-maven-plugin:2.2:generate (cron) @ jenkins-core ---
[INFO] performing grammar generation [crontab.g]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Jenkins main module 2.364-SNAPSHOT:
[INFO]
[INFO] Jenkins main module ................................ SUCCESS [ 1.288 s]
[INFO] Jenkins BOM ........................................ SUCCESS [ 0.052 s]
[INFO] Internal SPI for WebSocket ......................... SUCCESS [ 0.900 s]
[INFO] Jetty 9 implementation for WebSocket ............... SUCCESS [ 0.791 s]
[INFO] Jetty 10 implementation for WebSocket .............. SUCCESS [ 0.757 s]
[INFO] Jenkins cli ........................................ SUCCESS [ 3.741 s]
[INFO] Jenkins core ....................................... FAILURE [ 0.963 s]
[INFO] Jenkins war ........................................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9.600 s
[INFO] Finished at: 2022-08-14T21:02:13+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:antlr-maven-plugin:2.2:generate (cron) on project jenkins-core: Execution cron of goal org.codehaus.mojo:antlr-maven-plugin:2.2:generate failed: The Security Manager is deprecated and will be removed in a future release -> [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/PluginExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <args> -rf :jenkins-core
would anyone know what it is I’m doing wrong?