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>

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM