I’m attempting to use the shade plugin to relocate some dependent classes with 
the following configuration:

<configuration>
    <relocations>
        <pattern>javax.ejb</pattern>
        <shadedPattern>jakarta.ejb</shadedPattern>
        <includes>
            <include>javax.ejb.*</include>
        </includes>
    </relocations>
</configuration>


but when I try running, I see:

[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-shade-plugin:3.1.0:shade (default) on project 
orb-gmbal-pfl-shading: Unable to parse configuration of mojo 
org.apache.maven.plugins:maven-shade-plugin:3.1.0:shade for parameter pattern: 
Cannot find default setter in class 
org.apache.maven.plugins.shade.mojo.PackageRelocation -> [Help 1]

How do I get past this?

Thanks,
Russ

Reply via email to