pom.xml 3.0 KB
Newer Older
Z
zhangxin10 已提交
1 2 3 4 5
<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>skywalking-log</artifactId>
        <groupId>com.ai.cloud</groupId>
6
        <version>1.0b</version>
Z
zhangxin10 已提交
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
    </parent>
    <modelVersion>4.0.0</modelVersion>

    <artifactId>skywalking-log4j-2.x-plugin</artifactId>
    <packaging>jar</packaging>

    <name>log4j-2.x-plugin</name>
    <url>http://maven.apache.org</url>

    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    </properties>

    <dependencies>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>3.8.1</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>com.ai.cloud</groupId>
            <artifactId>skywalking-api</artifactId>
30
            <version>1.0b</version>
Z
zhangxin10 已提交
31 32 33 34 35 36 37
        </dependency>
        <dependency>
            <groupId>org.apache.logging.log4j</groupId>
            <artifactId>log4j-core</artifactId>
            <version>2.2</version>
        </dependency>
    </dependencies>
Z
zhangxin10 已提交
38 39 40 41 42
    <build>
        <plugins>
            <plugin>
                <artifactId>maven-compiler-plugin</artifactId>
                <configuration>
wu-sheng's avatar
wu-sheng 已提交
43 44
                    <source>1.7</source>
                    <target>1.7</target>
Z
zhangxin10 已提交
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
                    <encoding>${project.build.sourceEncoding}</encoding>
                </configuration>
            </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>
            <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>
76 77 78 79 80 81 82 83
    
    <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-log4j-2.x-plugin/;publish=1</url>
		</repository>
	</distributionManagement>
Z
zhangxin10 已提交
84
</project>