jboss-as-maven-plugin pom 配置

问题描述 投票:0回答:1

我正在使用

jboss-as-maven-plugin
pom.xml
中。我可以在网上找到一些文档,但没有关于配置...

例如,我有这个:

<plugin>
    <groupId>org.jboss.as.plugins</groupId>
    <artifactId>jboss-as-maven-plugin</artifactId>
    <version>7.8.Final</version>
    <configuration>
        <!--
             In produzione c'e' JBoss EAP 6.3 => JBoss AS 7.4.0.Final
             ma tale release non e' disponibile nei repo Maven
             quindi usiamo la versione piu' simile disponibile
          -->
        <version>7.4.0.Final-redhat-4</version>
        <jvmArgs>-Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true
            -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000
            -Dsun.rmi.dgc.server.gcInterval=3600000
            -Djboss.socket.binding.port-offset=100
            -Djboss.server.config.dir=${project.build.testOutputDirectory}/configuration
            ${jacocoAgent}
        <!--    &lt;!&ndash;per eseguire il debug remoto rimuovere il commento dalla riga sottostante-->
        <!--    -Xrunjdwp:transport=dt_socket,address=33333,server=y,suspend=y-->
        </jvmArgs>
        <port>10099</port>
    </configuration>
    <executions>
        <execution>
            <id>start</id>
            <phase>pre-integration-test</phase>
            <goals>
                <goal>start</goal>
            </goals>
            <configuration>
                <startup-timeout>120</startup-timeout>
            </configuration>
        </execution>
        <execution>
            <id>avoid-console-logging</id>
            <phase>pre-integration-test</phase>
            <goals>
                <goal>execute-commands</goal>
            </goals>
            <configuration>
                <execute-commands>
                    <commands>
                        <command>/subsystem=logging/root-logger=ROOT:root-logger-unassign-handler(name="CONSOLE")</command>
                    </commands>
                </execute-commands>
            </configuration>
        </execution>
        <execution>
            <id>deploy</id>
            <phase>pre-integration-test</phase>
            <goals>
                <goal>deploy</goal>
            </goals>
        </execution>
        <execution>
            <id>stop</id>
            <phase>post-integration-test</phase>
            <goals>
                <goal>undeploy</goal><!-- Per eseguire "mvn verify" e non solo "mvn clean verify" -->
                <goal>shutdown</goal>
            </goals>
        </execution>
    </executions>
</plugin>

在哪里可以找到所有标签以及本示例中未使用的插件的所有标签的含义和用途?

java maven plugins jboss pom.xml
1个回答
0
投票

官方文档可以在这里找到

© www.soinside.com 2019 - 2024. All rights reserved.