dev@glassfish.java.net

Superfluous export-package instructions

From: Bill Shannon <bill.shannon_at_oracle.com>
Date: Wed, 21 Apr 2010 10:02:22 -0700

I was noticing that a full build generates these warnings.
Probably many of these are errors that should be fixed.
Can anyone explain which of these are *NOT* errors?

For instance, is there a reason to export "org" or "com"?

[WARNING] Warning in manifest for
org.glassfish.common:glassfish-api:hk2-jar:3.1-SNAPSHOT : Superfluous
export-package instructions: [org.glassfish.api.admin.cli,
org.glassfish.api.managedbean, org.glassfish.api.interceptor]
[WARNING] Warning in manifest for
org.glassfish.common:common-util:hk2-jar:3.1-SNAPSHOT : Superfluous
export-package instructions: [com.sun.enterprise.util.diagnostics,
com.sun.logging.enterprise.system.core, com.sun.appserv.ha.spi]
[WARNING] Warning in manifest for
org.glassfish.common:internal-api:hk2-jar:3.1-SNAPSHOT : Superfluous
export-package instructions: [org.glassfish.transaction.api,
org.glassfish.j2ee.statistics]
[WARNING] Warning in manifest for
org.glassfish.external:asm-all-repackaged:jar:3.1-SNAPSHOT : Superfluous
export-package instructions: [org.objectweb.asm.*]
[WARNING] Warning in manifest for
org.glassfish.cluster:cluster-common:hk2-jar:3.1-SNAPSHOT : Superfluous
export-package instructions: [com.sun.enterprise.util, com, com.sun,
com.sun.enterprise]
[WARNING] Warning in manifest for
org.glassfish.cluster:cluster-admin:hk2-jar:3.1-SNAPSHOT : Superfluous
export-package instructions: [com.sun.enterprise.v3,
com.sun.enterprise.v3.admin, com, com.sun, com.sun.enterprise]
[WARNING] Warning in manifest for org.glassfish:javax.xml.rpc:jar:3.1-SNAPSHOT :
Superfluous export-package instructions: [javax.xml.rpc.*]
[WARNING] Warning in manifest for org.glassfish:javax.ejb:jar:3.1-SNAPSHOT :
Superfluous export-package instructions: [javax.xml.rpc.handler]
[WARNING] Warning in manifest for
org.glassfish.external:ldapbp-repackaged:jar:3.1-SNAPSHOT : Superfluous
export-package instructions: [*]
[WARNING] Warning in manifest for
org.glassfish.cluster:cluster-cli:hk2-jar:3.1-SNAPSHOT : Superfluous
export-package instructions: [com.sun.enterprise.admin, com,
com.sun.enterprise.admin.cli, com.sun, com.sun.enterprise]
[WARNING] Warning in manifest for org.glassfish:javax.jms:jar:3.1-SNAPSHOT :
Superfluous export-package instructions: [javax.jms.*]
[WARNING] Warning in manifest for org.glassfish:javax.jws:jar:3.1-SNAPSHOT :
Superfluous export-package instructions: [javax.jws.*]
[WARNING] Warning in manifest for
org.glassfish:javax.servlet.jsp:jar:3.1-SNAPSHOT : Superfluous export-package
instructions: [javax.servlet.jsp.*, javax.el.*]
[WARNING] Warning in manifest for
org.glassfish:javax.servlet.jsp.jstl:jar:3.1-SNAPSHOT : Superfluous
export-package instructions: [javax.servlet.jsp.jstl.*]
[WARNING] Warning in manifest for org.glassfish:javax.xml.soap:jar:3.1-SNAPSHOT
: Superfluous export-package instructions: [javax.xml.soap.*]
[WARNING] Warning in manifest for
org.glassfish.external:jmxremote_optional-repackaged:jar:3.1-SNAPSHOT :
Superfluous export-package instructions: [*]
[WARNING] Warning in manifest for
org.glassfish.common:amx-core-impl:hk2-jar:3.1-SNAPSHOT : Superfluous
export-package instructions: [org.glassfish.admin.amx.impl.path,
org.glassfish.admin.amx.impl.cmd, org.glassfish.admin.amx.impl.loader]
[WARNING] Warning in manifest for
org.glassfish.common:amx-config:hk2-jar:3.1-SNAPSHOT : Superfluous
export-package instructions: [org.glassfish.admin.amx.intf.config.grizzly.*]
[WARNING] Warning in manifest for
org.glassfish.persistence.cmp:cmp-internal-api:hk2-jar:3.1-SNAPSHOT :
Superfluous export-package instructions: [com, com.sun.jdo.api, com.sun.jdo,
com.sun, com.sun.jdo.api.persistence]
[WARNING] Warning in manifest for
org.glassfish.persistence.cmp:cmp-utility:hk2-jar:3.1-SNAPSHOT : Superfluous
export-package instructions: [com, com.sun.jdo.spi, com.sun.jdo.spi.persistence,
com.sun.jdo, com.sun]
[WARNING] Warning in manifest for
org.glassfish.external:dbschema-repackaged:jar:3.1-SNAPSHOT : Superfluous
export-package instructions: [org.netbeans.modules.dbschema.*]
[WARNING] Warning in manifest for
org.glassfish.persistence.cmp:cmp-model:hk2-jar:3.1-SNAPSHOT : Superfluous
export-package instructions: [com, com.sun.jdo.api, com.sun.jdo, com.sun,
com.sun.jdo.api.persistence]
[WARNING] Warning in manifest for
org.glassfish.external:antlr-repackaged:jar:3.1-SNAPSHOT : Superfluous
export-package instructions: [antlr.*]
[WARNING] Warning in manifest for
org.glassfish.admin:monitoring-core:hk2-jar:3.1-SNAPSHOT : Superfluous
export-package instructions: [org.glassfish.flashlight]
[WARNING] Warning in manifest for
org.glassfish.persistence.cmp:cmp-support-sqlstore:hk2-jar:3.1-SNAPSHOT :
Superfluous export-package instructions: [com,
com.sun.jdo.spi.persistence.support, com.sun.jdo.spi.persistence, com.sun.jdo,
com.sun.jdo.spi.persistence.support.sqlstore.query.util, com.sun, com.sun.jdo.spi]
[WARNING] Warning in manifest for
org.glassfish.persistence.cmp:cmp-generator-database:hk2-jar:3.1-SNAPSHOT :
Superfluous export-package instructions: [com,
com.sun.jdo.spi.persistence.generator, com.sun.jdo.spi,
com.sun.jdo.spi.persistence, com.sun.jdo, com.sun]
[WARNING] Warning in manifest for
org.glassfish.external:schema2beans-repackaged:jar:3.1-SNAPSHOT : Superfluous
export-package instructions: [org.netbeans.modules.schema2beans.*]
[WARNING] Warning in manifest for
org.glassfish.persistence.cmp:cmp-ejb-mapping:hk2-jar:3.1-SNAPSHOT : Superfluous
export-package instructions: [com, com.sun.jdo.api.persistence.mapping,
com.sun.jdo.api, com.sun.jdo, com.sun, com.sun.jdo.api.persistence]
[WARNING] Warning in manifest for
org.glassfish.persistence.cmp:cmp-enhancer:hk2-jar:3.1-SNAPSHOT : Superfluous
export-package instructions: [com, com.sun.jdo.api, com.sun.jdo, com.sun,
com.sun.jdo.api.persistence]
[WARNING] Warning in manifest for
org.glassfish.persistence.cmp:cmp-support-ejb:hk2-jar:3.1-SNAPSHOT : Superfluous
export-package instructions: [com, com.sun,
com.sun.jdo.spi.persistence.support.ejb, com.sun.jdo.spi,
com.sun.jdo.spi.persistence.support.ejb.enhancer,
com.sun.jdo.spi.persistence.support, com.sun.jdo.spi.persistence, com.sun.jdo]
[WARNING] Warning in manifest for
org.glassfish.common:amx-ext-impl:hk2-jar:3.1-SNAPSHOT : Superfluous
export-package instructions: [org.glassfish.admin.amx.ext.*]
[WARNING] Warning in manifest for
org.glassfish.core:javaee-kernel:hk2-jar:3.1-SNAPSHOT : Superfluous
export-package instructions: [org, org.glassfish.kernel, org.glassfish]
[WARNING] Warning in manifest for
org.glassfish.web:jstl-connector:hk2-jar:3.1-SNAPSHOT : Superfluous
export-package instructions: [org.apache.taglibs.standard]
[WARNING] Warning in manifest for
org.glassfish.web:web-embed-api:hk2-jar:3.1-SNAPSHOT : Superfluous
export-package instructions: [org.glassfish.web, org.glassfish.api, org,
org.glassfish.api.embedded, org.glassfish]
[WARNING] Warning in manifest for
org.glassfish.web:web-glue:hk2-jar:3.1-SNAPSHOT : Superfluous export-package
instructions: [com.sun.enterprise.web.logging.pwc,
com.sun.enterprise.web.monitor, com.sun.enterprise.web.monitor.impl,
com.sun.enterprise.web.stats]
[WARNING] Warning in manifest for
org.glassfish.web:web-embed-impl:hk2-jar:3.1-SNAPSHOT : Superfluous
export-package instructions: [org.glassfish.web, org, org.glassfish.web.embed,
org.glassfish]
[WARNING] Warning in manifest for
org.glassfish.extras:grizzly-container:hk2-jar:3.1-SNAPSHOT : Superfluous
export-package instructions: [org.glassfish.extras, org, org.glassfish]
[WARNING] Warning in manifest for
org.glassfish.extras:osgi-container:hk2-jar:3.1-SNAPSHOT : Superfluous
export-package instructions: [org.glassfish.extras, org, org.glassfish]
[WARNING] Warning in manifest for
org.glassfish.upgrade:upgrade-tool:hk2-jar:3.1-SNAPSHOT : Superfluous
export-package instructions: [com, com.sun.enterprise.tools, com.sun,
com.sun.enterprise]
[WARNING] Warning in manifest for
org.glassfish.admingui:dataprovider:jar:3.1-SNAPSHOT : Superfluous
export-package instructions: [com.sun.data.*]
[WARNING] Warning in manifest for
org.glassfish.admingui:console-common:hk2-jar:3.1-SNAPSHOT : Superfluous
export-package instructions: [org.glassfish.admingui.handlers]
[WARNING] Warning in manifest for
org.glassfish.external:sysnet-registration-repackaged:jar:3.1-SNAPSHOT :
Superfluous export-package instructions: [*]
[WARNING] Warning in manifest for
org.glassfish.external:commons-codec-repackaged:jar:3.1-SNAPSHOT : Superfluous
export-package instructions: [*]
[WARNING] Warning in manifest for
org.glassfish.admingui:console-core:hk2-jar:3.1-SNAPSHOT : Superfluous
export-package instructions: [org.glassfish.admingui.plugin, org.glassfish.admingui]
[WARNING] Warning in manifest for
org.glassfish.admingui:console-jts-plugin:hk2-jar:3.1-SNAPSHOT : Superfluous
export-package instructions: [org.glassfish.jts, org, org.glassfish]
[WARNING] Warning in manifest for
org.glassfish.admingui:console-jms-plugin:hk2-jar:3.1-SNAPSHOT : Superfluous
export-package instructions: [org.glassfish.jdbc.admingui]
[WARNING] Warning in manifest for
org.glassfish.admingui:console-jython-plugin:hk2-jar:3.1-SNAPSHOT : Superfluous
export-package instructions: [org.glassfish.jruby.admingui]
[WARNING] Warning in manifest for
org.glassfish.orb:orb-enabler:hk2-jar:3.1-SNAPSHOT : Superfluous export-package
instructions: [org, org.glassfish.enterprise.api, org.glassfish.enterprise,
org.glassfish]
[WARNING] Warning in manifest for org.glassfish:osgi-http:hk2-jar:3.1-SNAPSHOT :
Superfluous export-package instructions: [org.osgi.service.http]
[WARNING] Warning in manifest for
org.glassfish:osgi-web-container:hk2-jar:3.1-SNAPSHOT : Superfluous
export-package instructions: [org, org.glassfish]
[WARNING] Warning in manifest for
org.glassfish.security:inmemory.jacc.provider:hk2-jar:3.1-SNAPSHOT : Superfluous
export-package instructions: [com.sun.enterprise.security.jacc, com, com.sun,
com.sun.enterprise.security, com.sun.enterprise]
[WARNING] Warning in manifest for org.glassfish.external:ant:jar:3.1-SNAPSHOT :
Superfluous export-package instructions: [*]
[WARNING] Warning in manifest for
org.glassfish.webservices:webservices-connector:hk2-jar:3.1-SNAPSHOT :
Superfluous export-package instructions: [org.glassfish.webservices, org,
org.glassfish]
[WARNING] Warning in manifest for
org.glassfish.security:webservices.security:hk2-jar:3.1-SNAPSHOT : Superfluous
export-package instructions: [com, com.sun.enterprise.security.jmac, com.sun,
com.sun.enterprise.security, com.sun.enterprise]
[WARNING] Warning in manifest for
org.glassfish.osgi-platforms:felix-webconsole-extension:hk2-jar:3.1-SNAPSHOT :
Superfluous export-package instructions: [res]
[WARNING] Warning in manifest for
org.glassfish:osgi-ejb-container:hk2-jar:3.1-SNAPSHOT : Superfluous
export-package instructions: [org, org.glassfish]
[WARNING] Warning in manifest for org.glassfish:osgi-jta:hk2-jar:3.1-SNAPSHOT :
Superfluous export-package instructions: [org, org.glassfish]