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

do not bundle a library whose classes are already provideded by core #96

Merged
merged 3 commits into from
Oct 1, 2021

Conversation

jtnord
Copy link
Member

@jtnord jtnord commented Oct 1, 2021

the activation framework classes are already provided by core.

Prior to jenkins-2.235 they where patched 1.1.1 versions but since
jenkinsci/jenkins@abb1310
it is the 1.2.1 version transitively from jakarta.mail

As the plugin is neither using plugin first classloader nor the
mask-classes approach this is just bloat - so remove it.

bumps the parent version and the minimum jenkins baseline to be > 2.235
to ensure we do get at least a 1.2.x version

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests - that demonstrates feature works or fixes the issue

the activation framework classes are already provided by core.

Prior to jenkins-2.235 they where patched 1.1.1 versions but since
jenkinsci/jenkins@abb1310
it is the 1.2.1 version transitively from jakarta.mail

As the plugin is neither using plugin first classloader nor the
mask-classes approach this is just bloat - so remote it.

bumps the parent version and the minimum jenkins baseline to be > 2.235
to ensure we do get at least a 1.2.x version
@jtnord jtnord added the chore label Oct 1, 2021
@jtnord jtnord requested review from a team and timja October 1, 2021 19:14
<changelist>-SNAPSHOT</changelist>
<java.level>8</java.level>
<jenkins.version>2.222.4</jenkins.version>
<jenkins.version>2.249.1</jenkins.version>
Copy link
Member Author

Choose a reason for hiding this comment

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

jenkinsci/jenkins#4660 was in 2.235 using an LTS that is newer than that

pom.xml Outdated Show resolved Hide resolved
YOLO, so here's hoping this works with m-r-p

Co-authored-by: Tim Jacomb <21194782+timja@users.noreply.github.com>
@jtnord jtnord merged commit cc5da7e into jenkinsci:master Oct 1, 2021
@jtnord jtnord deleted the activation branch October 1, 2021 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants