99 lines
3.4 KiB
XML
99 lines
3.4 KiB
XML
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
|
|
||
|
|
<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">
|
||
|
|
<parent>
|
||
|
|
<artifactId>system</artifactId>
|
||
|
|
<groupId>com.njcn</groupId>
|
||
|
|
<version>1.0-SNAPSHOT</version>
|
||
|
|
</parent>
|
||
|
|
<modelVersion>4.0.0</modelVersion>
|
||
|
|
<artifactId>sso</artifactId>
|
||
|
|
<packaging>war</packaging>
|
||
|
|
<name>sso Maven Webapp</name>
|
||
|
|
<url>http://www.example.com</url>
|
||
|
|
|
||
|
|
<properties>
|
||
|
|
<!--项目建设环境编码格式 -->
|
||
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||
|
|
</properties>
|
||
|
|
<dependencies>
|
||
|
|
<dependency>
|
||
|
|
<groupId>com.njcn</groupId>
|
||
|
|
<artifactId>comService</artifactId>
|
||
|
|
<version>1.0-SNAPSHOT</version>
|
||
|
|
</dependency>
|
||
|
|
<!-- spring用到的包 *********start********* -->
|
||
|
|
|
||
|
|
|
||
|
|
<!-- 验证码服务 -->
|
||
|
|
<dependency>
|
||
|
|
<groupId>com.github.penggle</groupId>
|
||
|
|
<artifactId>kaptcha</artifactId>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>javax</groupId>
|
||
|
|
<artifactId>javaee-api</artifactId>
|
||
|
|
<scope>compile</scope>
|
||
|
|
</dependency>
|
||
|
|
</dependencies>
|
||
|
|
<build>
|
||
|
|
<plugins>
|
||
|
|
<!--编译文件指定jdk-->
|
||
|
|
<plugin>
|
||
|
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
||
|
|
<version>2.3.2</version>
|
||
|
|
<configuration>
|
||
|
|
<source>1.8</source>
|
||
|
|
<target>1.8</target>
|
||
|
|
<encoding>UTF-8</encoding>
|
||
|
|
<compilerArguments>
|
||
|
|
<verbose />
|
||
|
|
<bootclasspath>C:\JAVA\jdk\jre\lib\rt.jar;C:\JAVA\jre\lib\jce.jar</bootclasspath>
|
||
|
|
</compilerArguments>
|
||
|
|
</configuration>
|
||
|
|
</plugin>
|
||
|
|
<plugin>
|
||
|
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
||
|
|
<version>2.14.1</version>
|
||
|
|
<configuration>
|
||
|
|
<skipTests>true</skipTests>
|
||
|
|
</configuration>
|
||
|
|
</plugin>
|
||
|
|
<!--maven跑tomcat插件-->
|
||
|
|
<plugin>
|
||
|
|
<groupId>org.apache.tomcat.maven</groupId>
|
||
|
|
<artifactId>tomcat7-maven-plugin</artifactId>
|
||
|
|
<configuration>
|
||
|
|
<port>8080</port>
|
||
|
|
<path>/</path>
|
||
|
|
</configuration>
|
||
|
|
</plugin>
|
||
|
|
</plugins>
|
||
|
|
<resources>
|
||
|
|
<resource>
|
||
|
|
<directory>src/main/resources</directory>
|
||
|
|
<filtering>true</filtering>
|
||
|
|
<excludes>
|
||
|
|
<exclude>**/*.woff</exclude>
|
||
|
|
<exclude>**/*.woff2</exclude>
|
||
|
|
<exclude>**/*.ttf</exclude>
|
||
|
|
</excludes>
|
||
|
|
</resource>
|
||
|
|
<resource>
|
||
|
|
<directory>src/main/resources</directory>
|
||
|
|
<filtering>false</filtering>
|
||
|
|
<includes>
|
||
|
|
<include>**/*.woff</include>
|
||
|
|
<include>**/*.woff2</include>
|
||
|
|
<include>**/*.ttf</include>
|
||
|
|
</includes>
|
||
|
|
</resource>
|
||
|
|
</resources>
|
||
|
|
<defaultGoal>install</defaultGoal>
|
||
|
|
</build>
|
||
|
|
|
||
|
|
</project>
|