-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
217 lines (203 loc) · 9.38 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
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
<?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>
<packaging>pom</packaging>
<groupId>oap</groupId>
<artifactId>oap-teamcity-parent</artifactId>
<version>${oap-teamcity.project.version}</version>
<prerequisites>
<maven>3.6.3</maven>
</prerequisites>
<name>oap</name>
<modules>
<module>oap-teamcity</module>
<module>oap-teamcity-testng</module>
<module>oap-teamcity-folder-size-maven</module>
</modules>
<repositories>
<repository>
<id>oap</id>
<url>https://artifacts.oaplatform.org/repository/oap-maven/</url>
</repository>
</repositories>
<distributionManagement>
<repository>
<id>oap</id>
<url>https://artifacts.oaplatform.org/repository/oap-maven/</url>
</repository>
</distributionManagement>
<properties>
<oap-teamcity.project.version>22.0.0</oap-teamcity.project.version>
<maven.compiler.release>22</maven.compiler.release>
<encoding>UTF-8</encoding>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<oap.deps.guava.version>33.1.0-jre</oap.deps.guava.version>
<oap.deps.testng.version>7.10.1</oap.deps.testng.version>
<oap.deps.lombok.version>1.18.32</oap.deps.lombok.version>
<oap.deps.maven.flatten.version>1.6.0</oap.deps.maven.flatten.version>
<oap.deps.maven.jar.version>3.3.0</oap.deps.maven.jar.version>
<oap.deps.maven.compiler.version>3.13.0</oap.deps.maven.compiler.version>
<oap.deps.maven.checkstyle.version>3.3.1</oap.deps.maven.checkstyle.version>
<oap.deps.checkstyle.version>10.15.0</oap.deps.checkstyle.version>
<oap.deps.maven.source.version>3.3.1</oap.deps.maven.source.version>
<oap.deps.maven.surefire.version>3.2.5</oap.deps.maven.surefire.version>
<oap.deps.mavem-plugin-api.version>3.9.6</oap.deps.mavem-plugin-api.version>
<oap.deps.mavem-plugin-annotations.version>3.12.0</oap.deps.mavem-plugin-annotations.version>
<oap.deps.maven-plugin-plugin.version>3.12.0</oap.deps.maven-plugin-plugin.version>
</properties>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-plugin</artifactId>
<version>${oap.deps.maven-plugin-plugin.version}</version>
<configuration>
<goalPrefix>oap</goalPrefix>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${oap.deps.maven.compiler.version}</version>
<configuration>
<useIncrementalCompilation>true</useIncrementalCompilation>
<compilerArgs>
<arg>-parameters</arg>
<arg>-Xlint:unchecked</arg>
<arg>--add-modules</arg>
<arg>java.xml,java.compiler</arg>
</compilerArgs>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>${oap.deps.maven.jar.version}</version>
<configuration>
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
</manifest>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${oap.deps.maven.source.version}</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<version>${oap.deps.maven.flatten.version}</version>
<configuration>
<updatePomFile>true</updatePomFile>
<flattenMode>resolveCiFriendliesOnly</flattenMode>
</configuration>
<executions>
<execution>
<id>flatten</id>
<phase>process-resources</phase>
<goals>
<goal>flatten</goal>
</goals>
</execution>
<execution>
<id>flatten.clean</id>
<phase>clean</phase>
<goals>
<goal>clean</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>${oap.deps.maven.checkstyle.version}</version>
<configuration>
<configLocation>https://raw.githubusercontent.com/oaplatform/oap-maven/master/.idea/checkstyle.xml
</configLocation>
<encoding>UTF-8</encoding>
<consoleOutput>true</consoleOutput>
<failsOnError>true</failsOnError>
<linkXRef>false</linkXRef>
<sourceDirectories>
<sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
<sourceDirectory>${project.build.testSourceDirectory}</sourceDirectory>
</sourceDirectories>
</configuration>
<executions>
<execution>
<id>validate</id>
<phase>validate</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>com.puppycrawl.tools</groupId>
<artifactId>checkstyle</artifactId>
<version>${oap.deps.checkstyle.version}</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M7</version>
<configuration>
<argLine>
-ea
--add-opens=java.base/java.lang=ALL-UNNAMED
--add-opens=java.base/java.math=ALL-UNNAMED
--add-opens=java.base/java.util=ALL-UNNAMED
--add-opens=java.base/java.util.stream=ALL-UNNAMED
--add-opens=java.base/java.util.concurrent=ALL-UNNAMED
--add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED
--add-opens=java.base/java.net=ALL-UNNAMED
--add-opens=java.base/java.text=ALL-UNNAMED
--add-opens=java.base/java.io=ALL-UNNAMED
--add-opens=java.base/java.nio=ALL-UNNAMED
--add-opens=java.sql/java.sql=ALL-UNNAMED
</argLine>
<forkCount>1</forkCount>
<!-- Activate the use of TCP to transmit events to the plugin -->
<forkNode implementation="org.apache.maven.plugin.surefire.extensions.SurefireForkNodeFactory"/>
<reuseForks>true</reuseForks>
<trimStackTrace>false</trimStackTrace>
<testFailureIgnore>true</testFailureIgnore>
<useFile>false</useFile>
<disableXmlReport>true</disableXmlReport>
<printSummary>false</printSummary>
<forkedProcessTimeoutInSeconds>4800</forkedProcessTimeoutInSeconds>
<useSystemClassLoader>true</useSystemClassLoader>
<runOrder>balanced</runOrder>
<includes>
<include>**/*Test.*</include>
</includes>
<excludes>
<exclude>**/*Performance.*</exclude>
<exclude>**/*Perf.*</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>
</project>