[jboss-user] [Installation, Configuration & Deployment] - Problem deploying Maven2-built files to JBoss 3.2.7

katre do-not-reply at jboss.com
Tue Sep 19 11:11:37 EDT 2006


For a project, we are building a SAR, which conatins several JAR files, using Maven2.  As part of the default Maven2 build process, each JAR file contains a copy of the pom.xml used to build that JAR, in the META-INF directory.  However, the JARDeployer in JBoss 3.2.7 seems to be scanning all JAR files for any XML file in the META-INF directory, and then refusing to load the JAR if the XML file is unrecognized.

It is possible to reconfigure Maven2 not to include the pom.xml, but this is time-consuming and difficult since Maven2 will also download libraries from a central repository, and those JAR files also have the pom.xml.

Is there any way to configure JBoss to not perform this check?  Why does JBoss even do this? It seems confusing and is causing us problems.

Thanks.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3972621#3972621

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3972621



More information about the jboss-user mailing list