pom.xml 14.0 KB
Newer Older
wu-sheng's avatar
wu-sheng 已提交
1
<?xml version="1.0" encoding="UTF-8"?>
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
<!--
  ~ Copyright 2017, OpenSkywalking Organization All rights reserved.
  ~
  ~ Licensed under the Apache License, Version 2.0 (the "License");
  ~ you may not use this file except in compliance with the License.
  ~ You may obtain a copy of the License at
  ~
  ~     http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing, software
  ~ distributed under the License is distributed on an "AS IS" BASIS,
  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License.
  ~
  ~ Project repository: https://github.com/OpenSkywalking/skywalking
  -->

P
test  
pengys5 已提交
20
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
P
pengys5 已提交
21 22
         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>
wu-sheng's avatar
wu-sheng 已提交
23

P
pengys5 已提交
24 25
    <groupId>org.skywalking</groupId>
    <artifactId>apm</artifactId>
wu-sheng's avatar
wu-sheng 已提交
26
    <version>3.2.4-2017</version>
wu-sheng's avatar
wu-sheng 已提交
27

P
pengys5 已提交
28 29 30 31 32 33
    <licenses>
        <license>
            <name>GNU GENERAL PUBLIC LICENSE V3</name>
            <url>https://github.com/wu-sheng/sky-walking/blob/master/LICENSE</url>
        </license>
    </licenses>
wu-sheng's avatar
wu-sheng 已提交
34

P
pengys5 已提交
35 36 37 38 39 40 41 42 43 44
    <developers>
        <developer>
            <name>Wu Sheng</name>
            <email>wu.sheng@foxmail.com</email>
            <url>https://wu-sheng.github.io/me/</url>
        </developer>
        <developer>
            <name>Zhang Xin</name>
            <url>https://github.com/ascrutae</url>
        </developer>
45 46 47 48 49 50 51 52 53 54
        <developer>
            <name>Tan Zhen</name>
            <url>https://github.com/mircoteam</url>
        </developer>
        <developer>
            <name>Xu Yan</name>
            <url>https://github.com/TastySummer</url>
        </developer>
        <developer>
            <name>Peng Yongsheng</name>
55 56
            <email>8082209@qq.com</email>
            <url>https://github.com/peng-yongsheng</url>
57 58 59 60
        </developer>
        <developer>
            <name>Dai Wen</name>
        </developer>
P
pengys5 已提交
61
    </developers>
wu-sheng's avatar
wu-sheng 已提交
62

P
pengys5 已提交
63 64 65 66
    <modules>
        <module>apm-commons</module>
        <module>apm-sniffer</module>
        <module>apm-application-toolkit</module>
wu-sheng's avatar
wu-sheng 已提交
67
        <module>apm-network</module>
68
        <module>apm-collector</module>
P
pengys5 已提交
69 70
    </modules>
    <packaging>pom</packaging>
wu-sheng's avatar
wu-sheng 已提交
71

P
pengys5 已提交
72
    <name>apm</name>
73
    <url>https://github.com/OpenSkywalking/skywalking</url>
wu-sheng's avatar
wu-sheng 已提交
74

P
pengys5 已提交
75 76
    <issueManagement>
        <system>GitHub</system>
77
        <url>https://github.com/OpenSkywalking/skywalking/issues</url>
P
pengys5 已提交
78
    </issueManagement>
wu-sheng's avatar
wu-sheng 已提交
79

P
pengys5 已提交
80 81 82 83
    <ciManagement>
        <system>travis</system>
        <url>https://travis-ci.org/wu-sheng/sky-walking</url>
    </ciManagement>
wu-sheng's avatar
wu-sheng 已提交
84

P
pengys5 已提交
85 86 87 88 89 90
    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <compiler.version>1.8</compiler.version>
        <scala.compiler.version>2.11.7</scala.compiler.version>
        <powermock.version>1.6.4</powermock.version>
        <docker.plugin.version>0.4.13</docker.plugin.version>
91
        <checkstyle.header.file>java.header</checkstyle.header.file>
P
pengys5 已提交
92
    </properties>
wu-sheng's avatar
wu-sheng 已提交
93

94
    <dependencies>
95
        <dependency>
96 97 98 99 100 101 102
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.12</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.mockito</groupId>
A
ascrutae 已提交
103
            <artifactId>mockito-all</artifactId>
104 105 106
            <version>1.10.19</version>
            <scope>test</scope>
        </dependency>
