transformer
transformer copied to clipboard
Could really use an example of how to transform a dependency needed at compile time
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.