[
https://issues.jboss.org/browse/WFLY-10350?page=com.atlassian.jira.plugin...
]
Jeff Mesnil commented on WFLY-10350:
------------------------------------
I check at the content of the duplicated packages from Artemis 1.5.5.jbossorg-010 and
there is no overlapping classes.
{code}
$ ls artemis-commons/src/main/java/org/apache/activemq/artemis/core/buffers/impl/
ChannelBufferWrapper.java
$ ls artemis-core-client/src/main/java/org/apache/activemq/artemis/core/buffers/impl/
ResetLimitWrappedActiveMQBuffer.java
$ ls artemis-commons/src/main/java/org/apache/activemq/artemis/api/core/
ActiveMQAddressExistsException.java ActiveMQIllegalStateException.java
ActiveMQPropertyConversionException.java
ActiveMQAddressFullException.java
ActiveMQIncompatibleClientServerException.java ActiveMQQueueExistsException.java
ActiveMQAlreadyReplicatingException.java
ActiveMQInterceptorRejectedPacketException.java ActiveMQRemoteDisconnectException.java
ActiveMQBuffer.java ActiveMQInternalErrorException.java
ActiveMQSecurityException.java
ActiveMQBuffers.java ActiveMQInterruptedException.java
ActiveMQSessionCreationException.java
ActiveMQClusterSecurityException.java
ActiveMQInvalidFilterExpressionException.java
ActiveMQTransactionOutcomeUnknownException.java
ActiveMQConnectionTimedOutException.java
ActiveMQInvalidTransientQueueUseException.java
ActiveMQTransactionRolledBackException.java
ActiveMQDisconnectedException.java ActiveMQLargeMessageException.java
ActiveMQTransactionTimeoutException.java
ActiveMQDuplicateIdException.java
ActiveMQLargeMessageInterruptedException.java ActiveMQUnBlockedException.java
ActiveMQDuplicateMetaDataException.java ActiveMQNativeIOError.java
ActiveMQUnsupportedPacketException.java
ActiveMQException.java ActiveMQNonExistentQueueException.java
Pair.java
ActiveMQExceptionType.java ActiveMQNotConnectedException.java
SimpleString.java
ActiveMQIOErrorException.java ActiveMQObjectClosedException.java
$ ls artemis-core-client/src/main/java/org/apache/activemq/artemis/api/core/
BaseInterceptor.java JGroupsBroadcastEndpoint.java
TransportConfiguration.java
BroadcastEndpoint.java JGroupsChannelBroadcastEndpoint.java
TransportConfigurationHelper.java
BroadcastEndpointFactory.java JGroupsFileBroadcastEndpoint.java
UDPBroadcastEndpointFactory.java
BroadcastGroupConfiguration.java JGroupsFileBroadcastEndpointFactory.java
client/
ChannelBroadcastEndpointFactory.java JGroupsPropertiesBroadcastEndpoint.java
jgroups/
DiscoveryGroupConfiguration.java
JGroupsPropertiesBroadcastEndpointFactory.java management/
FilterConstants.java JsonUtil.java
Interceptor.java Message.java
{code}
Duplicated packages in artemis modules
--------------------------------------
Key: WFLY-10350
URL:
https://issues.jboss.org/browse/WFLY-10350
Project: WildFly
Issue Type: Bug
Components: JMS
Affects Versions: 12.0.0.Final
Reporter: Erich Duda
Assignee: Jeff Mesnil
As you can see in the following report, some Artemis packages are present in multiple
jars which are parts of different modules. {{artemis-core-client}} jar is located in main
module and {{artemis-commons}} jar is located in {{journal}} module. This is problem for
Jigsaw.
Based on the discussion with [~dmlloyd] This can be solved by adding {{filter}}
subelement to the artemis-commons to filter out duplicated packages.
{code}
142) [Package org.apache.activemq.artemis.api.core is present in multiple jars
[artemis-commons-1.5.5.jbossorg-010.jar, artemis-core-client-1.5.5.jbossorg-010.jar]]
144) [Package org.apache.activemq.artemis.core.buffers.impl is present in multiple jars
[artemis-commons-1.5.5.jbossorg-010.jar, artemis-core-client-1.5.5.jbossorg-010.jar]]
./org/apache/activemq/artemis/main/artemis-core-client-1.5.5.jbossorg-010.jar
./org/apache/activemq/artemis/journal/main/artemis-commons-1.5.5.jbossorg-010.jar
{code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)