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

Some of the versions for Import-Package headers are too restrictive

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5
    • 1.7.5
    • kernel
    • None

    Description

      The MF has the following Import-Package header. Some of the versions are too restrictive:

      For example:
      javax.jms;version="1.1", won't be statified by http://repo2.maven.org/maven2/org/apache/geronimo/specs/geronimo-jms_1.1_spec/1.1.1/geronimo-jms_1.1_spec-1.1.1.jar which exports the javax.jms without a version (default to 0.0.0).

      So are the servlet apis.

      The other issue is that the import version 0.0.0 can only be satified by an export package with 0.0.0. for example, javax.xml.namespace;version="0.0.0", cannot be supplied by an export package with version 1.0. We should remove the 0.0.0.

      Import-Package: com.ibm.wsdl.util.xml,
      javax.activation;version="1.1",
      javax.jms;version="1.1",
      javax.jws;version="2.0",
      javax.mail;version="1.4",
      javax.mail.internet;version="1.4",
      javax.mail.util;version="1.4",
      javax.management,
      javax.naming;resolution:=optional,
      javax.rmi;resolution:=optional,
      javax.servlet;version="2.4.0",
      javax.servlet.http;version="2.4.0",
      javax.transaction,
      javax.wsdl,
      javax.wsdl.extensions,
      javax.wsdl.extensions.http,
      javax.wsdl.extensions.mime,
      javax.wsdl.extensions.schema,
      javax.wsdl.extensions.soap,
      javax.wsdl.extensions.soap12,
      javax.wsdl.factory,
      javax.wsdl.xml,
      javax.xml.namespace;version="0.0.0",
      javax.xml.parsers;resolution:=optional,
      javax.xml.stream;resolution:=optional;version="1.0",
      javax.xml.transform;resolution:=optional,
      javax.xml.transform.dom;resolution:=optional,
      javax.xml.transform.stream;resolution:=optional,
      org.apache.axiom.attachments,
      org.apache.axiom.attachments.impl,
      org.apache.axiom.attachments.lifecycle,
      org.apache.axiom.attachments.lifecycle.impl,
      org.apache.axiom.attachments.utils,
      org.apache.axiom.om,
      org.apache.axiom.om.impl,
      org.apache.axiom.om.impl.builder,
      org.apache.axiom.om.impl.llom,
      org.apache.axiom.om.impl.llom.factory,
      org.apache.axiom.om.impl.util,
      org.apache.axiom.om.util,
      org.apache.axiom.soap,
      org.apache.axiom.soap.impl.builder,
      org.apache.axiom.soap.impl.llom.soap11,
      org.apache.axiom.soap.impl.llom.soap12,
      org.apache.commons.fileupload,
      org.apache.commons.fileupload.disk,
      org.apache.commons.fileupload.servlet,
      org.apache.commons.httpclient,
      org.apache.commons.httpclient.auth,
      org.apache.commons.httpclient.methods,
      org.apache.commons.httpclient.methods.multipart,
      org.apache.commons.httpclient.params,
      org.apache.commons.httpclient.protocol,
      org.apache.commons.httpclient.util,
      org.apache.commons.io;version="1.4",
      org.apache.commons.lang;resolution:=optional,
      org.apache.commons.logging,
      org.apache.http;resolution:=optional,
      org.apache.http.entity;resolution:=optional,
      org.apache.http.impl;resolution:=optional,
      org.apache.http.impl.entity;resolution:=optional,
      org.apache.http.impl.io;resolution:=optional,
      org.apache.http.io;resolution:=optional,
      org.apache.http.message;resolution:=optional,
      org.apache.http.params;resolution:=optional,
      org.apache.http.protocol;resolution:=optional,
      org.apache.http.util;resolution:=optional,
      org.apache.neethi,
      org.apache.woden;version="0.0.0",
      org.apache.woden.internal;version="0.0.0",
      org.apache.woden.internal.wsdl20;version="0.0.0",
      org.apache.woden.internal.wsdl20.extensions;version="0.0.0",
      org.apache.woden.internal.wsdl20.extensions.http;version="0.0.0",
      org.apache.woden.internal.wsdl20.extensions.soap;version="0.0.0",
      org.apache.woden.resolver;version="0.0.0",
      org.apache.woden.schema;version="0.0.0",
      org.apache.woden.types;version="0.0.0",
      org.apache.woden.wsdl20;version="0.0.0",
      org.apache.woden.wsdl20.enumeration;version="0.0.0",
      org.apache.woden.wsdl20.extensions;version="0.0.0",
      org.apache.woden.wsdl20.extensions.http;version="0.0.0",
      org.apache.woden.wsdl20.extensions.rpc;version="0.0.0",
      org.apache.woden.wsdl20.extensions.soap;version="0.0.0",
      org.apache.woden.wsdl20.xml;version="0.0.0",
      org.apache.woden.xml;version="0.0.0",
      org.apache.ws.commons.schema,
      org.apache.ws.commons.schema.constants,
      org.apache.ws.commons.schema.resolver,
      org.apache.ws.commons.schema.utils,
      org.osgi.framework;version="1.3.0",
      org.osgi.service.cm;version="1.2.0",
      org.osgi.service.http;version="1.2.0",
      org.osgi.service.log;version="1.3",
      org.osgi.util.tracker;version="1.3.1",
      org.w3c.dom;resolution:=optional,
      org.xml.sax;resolution:=optional

      Attachments

        Activity

          People

            Unassigned Unassigned
            rfeng Zhaohui Feng
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: