Skip to content

fix bundling of eddsa#935

Open
jtnord wants to merge 3 commits into
jfrog:masterfrom
jtnord:eddsa-api
Open

fix bundling of eddsa#935
jtnord wants to merge 3 commits into
jfrog:masterfrom
jtnord:eddsa-api

Conversation

@jtnord

@jtnord jtnord commented May 21, 2024

Copy link
Copy Markdown

plugin was bundling eddsa which is now a plugin and should be used instead.

whilst looking to fix this the dependencies where a bit of a mess and the plugin build (parent) obsolete and unsupported.

this is a partial fix for this (there is more outstanding) and it has had zero testing other than unit tests are fixed and there are less things bundled in the HPI that are obviously wrong.

the p4 code would not have even worked on a recent version of the perforce plugin as the APIs called where gone. I have adjusted the code so that it may work however other than it compiles and looks about right no testing has been performed.

fixes: #934
partially addresses: #933


jtnord added 3 commits May 21, 2024 17:17
the plugin would have previously just blown up at runtime if a new p4
plugin was used as the APIs called did not exist.

The plugin may still blow up at runtime, however there is at least more
possibility that it will indeed not blow up
@github-actions

github-actions Bot commented May 21, 2024

Copy link
Copy Markdown

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

Comment thread pom.xml
<jenkins.version>2.263.1</jenkins.version>
<java.level>8</java.level>
<!-- TODO: enforcer is full of upper bound dependency issues, including real ones -->
<enforcer.skip>true</enforcer.skip>

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

was hiding an awful lot of brokenness..

Comment thread pom.xml
<version>2.1.1</version>
<scope>test</scope>
</dependency>
<dependency>

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

do not bundle things that should come from a library.

Comment thread pom.xml
Comment on lines -169 to -179
<exclusions>
<exclusion>
<groupId>org.tmatesoft.svnkit</groupId>
<artifactId>svnkit</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.tmatesoft.svnkit</groupId>
<artifactId>svnkit</artifactId>
<version>1.10.4</version>

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

@jtnord jtnord changed the title fix bubdling of eddsa fix bundling of eddsa May 21, 2024
@jtnord

jtnord commented May 21, 2024

Copy link
Copy Markdown
Author

I have read the CLA Document and I hereby sign the CLA

@jtnord

jtnord commented May 21, 2024

Copy link
Copy Markdown
Author

frogbot appears to be broken, and is not something I can fix in this PR as it is an action to which I have no access to update.
guess it needs to be updated to use Java11 runtime (which is needed by maven hpi plugin, which is needed by every Jenkins plugin using a recent toolchain).

it can not work out the packaging of type HPI, yet maven and JDK11 is completely happy with it.

If frogbot and SCA are not happy with the versions used here, I have no idea how they can be happy with the previously historic versions used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

replace eddsa bundling with eddsa-api plugin

1 participant