You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by rm...@apache.org on 2020/02/06 13:13:46 UTC

svn commit: r1873708 - /geronimo/specs/trunk/geronimo-jsonb_1.0_spec/pom.xml

Author: rmannibucau
Date: Thu Feb  6 13:13:45 2020
New Revision: 1873708

URL: http://svn.apache.org/viewvc?rev=1873708&view=rev
Log:
jakarta classifier for jsonb

Modified:
    geronimo/specs/trunk/geronimo-jsonb_1.0_spec/pom.xml

Modified: geronimo/specs/trunk/geronimo-jsonb_1.0_spec/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jsonb_1.0_spec/pom.xml?rev=1873708&r1=1873707&r2=1873708&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-jsonb_1.0_spec/pom.xml (original)
+++ geronimo/specs/trunk/geronimo-jsonb_1.0_spec/pom.xml Thu Feb  6 13:13:45 2020
@@ -145,6 +145,35 @@
                 <artifactId>maven-surefire-plugin</artifactId>
                 <version>3.0.0-M3</version>
             </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-shade-plugin</artifactId>
+                <version>3.2.1</version>
+                <executions>
+                    <execution>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>shade</goal>
+                        </goals>
+                        <configuration>
+                            <shadedArtifactAttached>true</shadedArtifactAttached>
+                            <shadedClassifierName>jakarta</shadedClassifierName>
+                            <createDependencyReducedPom>false</createDependencyReducedPom>
+                            <artifactSet> <!-- don't include transitive deps -->
+                                <includes>
+                                    <include>${project.groupId}:${project.artifactId}</include>
+                                </includes>
+                            </artifactSet>
+                            <relocations>
+                                <relocation>
+                                    <pattern>javax</pattern>
+                                    <shadedPattern>jakarta</shadedPattern>
+                                </relocation>
+                            </relocations>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
         </plugins>
     </build>
 </project>