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

[WFLY-1487] Fix access to META-INF subdirectories #4655

Merged
merged 2 commits into from Jun 18, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion pom.xml
Expand Up @@ -187,7 +187,7 @@
<version.org.jboss.marshalling.jboss-marshalling>1.3.16.GA</version.org.jboss.marshalling.jboss-marshalling>
<version.org.jboss.metadata>8.0.0.Alpha3</version.org.jboss.metadata>
<version.org.jboss.mod_cluster>1.2.3.Final</version.org.jboss.mod_cluster>
<version.org.jboss.modules.jboss-modules>1.2.1.Final</version.org.jboss.modules.jboss-modules>
<version.org.jboss.modules.jboss-modules>1.2.2.Final</version.org.jboss.modules.jboss-modules>
<version.org.jboss.msc.jboss-msc>1.2.0.Beta1</version.org.jboss.msc.jboss-msc>
<version.org.jboss.osgi.deployment>2.0.0.CR4</version.org.jboss.osgi.deployment>
<version.org.jboss.osgi.framework>3.0.0.CR22</version.org.jboss.osgi.framework>
Expand Down
Expand Up @@ -106,6 +106,7 @@ public void deploy(DeploymentPhaseContext phaseContext) throws DeploymentUnitPro

// Make sure the root does not end up in the module, only META-INF
deploymentResourceRoot.getExportFilters().add(new FilterSpecification(PathFilters.getMetaInfFilter(), true));
deploymentResourceRoot.getExportFilters().add(new FilterSpecification(PathFilters.getMetaInfSubdirectoriesFilter(), true));
deploymentResourceRoot.getExportFilters().add(new FilterSpecification(PathFilters.acceptAll(), false));
ModuleRootMarker.mark(deploymentResourceRoot, true);
}
Expand Down
Expand Up @@ -106,6 +106,7 @@ public void deploy(DeploymentPhaseContext phaseContext) throws DeploymentUnitPro

// Make sure the root does not end up in the module, only META-INF
deploymentResourceRoot.getExportFilters().add(new FilterSpecification(PathFilters.getMetaInfFilter(), true));
deploymentResourceRoot.getExportFilters().add(new FilterSpecification(PathFilters.getMetaInfSubdirectoriesFilter(), true));
deploymentResourceRoot.getExportFilters().add(new FilterSpecification(PathFilters.acceptAll(), false));
ModuleRootMarker.mark(deploymentResourceRoot, true);
}
Expand Down