Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-5717

Maven: duplicate classes in axis2-kernel versus axis2-transport-http

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 1.6.3
    • 1.6.4, 1.7.0
    • kernel, transports

    Description

      Hi,

      I noticed two bothering things with the maven artefacts deployed to maven central:

      1) axis2-kernel and axis2-transport-http contain duplicate classes, duplicate-finder-maven-plugin tells me this:
      [WARNING] Found duplicate (but equal) classes in [org.apache.axis2:axis2-kernel:1.6.3, org.apache.axis2:axis2-transport-http:1.6.3]:
      [WARNING] org.apache.axis2.transport.http.ApplicationXMLFormatter
      [WARNING] org.apache.axis2.transport.http.HTTPConstants
      [WARNING] org.apache.axis2.transport.http.MultipartFormDataFormatter
      [WARNING] org.apache.axis2.transport.http.SOAPMessageFormatter
      [WARNING] org.apache.axis2.transport.http.XFormURLEncodedFormatter
      [WARNING] org.apache.axis2.transport.http.util.ComplexPart
      [WARNING] org.apache.axis2.transport.http.util.QueryStringParser
      [WARNING] org.apache.axis2.transport.http.util.URIEncoderDecoder
      [WARNING] org.apache.axis2.transport.http.util.URLTemplatingUtil

      2) axis2-transport-http sources artefact does not contain the sources for these classes, so when trying to access the source from Eclipse, it does not look at axis2-kernel sources but at axis2-transport-http sources.

      I think it would be good to not duplicate them and have the sources in the same artefact than the class.

      Thank you!

      Attachments

        Activity

          People

            veithen Andreas Veithen
            victor.noel Victor
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: