tomcat8 插件

参考:https://blog.csdn.net/u011781521/article/details/75194071

maven 工程的pom 文件中:---中央仓库无tomcat8插件

 <pluginRepositories>   
      <pluginRepository>   
        <id>alfresco-public</id>    
        <url>https://artifacts.alfresco.com/nexus/content/groups/public</url>   
      </pluginRepository>    
      <pluginRepository>   
        <id>alfresco-public-snapshots</id>    
        <url>https://artifacts.alfresco.com/nexus/content/groups/public-snapshots</url>    
        <snapshots>   
          <enabled>true</enabled>    
          <updatePolicy>daily</updatePolicy>   
        </snapshots>   
      </pluginRepository>    
      <pluginRepository>   
        <id>beardedgeeks-releases</id>    
        <url>http://beardedgeeks.googlecode.com/svn/repository/releases</url>   
      </pluginRepository>   
  </pluginRepositories>

运行后下载插件到本地仓库

改成

 <plugin>
          <groupId>org.apache.tomcat.maven</groupId>
          <artifactId>tomcat8-maven-plugin</artifactId>
          <version>3.0-r1655215</version>
        </plugin>

猜你喜欢

转载自www.cnblogs.com/jsbk/p/9652690.html