0
偶然我将Maven JBoss插件更新到版本1.3.2。之后,部署失败了,没有尝试连接JBoss。最终我们发现了版本更改并恢复为旧版本。从1.3.1到1.3.2的Maven JBoss插件更新导致部署失败
这是当前的配置:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jboss-maven-plugin</artifactId>
<version>1.3.1</version>
<configuration>
<serverName>default</serverName>
<hostName>localhost</hostName>
<port>8080</port>
<deployUrlPath>
/jmx-console/HtmlAdaptor?action=invokeOpByName&name=jboss.system:service%3DMainDeployer&methodName=redeploy&argType=java.net.URL&arg0=
</deployUrlPath>
<undeployUrlPath>
/jmx-console/HtmlAdaptor?action=invokeOpByName&name=jboss.system:service%3DMainDeployer&methodName=undeploy&argType=java.net.URL&arg0=
</undeployUrlPath>
<fileName>
${project.build.directory}/${project.build.finalName}.${project.packaging}
</fileName>
</configuration>
</plugin>
......还有......
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jboss-maven-plugin</artifactId>
<configuration>
<fileName>${basedir}/target/${application.name}.ear</fileName>
<server>jBoss</server>
</configuration>
<executions>
<execution>
<id>deploy</id>
<phase>pre-integration-test</phase>
<goals>
<goal>deploy</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
我通过插件的变化列表去,但我没有发现任何配置更改。有什么建议么?