You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Romain Manni-Bucau <rm...@gmail.com> on 2020/05/12 10:21:51 UTC
Maven Shade and MSHADE-352 (timestamp support), mitigate the breaking
change of last release
Hi everyone,
Wonder if we can't mitigate the breaking change in the last minor of shade
plugin (due to MSHADE-352).
Idea would be to have a TimeAwareResourceTransformer extends
ResourceTransformer and handle an instanceof or equivalent in our codebase
to avoid to break all transformers outside maven-shade project.
Wdyt?
Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> | Blog
<https://rmannibucau.metawerx.net/> | Old Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
<https://www.packtpub.com/application-development/java-ee-8-high-performance>
Re: Maven Shade and MSHADE-352 (timestamp support), mitigate the
breaking change of last release
Posted by Romain Manni-Bucau <rm...@gmail.com>.
Perfect, merci Hervé ;).
Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> | Blog
<https://rmannibucau.metawerx.net/> | Old Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
<https://www.packtpub.com/application-development/java-ee-8-high-performance>
Le mar. 12 mai 2020 à 12:37, Hervé BOUTEMY <he...@free.fr> a écrit :
> Hi,
>
> I created MSHADE-363 Jira issue and did a fix in corresponding Git branch,
> implementing exactly your strategy, even if I called the new interface
> "ReproducibleResourceTransformer" instead of TimeAware... :)
>
> I just transformed the Git branch into a PR to get review:
> https://github.com/apache/maven-shade-plugin/pull/47
>
> feedback welcome
>
> Regards,
>
> Hervé
>
> Le mardi 12 mai 2020, 12:21:51 CEST Romain Manni-Bucau a écrit :
> > Hi everyone,
> >
> > Wonder if we can't mitigate the breaking change in the last minor of
> shade
> > plugin (due to MSHADE-352).
> >
> > Idea would be to have a TimeAwareResourceTransformer extends
> > ResourceTransformer and handle an instanceof or equivalent in our
> codebase
> > to avoid to break all transformers outside maven-shade project.
> >
> > Wdyt?
> >
> > Romain Manni-Bucau
> > @rmannibucau <https://twitter.com/rmannibucau> | Blog
> > <https://rmannibucau.metawerx.net/> | Old Blog
> > <http://rmannibucau.wordpress.com> | Github <
> https://github.com/rmannibucau>
> > | LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
> > <
> https://www.packtpub.com/application-development/java-ee-8-high-performance
> > >
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>
Re: Maven Shade and MSHADE-352 (timestamp support), mitigate the breaking change of last release
Posted by Hervé BOUTEMY <he...@free.fr>.
Hi,
I created MSHADE-363 Jira issue and did a fix in corresponding Git branch,
implementing exactly your strategy, even if I called the new interface
"ReproducibleResourceTransformer" instead of TimeAware... :)
I just transformed the Git branch into a PR to get review:
https://github.com/apache/maven-shade-plugin/pull/47
feedback welcome
Regards,
Hervé
Le mardi 12 mai 2020, 12:21:51 CEST Romain Manni-Bucau a écrit :
> Hi everyone,
>
> Wonder if we can't mitigate the breaking change in the last minor of shade
> plugin (due to MSHADE-352).
>
> Idea would be to have a TimeAwareResourceTransformer extends
> ResourceTransformer and handle an instanceof or equivalent in our codebase
> to avoid to break all transformers outside maven-shade project.
>
> Wdyt?
>
> Romain Manni-Bucau
> @rmannibucau <https://twitter.com/rmannibucau> | Blog
> <https://rmannibucau.metawerx.net/> | Old Blog
> <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau>
> | LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
> <https://www.packtpub.com/application-development/java-ee-8-high-performance
> >
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org