transformer icon indicating copy to clipboard operation
transformer copied to clipboard

Could really use an example of how to transform a dependency needed at compile time

Open davidmichaelkarr opened this issue 1 year ago • 2 comments

We are attempting to use the Transformer maven plugin for a use case that I've never seen described, but which I would think would be possible.

We have a bunch of SpringBoot applications that depend on artifacts that use the "javax" packages in their source code. We now require they use the "jakarta" packages. However, we require these artifacts to be used at compile time, not just runtime. I've seen a number of examples using the transformer where it will package up the transformed jars, but never a case where it uses the transformed jars at compile time.

davidmichaelkarr avatar Oct 04 '24 20:10 davidmichaelkarr