zoukankan      html  css  js  c++  java
  • maven 工程聚合插件

        <!-- war包生成插件 -->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-war-plugin</artifactId>
                <version>2.4</version>
                <configuration>
                    <warSourceDirectory>src/main/webapp</warSourceDirectory>
                </configuration>
            </plugin>
            <!-- tomcat运行插件 -->
            <plugin>
                 <groupId>org.codehaus.cargo</groupId>
                 <artifactId>cargo-maven2-plugin</artifactId>
                   <version>1.2.3</version>
                   <configuration>
                       <container>
                           <containerId>tomcat7x</containerId>
                           <home>e:apache-tomcat-7.0.47</home>
                       </container>
                       <configuration>
                           <type>existing</type>
                           <home>e:apache-tomcat-7.0.47</home>
                       </configuration>
                   </configuration>
                   <executions>  
                     <execution>  
                         <id>cargo-run</id>  
                         <phase>install</phase>  
                         <goals>  
                             <goal>run</goal>  
                         </goals>  
                     </execution>  
                 </executions>
             </plugin>
  • 相关阅读:
    发布SpringBoot项目到Docker容器
    Docker网络
    Docker镜像发布到阿里云
    Docker制作Tomcat镜像
    DockerFile指令
    Docker命令
    kafka安装与使用
    刷题第2天
    刷题第1天
    UVA 11107 Life Forms
  • 原文地址:https://www.cnblogs.com/zyh1994/p/6237109.html
Copyright © 2011-2022 走看看