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