Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CONTRIBUTING.md: Fix mvn and java requirements #577

Merged
merged 1 commit into from
Jan 29, 2025
Merged

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 <[email protected]>
@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