ARTEMIS-4006: remove repackaged/partial-shaded -all uber client artifacts from the assembly

This commit is contained in:
Robbie Gemmell 2022-09-20 17:54:33 +01:00
parent 3403f9a5ea
commit dfa797f906
3 changed files with 4 additions and 36 deletions

View File

@ -113,22 +113,6 @@
<version>${project.version}</version>
</dependency>
<!-- Must be optional to avoid passing on, as they clash
with each other, and contain duplicates of their deps
with those from the original jms client dep -->
<dependency>
<groupId>org.apache.activemq</groupId>
<artifactId>artemis-jms-client-all</artifactId>
<version>${project.version}</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.apache.activemq</groupId>
<artifactId>artemis-jakarta-client-all</artifactId>
<version>${project.version}</version>
<optional>true</optional>
</dependency>
<!-- dependencies -->
<dependency>
<groupId>org.apache.activemq</groupId>

View File

@ -40,10 +40,6 @@
<!-- Handled above -->
<exclude>org.apache.activemq:artemis-boot</exclude>
<!-- Handled later in lib/client subdir -->
<exclude>org.apache.activemq:artemis-jms-client-all</exclude>
<exclude>org.apache.activemq:artemis-jakarta-client-all</exclude>
<!-- Handled later in web subdir for console bits -->
<exclude>org.apache.activemq:artemis-console:war</exclude>
<exclude>org.apache.activemq:activemq-branding:war</exclude>
@ -54,17 +50,6 @@
<useProjectArtifact>false</useProjectArtifact>
<useTransitiveFiltering>true</useTransitiveFiltering>
</dependencySet>
<dependencySet>
<directoryMode>0755</directoryMode>
<fileMode>0644</fileMode>
<includes>
<include>org.apache.activemq:artemis-jms-client-all</include>
<include>org.apache.activemq:artemis-jakarta-client-all</include>
</includes>
<outputDirectory>lib/client</outputDirectory>
<unpack>false</unpack>
<useProjectArtifact>false</useProjectArtifact>
</dependencySet>
<!-- native -->
<dependencySet>
<includes>

View File

@ -38,15 +38,14 @@ For more information of the clients individual dependencies, see:
## Repackaged '-all' clients
Even though it is highly recommend using maven, in cases this isnt a possibility and neither is using the individual dependencies detailed above, the all-inclusive repackaged jar could be used.
Even though it is highly recommend to use the maven dependencies, in cases this isnt a possibility and neither is using the individual dependencies as detailed above then the all-inclusive repackaged jar could be used as an alternative.
These jars are available under `./lib/client` on the main distribution (or also as linked at Maven Central):
These jars are available at Maven Central:
- [artemis-jms-client-all-{{ config.version }}.jar](https://repo.maven.apache.org/maven2/org/apache/activemq/artemis-jms-client-all/{{ config.version }}/)
- [artemis-jakarta-client-all-{{ config.version }}.jar](https://repo.maven.apache.org/maven2/org/apache/activemq/artemis-jakarta-client-all/{{ config.version }}/)
Whether you are using JMS or just the Core API simply add the
`artemis-jms-client-all` jar from the `lib/client` directory to your client
classpath. For Jakarta Messaging add the `artemis-jakarta-client-all` jar instead.
Whether you are using JMS or just the Core API simply add the `artemis-jms-client-all` jar to your client classpath.
For Jakarta Messaging add the `artemis-jakarta-client-all` jar instead.
**Warning:**These repackaged jars include all the [client's dependencies](client-classpath-jms.md). Be careful with mixing other components jars in your application as they may clash with each other.