Recently I was setting up maven project and trying to deploy application after build on the tomcat server but during setup POM.xml it was giving following warning message .
"Error resolving version for plugin 'org.apache.tomcat.maven:tomcat7-maven-plugin "
After doing some R&D and then i was able to found the solution as below :
Following lines in POM.xml was culprit of the error "Error resolving version for plugin 'org.apache.tomcat.maven:tomcat7-maven-plugin ":
Solution : Added correct version of plugin as below to fix this issue :
>2.0</version>
"Error resolving version for plugin 'org.apache.tomcat.maven:tomcat7-maven-plugin "
After doing some R&D and then i was able to found the solution as below :
Following lines in POM.xml was culprit of the error "Error resolving version for plugin 'org.apache.tomcat.maven:tomcat7-maven-plugin ":
<plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat7-maven-plugin</artifactId>
<configuration>
<path>/</path>
<httpsPort>8080</httpsPort>
</configuration>
</plugin> Solution : Added correct version of plugin as below to fix this issue :
<plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat7-maven-plugin</artifactId>
<configuration>
<path>/</path>
<httpsPort>8080</httpsPort>
</configuration>
</plugin>
No comments:
Post a Comment
Thanks for your comment, will revert as soon as we read it.