Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jboss-modules does not respect path excludes #540

Closed
tdiesler opened this issue Apr 15, 2015 · 1 comment
Closed

jboss-modules does not respect path excludes #540

tdiesler opened this issue Apr 15, 2015 · 1 comment
Assignees
Labels
Milestone

Comments

@tdiesler
Copy link
Contributor

We have a module definition like this

<module xmlns="urn:jboss:module:1.1" name="org.apache.camel.spring">
  <resources>
    <resource-root path="camel-spring-2.15.1.jar" />
  </resources>
  <dependencies>
    <module name="javax.api" />
    <module name="javax.xml.bind.api" />
    <module name="org.apache.camel.core" />
    <module name="org.springframework.beans" export="true">
      <exports>
        <exclude path="org/springframework/beans/annotation**" />
        <exclude path="org/springframework/beans/propertyeditors**" />
        <exclude path="org/springframework/beans/support**" />
        <exclude path="org/springframework/beans/factory/**" />
      </exports>
    </module>
    <module name="org.springframework.context" />
    <module name="org.springframework.core" />
    <module name="org.springframework.tx" export="true">
      <exports>
        <exclude path="org/springframework/dao**" />
        <exclude path="org/springframework/jca**" />
      </exports>
    </module>
    <module name="org.slf4j" />
  </dependencies>
  <exports>
    <exclude path="org/apache/camel/component/event**" />
    <exclude path="org/apache/camel/core**" />
    <exclude path="org/apache/camel/language/spel**" />
    <exclude path="org/apache/camel/osgi**" />
  </exports>
</module>

The expected behaviour is that a client of this module can load org.apache.camel.spring.SpringCamelContext but not org.apache.camel.osgi.OsgiSpringCamelContext

It seems that export excludes are generally ignored.

CrossRef: https://issues.jboss.org/browse/WFLY-4524

@tdiesler tdiesler added the bug label Apr 15, 2015
@tdiesler tdiesler self-assigned this Apr 15, 2015
@tdiesler tdiesler added this to the 3.0.0 Alpha1 milestone Apr 15, 2015
tdiesler pushed a commit to tdiesler/wildfly-camel that referenced this issue Apr 16, 2015
tdiesler pushed a commit that referenced this issue Apr 16, 2015
tdiesler pushed a commit to tdiesler/wildfly-camel that referenced this issue Apr 17, 2015
@tdiesler
Copy link
Contributor Author

Blocked on jboss-modules-1.4.3.Final

tdiesler pushed a commit to tdiesler/wildfly-camel that referenced this issue Apr 17, 2015
tdiesler pushed a commit to tdiesler/wildfly-camel that referenced this issue Apr 17, 2015
tdiesler pushed a commit to tdiesler/wildfly-camel that referenced this issue Apr 20, 2015
tdiesler pushed a commit to tdiesler/wildfly-camel that referenced this issue Apr 20, 2015
@tdiesler tdiesler removed the blocked label May 6, 2015
@tdiesler tdiesler closed this as completed May 6, 2015
tdiesler pushed a commit to tdiesler/wildfly-camel that referenced this issue May 30, 2015
tdiesler pushed a commit to tdiesler/wildfly-camel that referenced this issue Jun 1, 2015
tdiesler pushed a commit to tdiesler/wildfly-camel that referenced this issue Jun 1, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant