views:

358

answers:

1

By accident I updated Maven JBoss plugin to version 1.3.2. After that the deployment failed silently, no attempt to connect JBoss was made. Eventually we found out the version change and reverted back to old version.

Here is the current config:

        <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&amp;name=jboss.system:service%3DMainDeployer&amp;methodName=redeploy&amp;argType=java.net.URL&amp;arg0=
                </deployUrlPath>
                <undeployUrlPath>
                    /jmx-console/HtmlAdaptor?action=invokeOpByName&amp;name=jboss.system:service%3DMainDeployer&amp;methodName=undeploy&amp;argType=java.net.URL&amp;arg0=
                </undeployUrlPath>
                <fileName>
                    ${project.build.directory}/${project.build.finalName}.${project.packaging}
                </fileName>
            </configuration>
        </plugin>

... and...

        <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>

I went through the change list of the plugin but I did not spot any configuration changes. Any suggestions?

+1  A: 
Pascal Thivent