David Phillips created MSHADE-184: ------------------------------------- Summary: Cannot use dollar sign in shadedPattern name Key: MSHADE-184 URL: https://jira.codehaus.org/browse/MSHADE-184 Project: Maven Shade Plugin Issue Type: Bug Affects Versions: 2.3 Reporter: David Phillips
The following relocation would be useful to prevent IDEs from suggesting the relocated classes for import: {code:xml} <relocation> <pattern>org.apache.commons</pattern <shadedPattern>com.example.$internal.commons</shadedPattern> </relocation> {code} Unfortunately, it fails with an error: {code:none} [ERROR] Failed to execute goal org.apache.maven.plugins:maven-shade-plugin:2.3:shade (default) on project hive-apache: Error creating shaded jar: Illegal group reference -> [Help 1] {code} -- This message was sent by Atlassian JIRA (v6.1.6#6162)