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:12:18 UTC

svn commit: r1873707 - /geronimo/specs/trunk/geronimo-json_1.1_spec/pom.xml

Author: rmannibucau
Date: Thu Feb  6 13:12:18 2020
New Revision: 1873707

URL: http://svn.apache.org/viewvc?rev=1873707&view=rev
Log:
jakarta classifier for geronimo-json_1.1_spec

Modified:
    geronimo/specs/trunk/geronimo-json_1.1_spec/pom.xml

Modified: geronimo/specs/trunk/geronimo-json_1.1_spec/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-json_1.1_spec/pom.xml?rev=1873707&r1=1873706&r2=1873707&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-json_1.1_spec/pom.xml (original)
+++ geronimo/specs/trunk/geronimo-json_1.1_spec/pom.xml Thu Feb  6 13:12:18 2020
@@ -119,6 +119,35 @@
           </execution>
         </executions>
       </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>