-
Bug
-
Resolution: Done
-
Major
-
1.0.0.Beta15
-
None
Parsing this
<?xml version="1.0" ?>
<module xmlns="urn:jboss:module:1.0" name="jboss.surefire.module">
<main-class name="org.apache.maven.surefire.booter.SurefireBooter"/>
<resources>
<resource-root path="surefire-api-2.6.jar"/>
<resource-root path="surefire-booter-1.0.0.Alpha2.jar"/>
<resource-root path="jboss-as-arquillian-container-embedded-7.0.0.Alpha2-SNAPSHOT.jar">
<filter>
<exclude path="META-INF/services/META-INF/services/org.jboss.arquillian.spi.DeploymentPackager"/>
<include path="**"/>
</filter>
</resource-root>
....
I get:
Exception in thread "main" org.jboss.modules.ModuleLoadException: Error loading module from /Users/kabir/sourcecontrol/jboss-as7/git/jboss-as/testsuite/smoke/target/modules/jboss/surefire/module/main/module.xml
at org.jboss.modules.ModuleXmlParser.parseModuleXml(ModuleXmlParser.java:236)
at org.jboss.modules.ModuleXmlParser.parseModuleXml(ModuleXmlParser.java:196)
at org.jboss.modules.LocalModuleLoader.parseModuleInfoFile(LocalModuleLoader.java:130)
at org.jboss.modules.LocalModuleLoader.findModule(LocalModuleLoader.java:109)
at org.jboss.modules.ModuleLoader.loadModuleLocal(ModuleLoader.java:225)
at org.jboss.modules.ModuleLoader.preloadModule(ModuleLoader.java:174)
at org.jboss.modules.LocalModuleLoader.preloadModule(LocalModuleLoader.java:82)
at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:156)
at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:152)
at org.jboss.modules.Main.main(Main.java:228)
Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[11,22]
Message: Unexpected content of type 'element end' named '
filter'
at org.jboss.modules.ModuleXmlParser.unexpectedContent(ModuleXmlParser.java:299)
at org.jboss.modules.ModuleXmlParser.parseResourceRoot(ModuleXmlParser.java:758)
at org.jboss.modules.ModuleXmlParser.parseResources(ModuleXmlParser.java:694)
at org.jboss.modules.ModuleXmlParser.parseModuleContents(ModuleXmlParser.java:562)
at org.jboss.modules.ModuleXmlParser.parseDocument(ModuleXmlParser.java:492)
at org.jboss.modules.ModuleXmlParser.parseModuleXml(ModuleXmlParser.java:231)
... 9 more