<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    maven-tomcat-plugin試用

    maven-tomcat-plugin能夠方便的部署war應用到本地或遠程的tomcat上,廢話少說,看代碼,下面是帶有maven-tomcat-plugin配置的pom.xml
    <properties>
        
    <!-- Cargo settings -->
        
    <cargo.container.manager.url>http://192.168.1.107/manager</cargo.container.manager.url>
        
    <cargo.container.username>admin</cargo.container.username>
        
    <cargo.container.password>123456</cargo.container.password>
        
    <cargo.wait>false</cargo.wait>
    </properties>
    <build>
        
    <plugins>
            
    <plugin>
                
    <groupId>org.codehaus.mojo</groupId>
                
    <artifactId>tomcat-maven-plugin</artifactId>
                
    <version>1.0-beta-1</version>
                
    <configuration>
                    
    <path>/runes</path>
                    
    <url>${cargo.container.manager.url}</url>
                    
    <username>${cargo.container.username}</username>
                    
    <password>${cargo.container.password}</password>
                    
    <warDirectory>${basedir}/src/main/webapp</warDirectory>
                
    </configuration>
                
    <executions>
                    
    <execution>
                        
    <id>tomcat-deploy</id>
                        
    <phase>deploy</phase>
                        
    <goals>
                            
    <goal>deploy</goal>
                        
    </goals>
                    
    </execution>
                    
    <!--execution>
                                    <id>undeploy</id>
                                    <phase>deploy</phase>
                                    <goals>
                                        <goal>start</goal>
                                    </goals>
                                </execution
    -->
                
    </executions>
            
    </plugin>
        
    </plugins>
    </build>
    maven-tomcat-plugin通過tomcat的manager控制臺來deploy或undeploy應用,所以要把你的tomcat的相關信息配置上,包括manager url,用戶名及密碼等!

    posted on 2009-07-21 14:13 kuuyee 閱讀(2239) 評論(0)  編輯  收藏 所屬分類: Git/MavenJEE

    導航

    <2009年7月>
    2829301234
    567891011
    12131415161718
    19202122232425
    2627282930311
    2345678

    統計

    隨筆分類(139)

    Linux內核

    搜索

    •  

    積分與排名

    • 積分 - 319369
    • 排名 - 177

    最新評論

    閱讀排行榜

    主站蜘蛛池模板: 亚洲国产综合AV在线观看| 精品久久亚洲中文无码| 人与动性xxxxx免费| 亚洲成?Ⅴ人在线观看无码| 麻豆一区二区三区蜜桃免费| 亚洲AV成人潮喷综合网| 四虎影视久久久免费观看| 亚洲精品麻豆av| 日韩免费高清播放器| 久久噜噜噜久久亚洲va久| 18禁黄网站禁片免费观看不卡| 亚洲一区二区三区免费在线观看| 成全视频在线观看免费高清动漫视频下载 | 亚洲国产成人a精品不卡在线| 曰韩无码AV片免费播放不卡| 亚洲无线码在线一区观看| 99re免费99re在线视频手机版| 亚洲成电影在线观看青青| 日韩精品无码人妻免费视频 | 国产色无码精品视频免费| 亚洲av永久无码精品表情包| 免费观看激色视频网站bd| 亚洲国产精品无码久久久秋霞1| 亚洲精品无码你懂的网站| a级毛片毛片免费观看久潮| 亚洲欧洲日产国码二区首页 | 日本免费在线中文字幕| 91亚洲国产成人久久精品网站| 无码人妻一区二区三区免费| 视频一区在线免费观看| 亚洲视频免费在线观看| 免费无码黄网站在线观看| 中文毛片无遮挡高清免费| 亚洲乱码一二三四五六区| 亚洲电影日韩精品| 国产成人福利免费视频| 国产免费一区二区三区免费视频| 亚洲成aⅴ人片在线影院八| 亚洲人成网站18禁止一区| xx视频在线永久免费观看| 一级免费黄色大片|