pom.xml 2.8 KB
Newer Older
wu-sheng's avatar
wu-sheng 已提交
1
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
Z
zhangxin10 已提交
2 3 4 5
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <parent>
        <artifactId>skywalking-sdk-plugin</artifactId>
        <groupId>com.ai.cloud</groupId>
6
        <version>1.0b</version>
Z
zhangxin10 已提交
7 8
    </parent>
    <modelVersion>4.0.0</modelVersion>
wu-sheng's avatar
wu-sheng 已提交
9

10
    <artifactId>skywalking-mysql-plugin</artifactId>
Z
zhangxin10 已提交
11
    <packaging>jar</packaging>
wu-sheng's avatar
wu-sheng 已提交
12

13
    <name>mysql-plugin</name>
Z
zhangxin10 已提交
14
    <url>http://maven.apache.org</url>
wu-sheng's avatar
wu-sheng 已提交
15

Z
zhangxin10 已提交
16 17 18
    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    </properties>
wu-sheng's avatar
wu-sheng 已提交
19

Z
zhangxin10 已提交
20 21 22 23 24 25 26 27 28 29 30 31
    <dependencies>
        <dependency>
            <groupId>com.ai.cloud</groupId>
            <artifactId>skywalking-api</artifactId>
            <version>${project.version}</version>
        </dependency>
        <dependency>
            <groupId>mysql</groupId>
            <artifactId>mysql-connector-java</artifactId>
            <version>5.1.36</version>
            <scope>compile</scope>
        </dependency>
32 33 34 35 36 37 38 39 40 41 42 43 44
        
        <dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<version>4.12</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.apache.logging.log4j</groupId>
			<artifactId>log4j-core</artifactId>
			<version>2.4.1</version>
			<scope>test</scope>
		</dependency>
Z
zhangxin10 已提交
45 46 47 48
    </dependencies>

    <build>
        <plugins>
Z
zhangxin10 已提交
49 50 51
            <plugin>
                <artifactId>maven-compiler-plugin</artifactId>
                <configuration>
wu-sheng's avatar
wu-sheng 已提交
52 53
                    <source>1.7</source>
                    <target>1.7</target>
Z
zhangxin10 已提交
54 55 56
                    <encoding>${project.build.sourceEncoding}</encoding>
                </configuration>
            </plugin>
Z
zhangxin10 已提交
57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-deploy-plugin</artifactId>
            </plugin>
            <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>
            </plugin>
        </plugins>
    </build>
77
    
78 79 80 81 82 83 84
    <distributionManagement>
		<repository>
			<id>bintray-wu-sheng-sky-walking-repository</id>
			<name>wu-sheng-sky-walking-repository</name>
			<url>https://api.bintray.com/maven/wu-sheng/skywalking/com.ai.cloud.skywalking-mysql-plugin/;publish=1</url>
		</repository>
	</distributionManagement>
wu-sheng's avatar
wu-sheng 已提交
85
</project>