Maven próbuje wdrożyć na localhost zamiast na zdalnym serwerze

To jest mójpom.xml konfiguracja kompilacji:

<build>
    <finalName>cfwd</finalName>
    <pluginManagement>
        <plugins>
            <plugin>
              <artifactId>maven-compiler-plugin</artifactId>
              <version>2.3.2</version>
              <configuration>
                <source>1.6</source>
                <target>1.6</target>
              </configuration>
            </plugin>
            <plugin>
              <groupId>org.apache.tomcat.maven</groupId>
              <artifactId>tomcat7-maven-plugin</artifactId>
              <version>2.0</version>        
              <configuration>
                <url>http://xx.xxx.xxx.xxx:8080/manager/text</url>
                <server>cifServer</server>
                <path>/cfwd</path>
                <addContextWarDependencies>true</addContextWarDependencies>
                <addWarDependenciesInClassloader>true</addWarDependenciesInClassloader>        
              </configuration>
            </plugin>
        </plugins>
    </pluginManagement>
</build>

gdziehttp://xx.xxx.xxx.xxx:8080 to adres IP zdalnego serwera.

Kiedy próbuję wdrożyć za pośrednictwemmvn tomcat:deploy Dostaję ten błąd:

[BŁĄD] Nie można wykonać celu org.codehaus.mojo: tomcat-maven-plugin: 1.1: deploy (default-cli) w projekcie cfwd: Nie można wywołać menedżera Tomcat: Serwer zwrócił kod odpowiedzi HTTP: 403 dla adresu URL:http://localhost:8080/manager/deploy?path=%2Fcfwd&war= -> [Pomoc 1] org.apache.maven.lifecycle.LifecycleExecutionException: Nie udało się wykonać celu org.codehaus.mojo: tomcat-maven-plugin: 1.1: deploy (default-cli) w projekcie cfwd: Nie można wywołać menedżera Tomcat

gdzie wygląda, że ​​maven próbuje się wdrożyćlocalhost:8080 zamiast zdalnego serwera IP. Dowolny pomysł?

questionAnswers(2)

yourAnswerToTheQuestion