A
ascrutae 已提交
107 108 109 110 111 112 113 114 115 116 117 118
        <dependency>
            <groupId>org.powermock</groupId>
            <artifactId>powermock-module-junit4</artifactId>
            <version>${powermock.version}</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.powermock</groupId>
            <artifactId>powermock-api-mockito</artifactId>
            <version>${powermock.version}</version>
            <scope>test</scope>
        </dependency>
119
    </dependencies>
wu-sheng's avatar
wu-sheng 已提交
120

121 122
    <build>
        <plugins>
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 218 219 220 221 222 223 224 225 226 227 228 229
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>exec-maven-plugin</artifactId>
                <version>1.6.0</version>
                <executions>
                    <execution>
                        <id>install-jmxtools</id>
                        <inherited>false</inherited>
                        <phase>process-resources</phase>
                        <goals>
                            <goal>exec</goal>
                        </goals>
                        <configuration>
                            <executable>mvn</executable>
                            <arguments>
                                <argument>install:install-file</argument>
                                <argument>-Dfile=jmxtools-1.2.1.jar</argument>
                                <argument>-DgroupId=com.sun.jdmk</argument>
                                <argument>-DartifactId=jmxtools</argument>
                                <argument>-Dversion=1.2.1</argument>
                                <argument>-Dpackaging=jar</argument>
                            </arguments>
                            <workingDirectory>${project.basedir}/ci-dependencies</workingDirectory>
                        </configuration>
                    </execution>
                    <execution>
                        <id>install-ojdbc</id>
                        <inherited>false</inherited>
                        <phase>process-resources</phase>
                        <goals>
                            <goal>exec</goal>
                        </goals>
                        <configuration>
                            <executable>mvn</executable>
                            <arguments>
                                <argument>install:install-file</argument>
                                <argument>-Dfile=ojdbc14-10.2.0.4.0.jar</argument>
                                <argument>-DgroupId=com.oracle</argument>
                                <argument>-DartifactId=ojdbc14</argument>
                                <argument>-Dversion=10.2.0.4.0</argument>
                                <argument>-Dpackaging=jar</argument>
                            </arguments>
                            <workingDirectory>${project.basedir}/ci-dependencies</workingDirectory>
                        </configuration>
                    </execution>
                    <execution>
                        <id>install-resin</id>
                        <inherited>false</inherited>
                        <phase>process-resources</phase>
                        <goals>
                            <goal>exec</goal>
                        </goals>
                        <configuration>
                            <executable>mvn</executable>
                            <arguments>
                                <argument>install:install-file</argument>
                                <argument>-Dfile=resin-4.0.41.jar</argument>
                                <argument>-DgroupId=com.caucho</argument>
                                <argument>-DartifactId=resin</argument>
                                <argument>-Dversion=4.0.41</argument>
                                <argument>-Dpackaging=jar</argument>
                            </arguments>
                            <workingDirectory>${project.basedir}/ci-dependencies</workingDirectory>
                        </configuration>
                    </execution>
                    <execution>
                        <id>install-jmxri</id>
                        <inherited>false</inherited>
                        <phase>process-resources</phase>
                        <goals>
                            <goal>exec</goal>
                        </goals>
                        <configuration>
                            <executable>mvn</executable>
                            <arguments>
                                <argument>install:install-file</argument>
                                <argument>-Dfile=jmxri-1.2.1.jar</argument>
                                <argument>-DgroupId=com.sun.jmx</argument>
                                <argument>-DartifactId=jmxri</argument>
                                <argument>-Dversion=1.2.1</argument>
                                <argument>-Dpackaging=jar</argument>
                            </arguments>
                            <workingDirectory>${project.basedir}/ci-dependencies</workingDirectory>
                        </configuration>
                    </execution>
                    <execution>
                        <id>install-dubbox</id>
                        <inherited>false</inherited>
                        <phase>process-resources</phase>
                        <goals>
                            <goal>exec</goal>
                        </goals>
                        <configuration>
                            <executable>mvn</executable>
                            <arguments>
                                <argument>install:install-file</argument>
                                <argument>-Dfile=dubbox-2.8.4.jar</argument>
                                <argument>-DgroupId=com.alibaba</argument>
                                <argument>-DartifactId=dubbox</argument>
                                <argument>-Dversion=2.8.4</argument>
                                <argument>-Dpackaging=jar</argument>
                            </arguments>
                            <workingDirectory>${project.basedir}/ci-dependencies</workingDirectory>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
