[jira] [Created] (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] [Created] (OPENJPA-2686) Strange content of shaded META-INF/maven/

JIRA jira@apache.org
E. Vernat created OPENJPA-2686:
----------------------------------

             Summary: 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


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:

               <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>

in the openjpa/pom.xml file.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)