My use-case:
- Using the maven-ear-plugin to generate the application.xml deployment
descriptor.
- Want to include a SAR module in the deployment descriptor.
- Found out about ejbModule, warModule and javaModule but could not find
any info on how to generate a connector module. So I tried the obvious:

<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-ear-plugin</artifactId>
  <version>2.1</version>
  <configuration>
    <generateApplicationXml>true</generateApplicationXml>
    <modules>
        <connectorModule>
       <groupId>myGroup</groupId>
       <artifactId>myArtifact</artifactId>
       <includeInApplicationXml>true</includeInApplicationXml>
     </connectorModule>
   ...

Didn't work though :( 

How is generating a connector module done? I read the plugin
configuration doc and found that "modules" is of type "EarModule". Where
can I find info on the definition of "EarModule"?


PS. I realize a SAR is JBoss-specific, but the connector module is not.
It's been part of the J2EE spec since 1.3, see
http://java.sun.com/dtd/application_1_3.dtd




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to