pom.xml 2.9 KB
Newer Older
1
<!--
wu-sheng's avatar
wu-sheng 已提交
2 3 4 5 6 7
  ~ Licensed to the Apache Software Foundation (ASF) under one or more
  ~ contributor license agreements.  See the NOTICE file distributed with
  ~ this work for additional information regarding copyright ownership.
  ~ The ASF licenses this file to You 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
8 9 10 11 12 13 14 15 16 17 18
  ~
  ~     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.
  ~
  -->

19
<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">
A
ascrutae 已提交
20 21
    <parent>
        <artifactId>apm-sdk-plugin</artifactId>
22
        <groupId>org.apache.skywalking</groupId>
23
        <version>8.5.0</version>
A
ascrutae 已提交
24 25 26 27 28 29 30 31 32 33 34
    </parent>
    <modelVersion>4.0.0</modelVersion>

    <artifactId>apm-struts2-2.x-plugin</artifactId>
    <packaging>jar</packaging>

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

    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
35 36 37
        <struts2-core.version>2.3.1</struts2-core.version>
        <javax-servlet-api.version>3.1.0</javax-servlet-api.version>
        <jsp-api.version>2.0</jsp-api.version>
A
ascrutae 已提交
38 39 40 41 42 43
    </properties>

    <dependencies>
        <dependency>
            <groupId>org.apache.struts</groupId>
            <artifactId>struts2-core</artifactId>
44
            <version>${struts2-core.version}</version>
A
ascrutae 已提交
45
            <scope>provided</scope>
46 47 48 49 50 51 52 53
            <exclusions>
                <!-- The default javassist is not compatible with 3.x power mock. -->
                <!-- Manually add the dependency back for test below. -->
                <exclusion>
                    <groupId>javassist</groupId>
                    <artifactId>javassist</artifactId>
                </exclusion>
            </exclusions>
A
ascrutae 已提交
54 55 56 57
        </dependency>
        <dependency>
            <groupId>javax.servlet</groupId>
            <artifactId>javax.servlet-api</artifactId>
58
            <version>${javax-servlet-api.version}</version>
A
ascrutae 已提交
59 60 61 62 63
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>javax.servlet</groupId>
            <artifactId>jsp-api</artifactId>
64
            <version>${jsp-api.version}</version>
A
ascrutae 已提交
65 66
            <scope>test</scope>
        </dependency>
67 68 69 70 71 72
        <dependency>
            <groupId>org.javassist</groupId>
            <artifactId>javassist</artifactId>
            <version>3.24.0-GA</version>
            <scope>test</scope>
        </dependency>
A
ascrutae 已提交
73 74
    </dependencies>
</project>