Hi everyone, Wonder if there is any issue making shade plugin attaching a virtual artifact. Let me explain myself, i have module foo:bar:1.2.3 and in this module I do a shade "fat". Today I can create a classifier=fat and this way I keep bar and bar-fat artifacts.
Issues with this pattern is both are sharing the same pom so I wonder if we shouldn't enable maven-shade-plugin to create a virtual artifact, i.e. define: 1. another artifactId instead of just a classifier (optional since 2 can handle dependencies properly and be of type=pom, works too), 2. configure a bit more the shaded pom and attach it with the virtual artifact (enabling to depend on the shade without conflict with the not shaded deliverable). Indeed it can be done creating a new module with a dedicated pom but we start to get patterns where you just want to bulk update the source pom to something else (in openwebbeans for ex, we have the need to "add jakarta classifier to all openwebbeans dependencies" or "replace specJavax by specJakarta"). I don't see the point of creating a module just to define this shade, it is highly overkill and increases the maintenance cost without any gain IMHO so I'd like to enrich our shade plugin to support a better pom rewriting and publishing. 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>
