Skip to content

CONTRIBUTING.md: Fix mvn and java requirements#577

Merged
timja merged 1 commit intojenkinsci:mainfrom
panicking:main
Jan 29, 2025
Merged

CONTRIBUTING.md: Fix mvn and java requirements#577
timja merged 1 commit intojenkinsci:mainfrom
panicking:main

Conversation

@panicking
Copy link
Contributor

In order to build the product a newer version of maven is required otherwise an error is raised during the mvn hpi:run

mvn hpi:run
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs: [ERROR] Unknown packaging: hpi @ io.jenkins.plugins:pipeline-graph-view:${changelist}, /home/panicking/work/michael/pipeline-graph-view-plugin/pom.xml, line 14, column 14
@
[ERROR] The build could not read 1 project -> [Help 1] [ERROR]
[ERROR] The project io.jenkins.plugins:pipeline-graph-view:999999-SNAPSHOT (/home/panicking/work/michael/pipeline-graph-view-plugin/pom.xml) has 1 error
[ERROR] Unknown packaging: hpi @ io.jenkins.plugins:pipeline-graph-view:${changelist}, /home/panicking/work/michael/pipeline-graph-view-plugin/pom.xml, line 14, column 14
[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/ProjectBuildingException

Adjust even the jave minimal requirement to java 17

In order to build the product a newer version of maven is required otherwise
an error is raised during the mvn hpi:run

mvn hpi:run
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Unknown packaging: hpi @ io.jenkins.plugins:pipeline-graph-view:${changelist}, /home/panicking/work/michael/pipeline-graph-view-plugin/pom.xml, line 14, column 14
 @
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project io.jenkins.plugins:pipeline-graph-view:999999-SNAPSHOT (/home/panicking/work/michael/pipeline-graph-view-plugin/pom.xml) has 1 error
[ERROR]     Unknown packaging: hpi @ io.jenkins.plugins:pipeline-graph-view:${changelist}, /home/panicking/work/michael/pipeline-graph-view-plugin/pom.xml, line 14, column 14
[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/ProjectBuildingException

Adjust even the jave minimal requirement to java 17

Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
@panicking panicking requested a review from a team as a code owner January 29, 2025 22:55
Copy link
Member

@timja timja left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@timja timja added the documentation A PR that adds to documentation - used by Release Drafter label Jan 29, 2025
@timja timja enabled auto-merge (squash) January 29, 2025 23:04
@timja timja merged commit deb4b21 into jenkinsci:main Jan 29, 2025
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation A PR that adds to documentation - used by Release Drafter

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants