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

reuse signed jars #57

Open
persal opened this issue Jan 31, 2018 · 1 comment
Open

reuse signed jars #57

persal opened this issue Jan 31, 2018 · 1 comment

Comments

@persal
Copy link

persal commented Jan 31, 2018

Signing jars takes a lot of resources, so is there a way to not having to do this over and over (when performing mvn clean install)?
Having all jars signed before adding them to our artifactory might be one solution (or paying for enterprise edition?).

I'm thinking on having a cache with signed jars and a hash for the unsigned jar to find it, and then instead of signing, check the cache using a hash to see if there already is a signed version of the jar i'm about to sign. If there is no signed jar, sign it and cache it for the next time.
Is there a hook into the webstart-maven-plugin plugin where I can try to add this perhaps?
Perhaps easier to extend the actual plugin itself?

Any other creative ideas?

@persal
Copy link
Author

persal commented Feb 7, 2018

I see that there is a "DefaultSignTool" for the interface/component "SignTool" using @component( role = SignTool.class, hint = "default" )

Is it possible by maven configuration to use another custom SignTool implementation?

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

No branches or pull requests

1 participant