ws-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Hammer (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AXIOM-470) Maven: duplicate classes in axiom-dom versus axiom-impl
Date Mon, 29 Jan 2018 12:16:00 GMT

    [ https://issues.apache.org/jira/browse/AXIOM-470?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16343287#comment-16343287
] 

Carsten Hammer commented on AXIOM-470:
--------------------------------------

I get the same problem depending in an application from axiom-impl and aspectjweaver at the
same time.

Then I get a 'overlapping classes'  warning:
{noformat}
[WARNING] org.aspectj.lang.NoAspectBoundException
[WARNING] org.aspectj.lang.annotation.Aspect{noformat}
Running jmh tests is implemented using the maven-shade-plugin and as long this problem is
not solved I cannot stop the ci build because of such problems.

 

> Maven: duplicate classes in axiom-dom versus axiom-impl
> -------------------------------------------------------
>
>                 Key: AXIOM-470
>                 URL: https://issues.apache.org/jira/browse/AXIOM-470
>             Project: Axiom
>          Issue Type: Bug
>    Affects Versions: 1.2.15
>            Reporter: Victor
>            Priority: Minor
>              Labels: maven
>
> Hi,
> I noticed a bothering thing with the maven artefacts deployed to maven central: axiom-dom
and axiom-impl contain duplicate classes, duplicate-finder-maven-plugin tells me this:
> [WARNING] Found duplicate (but equal) classes in [org.apache.ws.commons.axiom:axiom-dom:1.2.15,
org.apache.ws.commons.axiom:axiom-impl:1.2.15]:
> [WARNING]   org.apache.axiom.core.CoreAttribute
> [WARNING]   org.apache.axiom.core.CoreAttributeSupport
> [WARNING]   org.apache.axiom.core.CoreCDATASection
> [WARNING]   org.apache.axiom.core.CoreCharacterData
> [WARNING]   org.apache.axiom.core.CoreCharacterDataSupport
> [WARNING]   org.apache.axiom.core.CoreChildNode
> [WARNING]   org.apache.axiom.core.CoreChildNodeSupport
> [WARNING]   org.apache.axiom.core.CoreComment
> [WARNING]   org.apache.axiom.core.CoreCommentSupport
> [WARNING]   org.apache.axiom.core.CoreDocument
> [WARNING]   org.apache.axiom.core.CoreDocumentFragment
> [WARNING]   org.apache.axiom.core.CoreDocumentSupport
> [WARNING]   org.apache.axiom.core.CoreElement
> [WARNING]   org.apache.axiom.core.CoreNode
> [WARNING]   org.apache.axiom.core.CoreNodeSupport
> [WARNING]   org.apache.axiom.core.CoreParentNode
> [WARNING]   org.apache.axiom.core.CoreParentNodeSupport
> [WARNING]   org.apache.axiom.core.DeferringParentNode
> [WARNING]   org.apache.axiom.core.DeferringParentNodeSupport
> [WARNING]   org.apache.axiom.core.NodeFactory
> [WARNING]   org.apache.axiom.core.NonDeferringParentNode
> [WARNING]   org.apache.axiom.om.impl.common.AxiomAttribute
> [WARNING]   org.apache.axiom.om.impl.common.AxiomAttributeSupport
> [WARNING]   org.apache.axiom.om.impl.common.AxiomCDATASection
> [WARNING]   org.apache.axiom.om.impl.common.AxiomCDATASectionSupport
> [WARNING]   org.apache.axiom.om.impl.common.AxiomCharacterData
> [WARNING]   org.apache.axiom.om.impl.common.AxiomCharacterDataSupport
> [WARNING]   org.apache.axiom.om.impl.common.AxiomChildNode
> [WARNING]   org.apache.axiom.om.impl.common.AxiomChildNodeSupport
> [WARNING]   org.apache.axiom.om.impl.common.AxiomComment
> [WARNING]   org.apache.axiom.om.impl.common.AxiomCommentSupport
> [WARNING]   org.apache.axiom.om.impl.common.AxiomContainer
> [WARNING]   org.apache.axiom.om.impl.common.AxiomContainerSupport
> [WARNING]   org.apache.axiom.om.impl.common.AxiomDocType
> [WARNING]   org.apache.axiom.om.impl.common.AxiomDocument
> [WARNING]   org.apache.axiom.om.impl.common.AxiomDocumentSupport
> [WARNING]   org.apache.axiom.om.impl.common.AxiomElement
> [WARNING]   org.apache.axiom.om.impl.common.AxiomElementSupport
> [WARNING]   org.apache.axiom.om.impl.common.AxiomEntityReference
> [WARNING]   org.apache.axiom.om.impl.common.AxiomInformationItem
> [WARNING]   org.apache.axiom.om.impl.common.AxiomInformationItemSupport
> [WARNING]   org.apache.axiom.om.impl.common.AxiomLeafNode
> [WARNING]   org.apache.axiom.om.impl.common.AxiomLeafNodeSupport
> [WARNING]   org.apache.axiom.om.impl.common.AxiomNamedInformationItem
> [WARNING]   org.apache.axiom.om.impl.common.AxiomNamedInformationItemSupport
> [WARNING]   org.apache.axiom.om.impl.common.AxiomProcessingInstruction
> [WARNING]   org.apache.axiom.om.impl.common.AxiomSerializable
> [WARNING]   org.apache.axiom.om.impl.common.AxiomSerializableSupport
> [WARNING]   org.apache.axiom.om.impl.common.AxiomText
> [WARNING]   org.apache.axiom.om.impl.common.AxiomTextSupport
> [WARNING]   org.apache.axiom.om.impl.common.InformationItem
> [WARNING]   org.apache.axiom.om.impl.common.LiveNamespaceContext
> [WARNING]   org.apache.axiom.om.impl.common.NamespaceIterator
> [WARNING]   org.apache.axiom.om.impl.common.NamespaceURIInterningNamespaceContextWrapper
> [WARNING]   org.apache.axiom.om.impl.common.NamespaceURIInterningXMLStreamReaderWrapper
> [WARNING]   org.apache.axiom.om.impl.common.OMAbstractIterator
> [WARNING]   org.apache.axiom.om.impl.common.OMChildElementIterator
> [WARNING]   org.apache.axiom.om.impl.common.OMChildrenLegacyQNameIterator
> [WARNING]   org.apache.axiom.om.impl.common.OMChildrenLocalNameIterator
> [WARNING]   org.apache.axiom.om.impl.common.OMChildrenNamespaceIterator
> [WARNING]   org.apache.axiom.om.impl.common.OMChildrenQNameIterator
> [WARNING]   org.apache.axiom.om.impl.common.OMContentHandler
> [WARNING]   org.apache.axiom.om.impl.common.OMDataSourceUtil
> [WARNING]   org.apache.axiom.om.impl.common.OMDescendantsIterator
> [WARNING]   org.apache.axiom.om.impl.common.OMDocumentHelper
> [WARNING]   org.apache.axiom.om.impl.common.OMNamespaceImpl
> [WARNING]   org.apache.axiom.om.impl.common.SAXResultContentHandler
> [WARNING]   org.apache.axiom.om.impl.common.factory.AbstractOMMetaFactory
> [WARNING]   org.apache.axiom.om.impl.common.factory.AxiomNodeFactory
> [WARNING]   org.apache.axiom.om.impl.common.factory.AxiomNodeFactorySupport
> [WARNING]   org.apache.axiom.om.impl.common.factory.DOMNamespaceContext
> [WARNING]   org.apache.axiom.om.impl.common.factory.DOMUtils
> [WARNING]   org.apache.axiom.om.impl.common.factory.DOMXMLStreamReader
> [WARNING]   org.apache.axiom.om.impl.common.factory.DetachableInputStream
> [WARNING]   org.apache.axiom.om.impl.common.factory.DetachableReader
> [WARNING]   org.apache.axiom.om.impl.common.factory.SAXOMBuilder
> [WARNING]   org.apache.axiom.om.impl.common.serializer.pull.AbstractWrapper
> [WARNING]   org.apache.axiom.om.impl.common.serializer.pull.ClosedState
> [WARNING]   org.apache.axiom.om.impl.common.serializer.pull.EndDocumentState
> [WARNING]   org.apache.axiom.om.impl.common.serializer.pull.IncludeWrapper
> [WARNING]   org.apache.axiom.om.impl.common.serializer.pull.Navigator
> [WARNING]   org.apache.axiom.om.impl.common.serializer.pull.NullCharacterDataReader
> [WARNING]   org.apache.axiom.om.impl.common.serializer.pull.NullDTDReader
> [WARNING]   org.apache.axiom.om.impl.common.serializer.pull.NullDataHandlerReader
> [WARNING]   org.apache.axiom.om.impl.common.serializer.pull.OMXMLStreamReaderExAdapter
> [WARNING]   org.apache.axiom.om.impl.common.serializer.pull.PullSerializer
> [WARNING]   org.apache.axiom.om.impl.common.serializer.pull.PullSerializerState
> [WARNING]   org.apache.axiom.om.impl.common.serializer.pull.PullThroughWrapper
> [WARNING]   org.apache.axiom.om.impl.common.serializer.push.OutputException
> [WARNING]   org.apache.axiom.om.impl.common.serializer.push.Serializer
> [WARNING]   org.apache.axiom.om.impl.common.serializer.push.sax.ContentHandlerWriter
> [WARNING]   org.apache.axiom.om.impl.common.serializer.push.sax.ContentHandlerXMLStreamWriter
> [WARNING]   org.apache.axiom.om.impl.common.serializer.push.sax.SAXExceptionWrapper
> [WARNING]   org.apache.axiom.om.impl.common.serializer.push.sax.SAXHelper
> [WARNING]   org.apache.axiom.om.impl.common.serializer.push.sax.SAXOutputException
> [WARNING]   org.apache.axiom.om.impl.common.serializer.push.sax.SAXSerializer
> [WARNING]   org.apache.axiom.om.impl.common.serializer.push.sax.XMLReaderImpl
> [WARNING]   org.apache.axiom.om.impl.common.serializer.push.stax.StAXOutputException
> [WARNING]   org.apache.axiom.om.impl.common.serializer.push.stax.StAXSerializer
> [WARNING]   org.apache.axiom.soap.impl.common.AxiomSOAP11Fault
> [WARNING]   org.apache.axiom.soap.impl.common.AxiomSOAP11FaultCode
> [WARNING]   org.apache.axiom.soap.impl.common.AxiomSOAP11FaultDetail
> [WARNING]   org.apache.axiom.soap.impl.common.AxiomSOAP11FaultReason
> [WARNING]   org.apache.axiom.soap.impl.common.AxiomSOAP11FaultRole
> [WARNING]   org.apache.axiom.soap.impl.common.AxiomSOAP11FaultSupport
> [WARNING]   org.apache.axiom.soap.impl.common.AxiomSOAP12Fault
> [WARNING]   org.apache.axiom.soap.impl.common.AxiomSOAP12FaultCode
> [WARNING]   org.apache.axiom.soap.impl.common.AxiomSOAP12FaultDetail
> [WARNING]   org.apache.axiom.soap.impl.common.AxiomSOAP12FaultNode
> [WARNING]   org.apache.axiom.soap.impl.common.AxiomSOAP12FaultReason
> [WARNING]   org.apache.axiom.soap.impl.common.AxiomSOAP12FaultRole
> [WARNING]   org.apache.axiom.soap.impl.common.AxiomSOAP12FaultSupport
> [WARNING]   org.apache.axiom.soap.impl.common.AxiomSOAPFault
> [WARNING]   org.apache.axiom.soap.impl.common.AxiomSOAPFaultCode
> [WARNING]   org.apache.axiom.soap.impl.common.AxiomSOAPFaultDetail
> [WARNING]   org.apache.axiom.soap.impl.common.AxiomSOAPFaultDetailSupport
> [WARNING]   org.apache.axiom.soap.impl.common.AxiomSOAPFaultReason
> [WARNING]   org.apache.axiom.soap.impl.common.AxiomSOAPFaultRole
> [WARNING]   org.apache.axiom.soap.impl.common.Checker
> [WARNING]   org.apache.axiom.soap.impl.common.HeaderIterator
> [WARNING]   org.apache.axiom.soap.impl.common.MURoleChecker
> [WARNING]   org.apache.axiom.soap.impl.common.RoleChecker
> [WARNING]   org.apache.axiom.soap.impl.common.RolePlayerChecker
> [WARNING]   org.apache.axiom.soap.impl.common.SOAPHelper
> [WARNING]   org.aspectj.internal.lang.annotation.ajcDeclareParents
> [WARNING]   org.aspectj.lang.NoAspectBoundException
> [WARNING]   org.aspectj.lang.annotation.Aspect
> I guess they are maybe not meant to be used at the same time in the same project, but
the thing is projects like Axis2 depends on both of them (for example see axis2-jaxws that
depends on axiom-dom and also on axiom-impl through axis2-kernel).
> The best would still be to have one artefact for the common classes and have both artefacts
depends on it...



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org


Mime
View raw message