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>com.demo</groupId>
  <artifactId>news</artifactId>
  <packaging>war</packaging>
  <version>0.0.1-SNAPSHOT</version>
  <name>news Maven Webapp</name>
  <url>http://maven.apache.org</url>
  
  <properties>
	<sourceEncoding>UTF-8</sourceEncoding>
  	<ver.servlet>2.5</ver.servlet>
  	<ver.log4j>1.2.16</ver.log4j>
  	
  	<ver.commons-codec>1.6</ver.commons-codec>
  	<ver.commons-collections>3.2.1</ver.commons-collections>
  	<ver.commons-dbcp>1.4</ver.commons-dbcp>  	
  	<ver.commons-fileupload>1.2.2</ver.commons-fileupload>
  	<ver.commons-io>2.0.1</ver.commons-io> 
  	<ver.commons-lang>2.5</ver.commons-lang>
  	<ver.commons-logging>1.1.1</ver.commons-logging>
  	<ver.commons-pool>1.6</ver.commons-pool>
  	
  	<ver.dom4j>1.6</ver.dom4j>
  	<ver.slf4j>1.6.1</ver.slf4j>  	
  	<ver.c3p0>0.9.1.2</ver.c3p0>  
  	<ver.mysql>5.1.21</ver.mysql>
  	
  	<ver.spring>3.1.2.RELEASE</ver.spring>
  	<ver.spring-security>3.1.2.RELEASE</ver.spring-security>
  	<ver.struts>2.3.4.1</ver.struts>
  	<ver.hibernate>4.1.7.Final</ver.hibernate>  	
  	<ver.lucene>4.0.0</ver.lucene>   	
  	
  	<ver.cglib>2.1_3</ver.cglib> 
  </properties>
  
  
  <dependencies>
	<dependency>  
        <groupId>javax.servlet</groupId>  
        <artifactId>servlet-api</artifactId>  
        <version>${ver.servlet}</version>  
        <scope>provided</scope>
    </dependency>  
	<dependency>
		<groupId>log4j</groupId>	
		<artifactId>log4j</artifactId>	
		<version>${ver.log4j}</version>
	</dependency>
  
    <dependency>
		<groupId>commons-codec</groupId>
        <artifactId>commons-codec</artifactId>
        <version>${ver.commons-codec}</version>
	</dependency>
	<dependency>
		<groupId>commons-collections</groupId>
        <artifactId>commons-collections</artifactId>
        <version>${ver.commons-collections}</version>
	</dependency>
	<dependency>
		<groupId>commons-dbcp</groupId>
        <artifactId>commons-dbcp</artifactId>
        <version>${ver.commons-dbcp}</version>
	</dependency>
	<dependency>
		<groupId>commons-fileupload</groupId>
        <artifactId>commons-fileupload</artifactId>
        <version>${ver.commons-fileupload}</version>
	</dependency>
	<dependency>
		<groupId>commons-io</groupId>
		<artifactId>commons-io</artifactId>
		<version>${ver.commons-io}</version>
	</dependency>
	<dependency>
		<groupId>commons-lang</groupId>
		<artifactId>commons-lang</artifactId>
		<version>${ver.commons-lang}</version>
	</dependency>
	<dependency>
		<groupId>commons-logging</groupId>
        <artifactId>commons-logging</artifactId>
        <version>${ver.commons-logging}</version>
	</dependency>
	<dependency>
		<groupId>commons-pool</groupId>
        <artifactId>commons-pool</artifactId>
        <version>${ver.commons-pool}</version>
	</dependency>
	
	<dependency>
		<groupId>c3p0</groupId>
		<artifactId>c3p0</artifactId>
		<version>${ver.c3p0}</version>
	</dependency>	
	<dependency>
		<groupId>dom4j</groupId>
        <artifactId>dom4j</artifactId>
        <version>${ver.dom4j}</version>
    </dependency>    
    <dependency>
		<groupId>org.slf4j</groupId>
		<artifactId>slf4j-api</artifactId>
		<version>${ver.slf4j}</version>
	</dependency>
	<dependency>
	   <groupId>org.slf4j</groupId>
	   <artifactId>slf4j-nop</artifactId>
	   <version>1.6.5</version>
	   <type>jar</type>
	   <scope>compile</scope>
	   <optional>false</optional>
	  </dependency>
	
     <dependency>
    	<groupId>org.springframework</groupId>
    	<artifactId>spring-core</artifactId>
    	<version>${ver.spring}</version>
    </dependency>
    <dependency>
    	<groupId>org.springframework</groupId>
    	<artifactId>spring-context</artifactId>
    	<version>${ver.spring}</version>
    </dependency>
    <dependency>
    	<groupId>org.springframework</groupId>
    	<artifactId>spring-aop</artifactId>
    	<version>${ver.spring}</version>
    </dependency>
    <dependency>
    	<groupId>org.springframework</groupId>
    	<artifactId>spring-context-support</artifactId>
    	<version>${ver.spring}</version>
    </dependency>
    <dependency>
		<groupId>org.springframework</groupId>
    	<artifactId>spring-web</artifactId>
    	<version>${ver.spring}</version>
    </dependency>
    <dependency>
		<groupId>org.springframework</groupId>
		<artifactId>spring-orm</artifactId>
		<version>${ver.spring}</version>
		<exclusions>
			<exclusion>
				<groupId>asm</groupId>
				<artifactId>asm</artifactId>
			</exclusion>
			<exclusion>
				<groupId>asm</groupId>
				<artifactId>asm-commons</artifactId>
			</exclusion>
			<exclusion>
				<groupId>asm</groupId>
				<artifactId>asm-util</artifactId>
			</exclusion>
			<exclusion>
				<groupId>c3p0</groupId>
				<artifactId>c3p0</artifactId>
			</exclusion>
			<exclusion>
				<groupId>cglib</groupId>
				<artifactId>cglib</artifactId>
			</exclusion>
			<exclusion>
				<groupId>org.hibernate</groupId>
				<artifactId>hibernate</artifactId>
			</exclusion>
			<exclusion>
				<groupId>org.hibernate</groupId>
				<artifactId>hibernate-core</artifactId>
			</exclusion>
		</exclusions>
	</dependency>  
    
    <dependency>
     <groupId>org.springframework.security</groupId>
     <artifactId>spring-security-core</artifactId>
     <version>${ver.spring-security}</version>
     <type>jar</type>
     <scope>compile</scope>
    </dependency>
    <dependency>
     <groupId>org.springframework.security</groupId>
     <artifactId>spring-security-web</artifactId>
     <version>${ver.spring-security}</version>
     <type>jar</type>
     <scope>compile</scope>
    </dependency>
    <dependency>
     <groupId>org.springframework.security</groupId>
     <artifactId>spring-security-config</artifactId>
     <version>${ver.spring-security}</version>
     <type>jar</type>
     <scope>compile</scope>
    </dependency>
    <dependency>
     <groupId>org.springframework.security</groupId>
     <artifactId>spring-security-taglibs</artifactId>
     <version>${ver.spring-security}</version>
     <type>jar</type>
     <scope>compile</scope>
    </dependency>
    <dependency>
     <groupId>org.springframework.security</groupId>
     <artifactId>spring-security-crypto</artifactId>
     <version>${ver.spring-security}</version>
     <type>jar</type>
     <scope>compile</scope>
    </dependency>
    
    <dependency>
		<groupId>org.apache.struts</groupId>
        <artifactId>struts2-convention-plugin</artifactId>
        <version>${ver.struts}</version>
    </dependency>
    <dependency>
		<groupId>org.apache.struts</groupId>
        <artifactId>struts2-spring-plugin</artifactId>
        <version>${ver.struts}</version>
    </dependency>
    

    <dependency>
		<groupId>org.hibernate</groupId>
        <artifactId>hibernate-core</artifactId>
        <version>${ver.hibernate}</version>
	</dependency> 

	<dependency>
		<groupId>mysql</groupId>
		<artifactId>mysql-connector-java</artifactId>
		<version>${ver.mysql}</version>
	</dependency>	
       
	<dependency>
		<groupId>org.apache.lucene</groupId>
        <artifactId>lucene-core</artifactId>
        <version>${ver.lucene}</version>
	</dependency>    
	<dependency>
		<groupId>org.apache.lucene</groupId>
        <artifactId>lucene-analyzers-common</artifactId>
        <version>${ver.lucene}</version>
	</dependency>    
	<dependency>
		<groupId>org.apache.lucene</groupId>
        <artifactId>lucene-queryparser</artifactId>
        <version>${ver.lucene}</version>
	</dependency>  
	<dependency>
		<groupId>org.apache.lucene</groupId>
        <artifactId>lucene-queries</artifactId>
        <version>${ver.lucene}</version>
	</dependency>  	  
	<dependency>
		<groupId>org.apache.lucene</groupId>
        <artifactId>lucene-highlighter</artifactId>
        <version>${ver.lucene}</version>
	</dependency>	
    
    	
    <dependency>
		<groupId>cglib</groupId>
		<artifactId>cglib-nodep</artifactId>
		<version>${ver.cglib}</version>
	</dependency>    
  </dependencies>  
  
  <build>
    <finalName>news</finalName>
  </build>
</project>


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值