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

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

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

    大漠駝鈴

    置身浩瀚的沙漠,方向最為重要,希望此blog能向大漠駝鈴一樣,給我方向和指引。
    Java,Php,Shell,Python,服務器運維,大數據,SEO, 網站開發(fā)、運維,云服務技術支持,IM服務供應商, FreeSwitch搭建,技術支持等. 技術討論QQ群:428622099
    隨筆 - 238, 文章 - 3, 評論 - 117, 引用 - 0
    數據加載中……

    Eclipse+jetty+maven+Struts2+Spring2+Hibernate3+annotation注冊系統(tǒng)V1.0 沒有實現0配置

    主要是整合了開發(fā)環(huán)境,同時也有一些不足,用deploy.bat可以方便的進行部署。
    下面是我用的pom.xml
    <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation
    ="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
      
    <modelVersion>4.0.0</modelVersion>
      
    <groupId>cn.edu.nku</groupId>
      
    <artifactId>ssh</artifactId>
      
    <packaging>war</packaging>
      
    <version>0.0.1-SNAPSHOT</version>
      
    <name>ssh Maven Webapp</name>
      
    <url>http://maven.apache.org</url>
      
    <dependencies>
        
    <dependency>
            
    <groupId>org.apache.struts</groupId>
            
    <artifactId>struts2-core</artifactId>
            
    <version>2.1.6</version>
            
    <scope>compile</scope>
        
    </dependency>
        
    <dependency>
            
    <groupId>org.springframework</groupId>
            
    <artifactId>spring</artifactId>
            
    <version>2.5.6</version>
            
    <type>jar</type>
            
    <scope>compile</scope>
        
    </dependency>
        
    <dependency>
            
    <groupId>org.apache.struts</groupId>
            
    <artifactId>struts2-spring-plugin</artifactId>
            
    <version>2.1.6</version>
            
    <type>jar</type>
            
    <scope>compile</scope>
        
    </dependency>
        
    <dependency>
            
    <groupId>org.hibernate</groupId>
            
    <artifactId>hibernate</artifactId>
            
    <version>3.2.6.ga</version>
            
    <scope>compile</scope>
        
    </dependency>
        
    <dependency>
            
    <groupId>org.hibernate</groupId>
            
    <artifactId>hibernate-annotations</artifactId>
            
    <version>3.4.0.GA</version>
            
    <type>jar</type>
            
    <scope>compile</scope>
        
    </dependency>
        
    <dependency>
            
    <groupId>mysql</groupId>
            
    <artifactId>mysql-connector-java</artifactId>
            
    <version>5.1.6</version>
            
    <type>jar</type>
            
    <scope>compile</scope>
        
    </dependency>
        
    <dependency>
            
    <groupId>junit</groupId>
            
    <artifactId>junit</artifactId>
            
    <version>4.5</version>
            
    <type>jar</type>
            
    <scope>compile</scope>
        
    </dependency>
        
    <dependency>
            
    <groupId>org.slf4j</groupId>
            
    <artifactId>slf4j-log4j12</artifactId>
            
    <version>1.5.6</version>
            
    <type>jar</type>
            
    <scope>compile</scope>
        
    </dependency>
        
    <dependency>
            
    <groupId>org.slf4j</groupId>
            
    <artifactId>slf4j-api</artifactId>
            
    <version>1.5.6</version>
            
    <type>jar</type>
            
    <scope>compile</scope>
        
    </dependency>
        
    <dependency>
            
    <groupId>commons-dbcp</groupId>
            
    <artifactId>commons-dbcp</artifactId>
            
    <version>1.2.2</version>
            
    <type>jar</type>
            
    <scope>compile</scope>
        
    </dependency>
        
    <dependency>
            
    <groupId>org.hibernate</groupId>
            
    <artifactId>hibernate-commons-annotations</artifactId>
            
    <version>3.3.0.ga</version>
            
    <type>jar</type>
            
    <scope>compile</scope>
        
    </dependency>
        
    <dependency>
            
    <groupId>org.hibernate</groupId>
            
    <artifactId>hibernate-ehcache</artifactId>
            
    <version>3.3.1.GA</version>
            
    <type>jar</type>
            
    <scope>compile</scope>
        
    </dependency>
        
    <dependency>
            
    <groupId>org.springframework</groupId>
            
    <artifactId>spring-orm</artifactId>
            
    <version>2.5.6</version>
            
    <type>jar</type>
            
    <scope>compile</scope>
        
    </dependency>
        
    <dependency>
            
    <groupId>org.springframework</groupId>
            
    <artifactId>spring-webmvc</artifactId>
            
    <version>2.5.6</version>
            
    <type>jar</type>
            
    <scope>compile</scope>
        
    </dependency>
      
    </dependencies>
      
    <build>
        
    <finalName>ssh</finalName>
        
    <plugins>
            
    <plugin>
                
    <groupId>org.mortbay.jetty</groupId>
                
    <artifactId>maven-jetty-plugin</artifactId>
                
    <version>6.1.15.pre0</version>
                   
    <configuration>
                    
    <scanIntervalSeconds>3</scanIntervalSeconds>
                    
    <stopKey>foo</stopKey>
                    
    <stopPort>9999</stopPort>
            
    </configuration>                 
            
            
    <executions>
                    
    <execution>
                            
    <id>start-jetty</id>
                            
    <phase>pre-integration-test</phase>
                            
    <goals>
                                    
    <goal>run</goal>
                            
    </goals>
                            
    <configuration>
                                    
    <scanIntervalSeconds>0</scanIntervalSeconds>
                                    
    <daemon>true</daemon>
                            
    </configuration>
                    
    </execution>
                    
    <execution>
                            
    <id>stop-jetty</id>
                            
    <phase>post-integration-test</phase>
                            
    <goals>
                                    
    <goal>stop</goal>
                            
    </goals>
                    
    </execution>
            
    </executions>

            
    </plugin>
            
    <plugin>
                
    <groupId>org.apache.maven.plugins</groupId>
                
    <artifactId>maven-compiler-plugin</artifactId>
                
    <version>2.0.2</version>
                
    <configuration>
                        
    <source>1.5</source>
                        
    <target>1.5</target>
                        
    <encoding>UTF-8</encoding>
                
    </configuration>
            
    </plugin>
        
    </plugins>
      
    </build>
    </project>


    代碼如下:http://www.tkk7.com/Files/nkjava/ssh.rar



    posted on 2009-03-29 12:15 草原上的駱駝 閱讀(1258) 評論(0)  編輯  收藏 所屬分類: JAVA基礎知識

    主站蜘蛛池模板: 免费A级毛片无码无遮挡内射| 三年片在线观看免费大全电影| 无码视频免费一区二三区| 亚洲精品动漫在线| 91在线手机精品免费观看| 亚洲国产女人aaa毛片在线 | 亚洲一区二区三区夜色| 国产无遮挡无码视频免费软件| 国产啪亚洲国产精品无码| 西西人体免费视频| 亚洲日本中文字幕区| 免费看h片的网站| 亚洲日本久久久午夜精品| 国产成人青青热久免费精品| 免费观看四虎精品成人| 亚洲综合网站色欲色欲| 免费h视频在线观看| 亚洲国产成+人+综合| 色播在线永久免费视频| 免费一区二区三区在线视频| 红杏亚洲影院一区二区三区| 午夜爽爽爽男女免费观看影院| 亚洲午夜电影一区二区三区| 韩国二级毛片免费播放| 久久国产精品免费一区二区三区| 久久久久亚洲AV无码专区首| 久久久久久国产a免费观看黄色大片| 国产精品亚洲一区二区麻豆| 亚洲麻豆精品国偷自产在线91| 两个人看的www高清免费视频| 亚洲熟妇av一区| 国产在线不卡免费播放| 国产免费爽爽视频在线观看| 亚洲伊人久久大香线蕉| 免费人成激情视频| 99久久精品免费精品国产| 亚洲爆乳无码精品AAA片蜜桃| 亚洲中文字幕无码久久2017| 两个人的视频高清在线观看免费| 免费夜色污私人影院网站| 久久夜色精品国产噜噜亚洲AV|