pom.xml 2.2 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-sdk-plugin</artifactId>
        <groupId>com.ai.cloud</groupId>
6
        <version>1.0b</version>
Z
zhangxin10 已提交
7 8 9
    </parent>
    <modelVersion>4.0.0</modelVersion>

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

wu-sheng's avatar
wu-sheng 已提交
13
    <name>httpclient-4.2.x-plugin</name>
Z
zhangxin10 已提交
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
    <url>http://maven.apache.org</url>

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

    <dependencies>
        <dependency>
            <groupId>com.ai.cloud</groupId>
            <artifactId>skywalking-api</artifactId>
            <version>${project.version}</version>
        </dependency>
        <dependency>
            <groupId>org.apache.httpcomponents</groupId>
            <artifactId>httpclient</artifactId>
            <version>4.2.1</version>
            <scope>compile</scope>
        </dependency>
    </dependencies>
    <build>
        <plugins>
Z
zhangxin10 已提交
35 36 37
            <plugin>
                <artifactId>maven-compiler-plugin</artifactId>
                <configuration>
wu-sheng's avatar
wu-sheng 已提交
38 39
                    <source>1.7</source>
                    <target>1.7</target>
Z
zhangxin10 已提交
40 41 42
                    <encoding>${project.build.sourceEncoding}</encoding>
                </configuration>
            </plugin>
Z
zhangxin10 已提交
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
            <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>
</project>