[jira] [Updated] (OPENJPA-2686) Strange content of shaded META-INF/maven/

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[jira] [Updated] (OPENJPA-2686) Strange content of shaded META-INF/maven/

JIRA jira@apache.org

     [ https://issues.apache.org/jira/browse/OPENJPA-2686?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

E. Vernat updated OPENJPA-2686:
    Priority: Minor  (was: Major)

> Strange content of shaded META-INF/maven/
> -----------------------------------------
>                 Key: OPENJPA-2686
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2686
>             Project: OpenJPA
>          Issue Type: Bug
>    Affects Versions: 2.4.2
>            Reporter: E. Vernat
>            Priority: Minor
> When looking at the content of the openjpa jar file (https://repo1.maven.org/maven2/org/apache/openjpa/openjpa/2.4.2/openjpa-2.4.2.jar), there are pom.properties and pom.xml in META-INF/maven/ for openjpa and also for openjpa-jdbc, openjpa-kernel, openjpa-lib, etc
> But most of the pom.properties and pom.xml files does not relate to the real openjpa artifact and should not be there.
> As seen in https://issues.apache.org/jira/browse/MSHADE-240, the files could be relocated using following share configuration:
> {code:xml}
>                <relocation>
>                   <pattern>META-INF/maven</pattern>
>                   <shadedPattern>META-INF/shade/maven</shadedPattern>
>                   <excludes>
>                     <exclude>META-INF/maven/${project.groupId}/${project.artifactId}/pom.*</exclude>
>                   </excludes>
>                 </relocation>
> {code}
> in the openjpa/pom.xml file.

This message was sent by Atlassian JIRA