[ 
https://issues.apache.org/activemq/browse/AMQ-1703?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dejan Bosanac updated AMQ-1703:
-------------------------------

    Attachment: activemq-client.patch

I modified activemq-core pom to create additional jar with the "client" 
classifier. Later the jar can be included as a maven dependency in the 
following manner

                <dependency>
                        <groupId>org.apache.activemq</groupId>
                        <artifactId>activemq-core</artifactId>
                        <version>5.2-SNAPSHOT</version>
                        <classifier>client</classifier>
                </dependency>

and included (e.g. in assembly process) as

<include>org.apache.activemq:activemq-core:jar:client</include>

I managed to cut the size in half. If you notice more stuff that can be 
excluded, please let me know.

Maybe the better option would be to create a separate module that will do this 
packaging instead of a classifier?

> Create lightweight ActiveMQ client jar
> --------------------------------------
>
>                 Key: AMQ-1703
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1703
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: Broker
>    Affects Versions: 5.1.0
>            Reporter: Dejan Bosanac
>            Priority: Minor
>             Fix For: 5.2.0
>
>         Attachments: activemq-client.patch
>
>
> Create a lightweight client JAR for usage in Java applications

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to