3 Replies Latest reply on Jan 24, 2013 3:14 PM by James Perkins

    jboss-as-maven-plugin can't deploy to remote Jboss?

    Jan Janek Newbie

      I've tried for days to use jboss-as-maven-plugin to deploy web projects to remote Jboss as 7,but it didn't work. The following is my pom.xml

       

              <build>

                      <pluginManagement>

                          <plugins>

                              <plugin>

                                  <groupId>org.jboss.as.plugins</groupId>

                                  <artifactId>jboss-as-maven-plugin</artifactId>

                                  <version>7.3.Final</version>

                                  <configuration>

                                      <skip>true</skip>

                                      <hostname>127.0.0.1</hostname>

                                      <port>9999</port>

                                  </configuration>

          <executions>

                                          <execution>

                                              <id>deploy</id>

                                              <phase>install</phase>

                                              <goals>

                                                  <goal>deploy</goal>

                                              </goals>

                                          </execution>

                                      </executions>

                              </plugin>

                          </plugins>

                      </pluginManagement>

                  </build>

             

                 

       

      I have error:

       

          [INFO] ------------------------------------------------------------------------

          [INFO] BUILD FAILURE

          [INFO] ------------------------------------------------------------------------

          [ERROR] Failed to execute goal org.jboss.as.plugins:jboss-as-maven-plugin:7.3.

          CR1b:deploy (default) on project MessagePushX-RELEASE: Could not execute goal de

          ploy on test.war. Reason: java.net.ConnectException: JBAS012144: Could no

          t connect to remote://192.168.1.104:9999. The connection timed out -> [Help 1]

          [ERROR]

        

       

      What is wrong?