[
https://issues.apache.org/jira/browse/MSHADE-425?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zili Chen updated MSHADE-425:
-----------------------------
Description:
This is the original issue: https://github.com/apache/pulsar/issues/17047
And I found some similar reports from:
* https://issues.apache.org/jira/browse/HADOOP-13941
* https://github.com/elastic/apm-agent-java/issues/961
It seems the maven shade plugin struggles when meta-inf service exists and
running without a clean first.
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-shade-plugin:3.3.0:shade (default) on project
pulsar-presto-connector-original: Error creating shaded jar: duplicate entry:
META-INF/services/org.apache.pulsar.shade.org.glassfish.jersey.internal.inject.InjectionManagerFactory
-> [Help 1]
was:
This is the original issue: https://github.com/apache/pulsar/issues/17047
And I found some similar reports from:
* https://issues.apache.org/jira/browse/HADOOP-13941
* https://github.com/elastic/apm-agent-java/issues/961
It seems the maven shade plugin struggles when meta-inf service exists and
running without a clean first.
> Maven shade plugin build fails without 'clean' goal
> ----------------------------------------------------
>
> Key: MSHADE-425
> URL: https://issues.apache.org/jira/browse/MSHADE-425
> Project: Maven Shade Plugin
> Issue Type: Improvement
> Reporter: Zili Chen
> Priority: Major
>
> This is the original issue: https://github.com/apache/pulsar/issues/17047
> And I found some similar reports from:
> * https://issues.apache.org/jira/browse/HADOOP-13941
> * https://github.com/elastic/apm-agent-java/issues/961
> It seems the maven shade plugin struggles when meta-inf service exists and
> running without a clean first.
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-shade-plugin:3.3.0:shade (default) on project
> pulsar-presto-connector-original: Error creating shaded jar: duplicate entry:
> META-INF/services/org.apache.pulsar.shade.org.glassfish.jersey.internal.inject.InjectionManagerFactory
> -> [Help 1]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)