You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@johnzon.apache.org by rm...@apache.org on 2020/04/28 05:30:23 UTC
[johnzon] branch master updated: JOHNZON-310 jakarta artifacts
This is an automated email from the ASF dual-hosted git repository.
rmannibucau pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/johnzon.git
The following commit(s) were added to refs/heads/master by this push:
new 1f5a415 JOHNZON-310 jakarta artifacts
1f5a415 is described below
commit 1f5a4153ab6b741a17654a7e9d65a946876e6801
Author: Romain Manni-Bucau <rm...@gmail.com>
AuthorDate: Tue Apr 28 07:29:59 2020 +0200
JOHNZON-310 jakarta artifacts
---
johnzon-core/pom.xml | 5 +++++
johnzon-jaxrs/pom.xml | 10 ++++++++++
johnzon-json-extras/pom.xml | 10 ++++++++++
johnzon-jsonb/pom.xml | 5 +++++
johnzon-jsonschema/pom.xml | 10 ++++++++++
johnzon-mapper/pom.xml | 5 +++++
johnzon-websocket/pom.xml | 5 +++++
pom.xml | 38 ++++++++++++++++++++++++++++++++++++++
8 files changed, 88 insertions(+)
diff --git a/johnzon-core/pom.xml b/johnzon-core/pom.xml
index 6f6dca5..b38694e 100644
--- a/johnzon-core/pom.xml
+++ b/johnzon-core/pom.xml
@@ -45,6 +45,11 @@
</instructions>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-shade-plugin</artifactId>
+ <version>3.2.2</version>
+ </plugin>
</plugins>
</build>
diff --git a/johnzon-jaxrs/pom.xml b/johnzon-jaxrs/pom.xml
index 72a89a6..39a7a1d 100644
--- a/johnzon-jaxrs/pom.xml
+++ b/johnzon-jaxrs/pom.xml
@@ -63,6 +63,16 @@
</dependency>
</dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-shade-plugin</artifactId>
+ <version>3.2.2</version>
+ </plugin>
+ </plugins>
+ </build>
+
<properties>
<staging.directory>${project.parent.reporting.outputDirectory}</staging.directory>
</properties>
diff --git a/johnzon-json-extras/pom.xml b/johnzon-json-extras/pom.xml
index 62f883b..9296ded 100644
--- a/johnzon-json-extras/pom.xml
+++ b/johnzon-json-extras/pom.xml
@@ -47,4 +47,14 @@
<scope>test</scope>
</dependency>
</dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-shade-plugin</artifactId>
+ <version>3.2.2</version>
+ </plugin>
+ </plugins>
+ </build>
</project>
diff --git a/johnzon-jsonb/pom.xml b/johnzon-jsonb/pom.xml
index 6fa4b68..19fb812 100644
--- a/johnzon-jsonb/pom.xml
+++ b/johnzon-jsonb/pom.xml
@@ -108,6 +108,11 @@
<build>
<plugins>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-shade-plugin</artifactId>
+ <version>3.2.2</version>
+ </plugin>
+ <plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
diff --git a/johnzon-jsonschema/pom.xml b/johnzon-jsonschema/pom.xml
index ebc0d41..60d0823 100644
--- a/johnzon-jsonschema/pom.xml
+++ b/johnzon-jsonschema/pom.xml
@@ -44,4 +44,14 @@
<scope>test</scope>
</dependency>
</dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-shade-plugin</artifactId>
+ <version>3.2.2</version>
+ </plugin>
+ </plugins>
+ </build>
</project>
diff --git a/johnzon-mapper/pom.xml b/johnzon-mapper/pom.xml
index 6be32d6..27af460 100644
--- a/johnzon-mapper/pom.xml
+++ b/johnzon-mapper/pom.xml
@@ -83,6 +83,11 @@
</instructions>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-shade-plugin</artifactId>
+ <version>3.2.2</version>
+ </plugin>
</plugins>
</build>
</project>
diff --git a/johnzon-websocket/pom.xml b/johnzon-websocket/pom.xml
index ecd507a..9141539 100644
--- a/johnzon-websocket/pom.xml
+++ b/johnzon-websocket/pom.xml
@@ -118,6 +118,11 @@
<plugins>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-shade-plugin</artifactId>
+ <version>3.2.2</version>
+ </plugin>
+ <plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<configuration>
diff --git a/pom.xml b/pom.xml
index 7a672fc..de9ebc4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -94,6 +94,44 @@
</dependencies>
<build>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-shade-plugin</artifactId>
+ <version>3.2.2</version>
+ <executions>
+ <execution>
+ <id>jakarta</id>
+ <phase>package</phase>
+ <goals>
+ <goal>shade</goal>
+ </goals>
+ <configuration>
+ <minimizeJar>false</minimizeJar>
+ <shadedArtifactAttached>true</shadedArtifactAttached>
+ <shadedClassifierName>jakarta</shadedClassifierName>
+ <createDependencyReducedPom>false</createDependencyReducedPom>
+ <transformers>
+ <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
+ </transformers>
+ <artifactSet>
+ <includes>
+ <include>${project.groupId}:${project.artifactId}</include>
+ </includes>
+ </artifactSet>
+ <relocations>
+ <relocation>
+ <pattern>javax.json</pattern>
+ <shadedPattern>jakarta.json</shadedPattern>
+ </relocation>
+ </relocations>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>