230
            <plugin>
231
                <groupId>org.apache.maven.plugins</groupId>
232 233
                <artifactId>maven-compiler-plugin</artifactId>
                <configuration>
A
ascrutae 已提交
234 235
                    <source>${compiler.version}</source>
                    <target>${compiler.version}</target>
236 237
                    <encoding>${project.build.sourceEncoding}</encoding>
                </configuration>
238
                <version>3.6.1</version>
239 240 241 242 243 244 245 246 247
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-resources-plugin</artifactId>
                <version>2.4.3</version>
                <configuration>
                    <encoding>${project.build.sourceEncoding}</encoding>
                </configuration>
            </plugin>
A
ascrutae 已提交
248 249 250 251 252 253 254 255
            <plugin>
                <groupId>com.spotify</groupId>
                <artifactId>docker-maven-plugin</artifactId>
                <version>${docker.plugin.version}</version>
                <configuration>
                    <skipDocker>true</skipDocker>
                </configuration>
            </plugin>
A
ascrutae 已提交
256 257 258 259 260 261 262 263 264 265 266 267 268 269 270
            <plugin>
                <!-- 源码插件 -->
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-source-plugin</artifactId>
                <!-- 发布时自动将源码同时发布的配置 -->
                <executions>
                    <execution>
                        <id>attach-sources</id>
                        <goals>
                            <goal>jar</goal>
                        </goals>
                    </execution>
                </executions>
                <version>2.4</version>
            </plugin>
A
ascrutae 已提交
271 272 273 274 275
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>versions-maven-plugin</artifactId>
                <version>2.3</version>
            </plugin>
wu-sheng's avatar
wu-sheng 已提交
276 277 278
            <plugin>
                <groupId>org.eluder.coveralls</groupId>
                <artifactId>coveralls-maven-plugin</artifactId>
wu-sheng's avatar
wu-sheng 已提交
279
                <version>4.1.0</version>
wu-sheng's avatar
wu-sheng 已提交
280
                <configuration>
wu-sheng's avatar
wu-sheng 已提交
281
                    <repoToken>lSwNTzlZBFIz3fmFntWGtc6BUwgU7dlms</repoToken>
Z
zhangxin 已提交
282 283 284
                    <sourceDirectories>
                        <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
                    </sourceDirectories>
wu-sheng's avatar
wu-sheng 已提交
285 286 287 288
                </configuration>
            </plugin>
            <!-- 覆盖率 -->
            <plugin>
289 290 291 292 293 294 295 296 297 298 299
                <groupId>org.jacoco</groupId>
                <artifactId>jacoco-maven-plugin</artifactId>
                <version>0.7.9</version>
                <executions>
                    <execution>
                        <id>prepare-agent</id>
                        <goals>
                            <goal>prepare-agent</goal>
                        </goals>
                    </execution>
                </executions>
wu-sheng's avatar
wu-sheng 已提交
300
            </plugin>
Z
zhangxin 已提交
301 302 303 304 305 306 307 308
            <plugin>
                <groupId>com.spotify</groupId>
                <artifactId>docker-maven-plugin</artifactId>
                <version>${docker.plugin.version}</version>
                <configuration>
                    <skipDocker>true</skipDocker>
                </configuration>
            </plugin>
309 310 311 312 313 314 315 316 317 318 319
            <plugin>
                <artifactId>maven-checkstyle-plugin</artifactId>
                <version>2.17</version>
                <executions>
                    <execution>
                        <id>validate</id>
                        <phase>validate</phase>
                        <configuration>
                            <configLocation>checkStyle.xml</configLocation>
                            <encoding>UTF-8</encoding>
                            <consoleOutput>true</consoleOutput>
P
peng-yongsheng 已提交
320
                            <includeTestSourceDirectory>true</includeTestSourceDirectory>
321
                            <failsOnError>true</failsOnError>
wu-sheng's avatar
Fix CI  
wu-sheng 已提交
322
                            <excludes>org/skywalking/apm/network/**/*.java,
wu-sheng's avatar
wu-sheng 已提交
323 324 325
                                org/skywalking/apm/collector/remote/grpc/**/*.java,
                                org/skywalking/apm/agent/core/context/ids/base64/*.java
                            </excludes>
326 327 328 329 330 331 332
                        </configuration>
                        <goals>
                            <goal>check</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
333 334
        </plugins>
    </build>
A
ascrutae 已提交
335
</project>