0

This is what we use for Tomcat 7:

<plugin>
    <groupId>org.apache.tomcat.maven</groupId>
    <artifactId>tomcat7-maven-plugin</artifactId>
    <version>2.2</version>
    <configuration>
        <path>/</path>
        <contextReloadable>true</contextReloadable>
    </configuration>
</plugin>

I want to know what the equivalent will be for Tomcat 8.

Jason Aller
  • 3,541
  • 28
  • 38
  • 38
Abhishek Sengupta
  • 2,938
  • 1
  • 28
  • 35

1 Answers1

1

if you need working on tomcat 8, no need tomcat 8 plugin, as it has not come out yet because of this issue. tomcat7-maven-plugin can be used deploy to tomcat 8.

<!-- Tomcat plugin -->  
<plugin>  
 <groupId>org.apache.tomcat.maven</groupId>  
 <artifactId>tomcat7-maven-plugin</artifactId>  
 <version>2.2</version>  
 <configuration>  
  <url>http:// localhost:8080/manager/text</url>  
  <server>TomcatServer</server>    *(From maven > settings.xml)*
  <username>*yourtomcatusername*</username>  
  <password>*yourtomcatpassword*</password>   
 </configuration>   
</plugin>  

for more, please refer to here

Qingfei Yuan
  • 1,196
  • 1
  • 8
  • 12