pom.xml
<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>在eclipse运行配置中是
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到域服务器,为什么上面的命令不起作用,我错过了什么吗?
发布于 2016-12-08 07:32:17
run目标仅适用于独立服务器。它不会启动域服务器。如果您希望将应用程序部署到已在运行的现有域服务器,则需要使用deploy目标。
https://stackoverflow.com/questions/40994900
复制相似问题