<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/xsd/maven-4.0.0.xsd">
|
<modelVersion>4.0.0</modelVersion>
|
|
<artifactId>basic_core</artifactId>
|
<version>1.0.0-SNAPSHOT</version>
|
<packaging>jar</packaging>
|
<name>basic_core</name>
|
<url>http://maven.apache.org</url>
|
<parent>
|
<groupId>cn.com.basic</groupId>
|
<artifactId>basic_parent</artifactId>
|
<version>0.0.1-SNAPSHOT</version>
|
<relativePath>../basic_parent/pom.xml</relativePath>
|
</parent>
|
|
|
<distributionManagement>
|
<repository>
|
<id>nexus-release</id>
|
<name>nexus distribution snapshot repository</name>
|
<url>http://192.168.1.3:8081/nexus/content/repositories/releases/</url>
|
</repository>
|
<snapshotRepository>
|
<id>nexus-snapshots</id>
|
<name>nexus distribution snapshot repository</name>
|
<url>http://192.168.1.3:8081/nexus/content/repositories/snapshots/</url>
|
</snapshotRepository>
|
</distributionManagement>
|
|
<properties>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<mybatis.version>3.3.0</mybatis.version>
|
<mybatis.spring.version>1.2.3</mybatis.spring.version>
|
<mybatis.ehcache.version>1.0.3</mybatis.ehcache.version>
|
<ehcache.version>2.6.11</ehcache.version>
|
</properties>
|
|
<dependencies>
|
<!-- mybatis 以及spring mybatis ,ehcache -->
|
<dependency>
|
<groupId>org.mybatis</groupId>
|
<artifactId>mybatis</artifactId>
|
<version>${mybatis.version}</version>
|
</dependency>
|
<dependency>
|
<groupId>org.mybatis</groupId>
|
<artifactId>mybatis-spring</artifactId>
|
<version>${mybatis.spring.version}</version>
|
</dependency>
|
<dependency>
|
<groupId>org.mybatis.caches</groupId>
|
<artifactId>mybatis-ehcache</artifactId>
|
<version>${mybatis.ehcache.version}</version>
|
</dependency>
|
<!-- Ehcache 缓存-->
|
<dependency>
|
<groupId>net.sf.ehcache</groupId>
|
<artifactId>ehcache-core</artifactId>
|
<version>${ehcache.version}</version>
|
</dependency>
|
<!-- java.mail 发送邮件包 -->
|
<dependency>
|
<groupId>javax.mail</groupId>
|
<artifactId>mail</artifactId>
|
<version>1.5.0-b01</version>
|
</dependency>
|
<dependency>
|
<groupId>javax.xml.bind</groupId>
|
<artifactId>jaxb-api</artifactId>
|
<version>2.2.12</version>
|
</dependency>
|
<!-- jsoup html解析 ,Xss过滤-->
|
<dependency>
|
<groupId>org.jsoup</groupId>
|
<artifactId>jsoup</artifactId>
|
<version>1.8.2</version>
|
</dependency>
|
<!-- spring webmvc-->
|
<dependency>
|
<groupId>org.springframework</groupId>
|
<artifactId>spring-webmvc</artifactId>
|
<version>${spring.version}</version>
|
</dependency>
|
<dependency>
|
<groupId>net.sourceforge.jexcelapi</groupId>
|
<artifactId>jxl</artifactId>
|
<version>2.6.12</version>
|
</dependency>
|
<!--<dependency>
|
<groupId>org.apache.poi</groupId>
|
<artifactId>poi</artifactId>
|
<version>3.14</version>
|
</dependency>
|
<dependency>
|
<groupId>org.apache.poi</groupId>
|
<artifactId>poi-ooxml</artifactId>
|
<version>3.14</version>
|
</dependency>-->
|
|
|
|
</dependencies>
|
<build>
|
<finalName>basic_core</finalName>
|
<plugins>
|
<plugin>
|
<artifactId>maven-source-plugin</artifactId>
|
<version>2.1</version>
|
<configuration>
|
<attach>true</attach>
|
</configuration>
|
<executions>
|
<execution>
|
<phase>compile</phase>
|
<goals>
|
<goal>jar</goal>
|
</goals>
|
</execution>
|
</executions>
|
</plugin>
|
<plugin>
|
<groupId>org.apache.maven.plugins</groupId>
|
<artifactId>maven-compiler-plugin</artifactId>
|
<version>3.3</version>
|
<configuration>
|
<source>1.7</source>
|
<target>1.7</target>
|
<encoding>UTF-8</encoding>
|
</configuration>
|
</plugin>
|
<plugin>
|
<groupId>org.apache.maven.plugins</groupId>
|
<artifactId>maven-surefire-plugin</artifactId>
|
<version>2.18</version>
|
<configuration>
|
<junitArtifactName>junit:junit</junitArtifactName>
|
<includes>
|
<include>**/*Test.java</include>
|
</includes>
|
</configuration>
|
</plugin>
|
<plugin>
|
<groupId>org.apache.maven.plugins</groupId>
|
<artifactId>maven-eclipse-plugin</artifactId>
|
<version>2.10</version>
|
<configuration>
|
<downloadSources>true</downloadSources>
|
<downloadJavadocs>false</downloadJavadocs>
|
<wtpversion>2.0</wtpversion>
|
<sourceExcludes>
|
<sourceExclude>**/.svn/**</sourceExclude>
|
</sourceExcludes>
|
</configuration>
|
</plugin>
|
</plugins>
|
|
</build>
|
</project>
|