我想从DOCTYPE
删除jboss-app.xml
行。我不希望在自动生成的jboss-app.xml
<DOCTYPE jboss-app PUBLIC "-//JBoss//DTD Java EE Application 5.0//EN"
"http://www.jboss.org/j2ee/dtd/jboss-app_5_0.dtd">
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-ear-plugin</artifactId>
<configuration>
<defaultLibBundleDir>/APP-INF/lib</defaultLibBundleDir>
<version>5</version>
<modules>
<ejbModule>
<groupId>test-project</groupId>
<artifactId>test-ejb</artifactId>
<bundleFileName>test-ejb-0.0.1-SNAPSHOT.jar</bundleFileName>
<bundleDir>/</bundleDir>
</ejbModule>
</modules>
<archive>
<manifest>
<addClasspath>false</addClasspath>
</manifest>
</archive>
<jboss>
<version>5</version>
<loader-repository>com.test:archive=com.test.services</loader-repository>
</jboss>
</configuration>
</plugin>