0 Replies Latest reply on May 15, 2014 4:15 PM by Garry Dias

    [JBoss AS 7.1] Wildcard module name in jboss-deployment-structure.xml

    Garry Dias Newbie

      Hello

       

      thre´s a way to wildcard a module name in jboss-deployment-structure.xml?

       

      I´ve tried to do this:

      <jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.1">

          <deployment type="deploymentType">

       

       

              <dependencies>

                  <module name="deployment.projetct1-*.jar" />           

              </dependencies>   

             

          </deployment>

      </jboss-deployment-structure>

       

       

       

      but I got this error:

      JBAS014775:    New missing/unsatisfied dependencies:
            service jboss.module.spec.service."deployment.project1-*.jar".main (missing) dependents: [service jboss.module.service."deployment.main-project-1.0.0.war".main]

       

      I want the server to ignore the maven generated artifact version project1-1.0.1.jar but I need to deploy this artifact (and many others) with the version in the file name to become it human readable.

       

      Any solutions? API/Plugins/Good Pratices ??