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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump stapler.version from 1756.vec9071748061 to 1766.v4e428020d8a_f #7602

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 24, 2023

Bumps stapler.version from 1756.vec9071748061 to 1766.v4e428020d8a_f.
Updates stapler from 1756.vec9071748061 to 1766.v4e428020d8a_f

Release notes

Sourced from stapler's releases.

1766.v4e428020d8a_f

馃摝 Dependency updates

Commits

Updates stapler-groovy from 1756.vec9071748061 to 1766.v4e428020d8a_f

Release notes

Sourced from stapler-groovy's releases.

1766.v4e428020d8a_f

馃摝 Dependency updates

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps `stapler.version` from 1756.vec9071748061 to 1766.v4e428020d8a_f.

Updates `stapler` from 1756.vec9071748061 to 1766.v4e428020d8a_f
- [Release notes](https://github.com/jenkinsci/stapler/releases)
- [Changelog](https://github.com/jenkinsci/stapler/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jenkinsci/stapler/commits)

Updates `stapler-groovy` from 1756.vec9071748061 to 1766.v4e428020d8a_f
- [Release notes](https://github.com/jenkinsci/stapler/releases)
- [Changelog](https://github.com/jenkinsci/stapler/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jenkinsci/stapler/commits)

---
updated-dependencies:
- dependency-name: org.kohsuke.stapler:stapler
  dependency-type: direct:production
- dependency-name: org.kohsuke.stapler:stapler-groovy
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Jan 24, 2023
Copy link
Member

@basil basil left a comment

Choose a reason for hiding this comment

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

Trivial rebuild of a Jelly tag library for future compatibility with Maven 4.x. Tested locally by successfully building a plugin with Maven 4.x and these changes.


This PR is now ready for merge. We will merge it after approximately 24 hours if there is no negative feedback. Please see the merge process documentation for more information about the merge process. Thanks!

@basil basil self-assigned this Jan 24, 2023
@basil basil added ready-for-merge The PR is ready to go, and it will be merged soon if there is no negative feedback skip-changelog Should not be shown in the changelog labels Jan 24, 2023
Copy link
Member

@NotMyFault NotMyFault left a comment

Choose a reason for hiding this comment

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

Thanks for your ongoing efforts to iron out maven 4 blockers and warnings \o/

@NotMyFault NotMyFault merged commit 168da3b into master Jan 26, 2023
@NotMyFault NotMyFault deleted the dependabot/maven/stapler.version-1766.v4e428020d8a_f branch January 26, 2023 09:09
Comment on lines -352 to -355
<exclusion>
<groupId>org.jvnet.hudson</groupId>
<artifactId>commons-jelly</artifactId>
</exclusion>
Copy link
Member

Choose a reason for hiding this comment

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

Under certain circumstances involving unusual parent POMs or BOMs, a plugin with a 2.389+ dep may encounter a test failure

java.lang.NoSuchMethodError: 'void org.kohsuke.stapler.jelly.CustomJellyContext$CustomXMLParser.setEscapeByDefault(boolean)'
	at org.kohsuke.stapler.jelly.CustomJellyContext$CustomXMLParser.<init>(CustomJellyContext.java:131)
	at org.kohsuke.stapler.jelly.CustomJellyContext.createXMLParser(CustomJellyContext.java:97)
	at org.apache.commons.jelly.JellyContext.getXMLParser(JellyContext.java:556)
	at org.apache.commons.jelly.JellyContext.compileScript(JellyContext.java:516)
	at org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyCheck.runTest(JellyTestSuiteBuilder.java:102)

One fix is to add to the POM

<dependencyManagement>
  <dependencies>
    <dependency>
      <groupId>org.jenkins-ci.main</groupId>
      <artifactId>jenkins-bom</artifactId>
      <version>${jenkins-bom.version}</version>
      <type>pom</type>
      <scope>import</scope>
    </dependency>
  </dependencies>
</dependencyManagement>

reinforcing what plugin-pom normally does.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file java Pull requests that update Java code ready-for-merge The PR is ready to go, and it will be merged soon if there is no negative feedback skip-changelog Should not be shown in the changelog
Projects
None yet
3 participants