|
|
<?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>power</artifactId>
|
|
|
<groupId>com.manage</groupId>
|
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
</parent>
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
<artifactId>power-service</artifactId>
|
|
|
<properties>
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
<maven.compiler.encoding>UTF-8</maven.compiler.encoding>
|
|
|
</properties>
|
|
|
<dependencies>
|
|
|
<dependency>
|
|
|
<groupId>com.manage</groupId>
|
|
|
<artifactId>power-dao</artifactId>
|
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>com.manage</groupId>
|
|
|
<artifactId>power-api</artifactId>
|
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- servlet -->
|
|
|
<dependency>
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
<artifactId>jstl</artifactId>
|
|
|
<version>${jstl.version}</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
<artifactId>javax.servlet-api</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>taglibs</groupId>
|
|
|
<artifactId>standard</artifactId>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.aspectj</groupId>
|
|
|
<artifactId>aspectjweaver</artifactId>
|
|
|
<version>${aspectj.version}</version>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>junit</groupId>
|
|
|
<artifactId>junit</artifactId>
|
|
|
<version>${junit.version}</version>
|
|
|
<scope>compile</scope>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.springframework</groupId>
|
|
|
<artifactId>spring-test</artifactId>
|
|
|
<version>5.1.3.RELEASE</version>
|
|
|
</dependency>
|
|
|
<!--webSocket-->
|
|
|
<dependency>
|
|
|
<groupId>org.java-websocket</groupId>
|
|
|
<artifactId>Java-WebSocket</artifactId>
|
|
|
<version>${webSocket.version}</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>javax.websocket</groupId>
|
|
|
<artifactId>javax.websocket-api</artifactId>
|
|
|
<version>${javax.websocket-api.version}</version>
|
|
|
<scope>provided</scope>
|
|
|
</dependency>
|
|
|
<!-- https://mvnrepository.com/artifact/org.jsoup/jsoup -->
|
|
|
<dependency>
|
|
|
<groupId>org.jsoup</groupId>
|
|
|
<artifactId>jsoup</artifactId>
|
|
|
<version>1.11.3</version>
|
|
|
</dependency>
|
|
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
|
<build>
|
|
|
<plugins>
|
|
|
<plugin>
|
|
|
<!-- 指定maven编译的jdk版本,如果不指定,maven3默认用jdk 1.5 maven2默认用jdk1.3 -->
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
<version>3.1</version>
|
|
|
<configuration>
|
|
|
<!-- 一般而言,target与source是保持一致的,但是,有时候为了让程序能在其他版本的jdk中运行(对于低版本目标jdk,源代码中不能使用低版本jdk中不支持的语法),会存在target不同于source的情况 -->
|
|
|
<source>1.8</source> <!-- 源代码使用的JDK版本 -->
|
|
|
<target>1.8</target> <!-- 需要生成的目标class文件的编译版本 -->
|
|
|
<encoding>UTF-8</encoding><!-- 字符集编码 -->
|
|
|
</configuration>
|
|
|
</plugin>
|
|
|
<plugin>
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
<version>2.4.2</version>
|
|
|
<configuration>
|
|
|
<skipTests>true</skipTests>
|
|
|
</configuration>
|
|
|
</plugin>
|
|
|
</plugins>
|
|
|
</build>
|
|
|
|
|
|
</project>
|