-
Notifications
You must be signed in to change notification settings - Fork 5
/
pom.xml
149 lines (129 loc) · 5.07 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
<?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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.mvelx</groupId>
<artifactId>mvel</artifactId>
<packaging>jar</packaging>
<version>1.0.3</version>
<name>mvel</name>
<description>简单高效的脚本执行引擎</description>
<scm>
<developerConnection>scm:git:[email protected]:flym/mvelx.git</developerConnection>
<tag>HEAD</tag>
</scm>
<developers>
<developer>
<name>flym</name>
<url>www.iflym.com</url>
</developer>
</developers>
<properties>
<!-- 基础开发服务 -->
<lombok.version>1.16.10</lombok.version>
<!-- 基础环境 -->
<!-- 编译 -->
<maven-compiler-plugin.version>3.3</maven-compiler-plugin.version>
<!-- 编译版本 -->
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<!-- 编译编码 -->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!-- 源代码上传 -->
<maven-source-plugin.version>2.4</maven-source-plugin.version>
<!-- 测试集成 -->
<maven-surefire-plugin.version>2.19</maven-surefire-plugin.version>
<!-- 发布版本 -->
<maven-release-plugin.version>2.5.3</maven-release-plugin.version>
<!-- 日志 -->
<org.slf4j.version>1.7.21</org.slf4j.version>
<ch.qos.logback.version>1.1.3</ch.qos.logback.version>
<!-- 工具包 -->
<guava.version>19.0</guava.version>
<!-- 测试 -->
<testng.version>6.9.10</testng.version>
</properties>
<dependencies>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${lombok.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${org.slf4j.version}</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>${ch.qos.logback.version}</version>
<scope>runtime</scope>
<optional>true</optional>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>${guava.version}</version>
</dependency>
<!-- 测试 -->
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>${testng.version}</version>
<scope>${dependency.scope.value.test}</scope>
</dependency>
</dependencies>
<build>
<plugins>
<!-- 编译 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
<configuration>
<source>${maven.compiler.source}</source>
<target>${maven.compiler.target}</target>
<encoding>${project.build.sourceEncoding}</encoding>
<compilerArgs>
<arg>-parameters</arg>
</compilerArgs>
</configuration>
</plugin>
<!-- 源代码打包 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${maven-source-plugin.version}</version>
</plugin>
<!-- 测试 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-surefire-plugin.version}</version>
<configuration>
<argLine>
-ea
</argLine>
<suiteXmlFiles>
<suiteXmlFile>${project.build.testOutputDirectory}/testng.xml</suiteXmlFile>
</suiteXmlFiles>
</configuration>
</plugin>
<!-- javadoc 忽略此插件 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<!-- 发布 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>${maven-release-plugin.version}</version>
</plugin>
</plugins>
</build>
</project>