0
的pom.xmlwildfly Maven插件域在Eclipse中運行配置部署
<plugin>
<groupId>org.wildfly.plugins</groupId>
<artifactId>wildfly-maven-plugin</artifactId>
<version>1.1.0.Beta1</version>
<configuration>
<domain>
<server-groups>
<server-group>main-server-group</server-group>
</server-groups>
</domain>
</configuration>
</plugin>
是
org.wildfly.plugins:wildfly-maven-plugin:run -Dwildfly.version=8.0.0.CR1
我的問題是,爲什麼下面的域路徑是空的
{$path of pom.xml}\target\wildfly-run\wildfly-8.0.0.CR1\domain\tmp
但路徑獨立的
{$path of pom.xml}\target\wildfly-run\wildfly-8.0.0.CR1\standalone\tmp\vfs\temp\tempd2a5c6044ecaf908\content-b94122b24d483bc5\***(xxx.war files unzip here)
我的意思是,pom.xml配置的官方指南https://docs.jboss.org/wildfly/plugins/maven/latest/examples/deployment-example.html是部署並運行xxx.war到域服務器,爲什麼上面的命令不起作用,我錯過了什麼?
好吧,我檢查了源代碼並且更仔細地指導了mvn wildfly:run或者mvn wildfly:在獨立模式下啓動服務器,檢查:https://docs.jboss.org/wildfly/plugins/ maven/latest/run-mojo.html \t https://github.com/wildfly/wildfly-maven-plugin/blob/master/plugin/src/main/java/org/wildfly/plugin/server/RunMojo.java https://docs.jboss.org/wildfly/plugins/maven/latest/start-mojo.html https://github.com/wildfly/wildfly-maven-plugin/blob/master/plugin/src/main /java/org/wildfly/plugin/server/StartMojo.java –