Olá gujeiros,
Estou integrando o Mavem 3.0, Plugin do Eclipse M2e
em um servidor TomCat 7.0, para fazer o deploy de forma automatizado mas ainda não obtive sucesso…
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>tomcat-maven-plugin</artifactId>
<configuration>
<warFile>
E:\work\showcase\target\showcase.war
</warFile>
<update>true</update>
<path>/showcase</path>
<url>http://192.168.1.100:8080/manager</url>
<username>admin</username>
<password>admin</password>
</configuration>
</plugin>
mas esta dando esse erro…
[ERROR] Failed to execute goal org.codehaus.mojo:tomcat-maven-plugin:1.1:deploy (default-cli) on project showcase:
Cannot invoke Tomcat manager: Server returned HTTP response code: 403 for URL: http://192.168.1.100:8080/manager/deploy?path=%2Fshowcase&war=&update=true -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Alguém já passou por isso e pode me dar um dica para resolver isso…
Ou tem um material atualizado que atenda essas versões…
Grato…!