Re: Clean mojo for maven-shade-plugin.

2023-02-05 Thread Romain Manni-Bucau
Le dim. 5 févr. 2023 à 20:33, Karl Heinz Marbaise a écrit : > Hi, > > On 05.02.23 19:15, Romain Manni-Bucau wrote: > > This is typically a hard case cause you can need all sort of values. > > I often set reduced pom to be generated in target (can be done in a > parent > > pom) but some times you

Re: Clean mojo for maven-shade-plugin.

2023-02-05 Thread Karl Heinz Marbaise
Hi, On 05.02.23 19:15, Romain Manni-Bucau wrote: This is typically a hard case cause you can need all sort of values. I often set reduced pom to be generated in target (can be done in a parent pom) but some times you want it to be there in place for other stuff/consumers (shkrinwrap, aether, ...

Re: Clean mojo for maven-shade-plugin.

2023-02-05 Thread Romain Manni-Bucau
This is typically a hard case cause you can need all sort of values. I often set reduced pom to be generated in target (can be done in a parent pom) but some times you want it to be there in place for other stuff/consumers (shkrinwrap, aether, ). Reversing the default can be good but from the o

Re: Clean mojo for maven-shade-plugin.

2023-02-05 Thread Karl Heinz Marbaise
Hi, On 05.02.23 17:59, Michael Osipov wrote: Am 2023-02-05 um 16:59 schrieb Niels Basjes: Hi, I created an issue and put together a pull request that adds a 'clean' mojo to the maven-shade-plugin. The purpose is to remove the dependency-reduced-pom.xml (and variants) that are in general genera

Re: Clean mojo for maven-shade-plugin.

2023-02-05 Thread Christoph Läubrich
The problem with these kind of things is that if you want to replace the pom, and don't use the base dir of the project, setting a new pom-file (project.setFile), this also magically changes the base-dir of the project, and then other plugins are confused and fail and also parent references are

Re: Clean mojo for maven-shade-plugin.

2023-02-05 Thread Michael Osipov
Am 2023-02-05 um 16:59 schrieb Niels Basjes: Hi, I created an issue and put together a pull request that adds a 'clean' mojo to the maven-shade-plugin. The purpose is to remove the dependency-reduced-pom.xml (and variants) that are in general generated but never removed. By adding support for t

Clean mojo for maven-shade-plugin.

2023-02-05 Thread Niels Basjes
Hi, I created an issue and put together a pull request that adds a 'clean' mojo to the maven-shade-plugin. The purpose is to remove the dependency-reduced-pom.xml (and variants) that are in general generated but never removed. By adding support for the clean phase it is now easier to keep a proje