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 –