<?xml version="1.0" encoding="UTF-8"?>
<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">
    <modelVersion>4.0.0</modelVersion>
    
    <parent>
        <groupId>com.catchpoint</groupId>
        <artifactId>cp-trace-parent</artifactId>
        <version>0.0.20</version>
    </parent>

    <groupId>com.catchpoint</groupId>
    <artifactId>cp-trace-instrument-core</artifactId>
    <name>cp-trace-instrument-core</name>

    <properties>
        <javassist.version>3.28.0-GA</javassist.version>
        <bytebuddy.version>1.12.6</bytebuddy.version>
        <commons-text.version>1.6</commons-text.version>
        <jd.core.version>1.1.3</jd.core.version>
    </properties>    

    <dependencies>

        <!-- Catchpoint Trace dependencies              -->
        <!-- ========================================== -->
        <dependency>
            <groupId>com.catchpoint</groupId>
            <artifactId>cp-trace-core</artifactId>
        </dependency>
        <dependency>
            <groupId>com.catchpoint</groupId>
            <artifactId>cp-trace-instrument-agent</artifactId>
        </dependency>
        <dependency>
            <groupId>com.catchpoint</groupId>
            <artifactId>cp-trace-bootstrap</artifactId>
        </dependency>
        <!-- ========================================== -->

        <!-- 3rd party dependencies                     -->
        <!-- ========================================== -->
        <dependency>
            <groupId>org.javassist</groupId>
            <artifactId>javassist</artifactId>
            <version>${javassist.version}</version>
        </dependency>
        <dependency>
            <groupId>net.bytebuddy</groupId>
            <artifactId>byte-buddy</artifactId>
            <version>${bytebuddy.version}</version>
        </dependency>
        <dependency>
            <groupId>org.apache.commons</groupId>
            <artifactId>commons-text</artifactId>
            <version>${commons-text.version}</version>
        </dependency>
        <dependency>
            <groupId>org.antlr</groupId>
            <artifactId>antlr4-runtime</artifactId>
        </dependency>
        <!-- ========================================== -->

        <!-- Test dependencies                          -->
        <!-- ========================================== -->
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.mockito</groupId>
            <artifactId>mockito-core</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.powermock</groupId>
            <artifactId>powermock-api-mockito2</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.hamcrest</groupId>
            <artifactId>hamcrest-all</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>com.catchpoint</groupId>
            <artifactId>cp-trace-common</artifactId>
            <type>test-jar</type>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>com.catchpoint</groupId>
            <artifactId>cp-trace-core</artifactId>
            <type>test-jar</type>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>com.catchpoint</groupId>
            <artifactId>cp-trace-api-trace</artifactId>
            <scope>test</scope>
        </dependency>
        <!-- ========================================== -->

    </dependencies>

    <build>
        <!--
        Disabled Proguard because it tempers with the stack map frames
            - https://github.com/raphw/byte-buddy/issues/884
            - https://github.com/Guardsquare/proguard/issues/50
        -->
<!--        <plugins>-->
<!--            <plugin>-->
<!--                <groupId>com.github.wvengen</groupId>-->
<!--                <artifactId>proguard-maven-plugin</artifactId>-->
<!--                <configuration>-->
<!--                    <options>-->
<!--                        <option>-keep class !com.catchpoint.trace.instrument.core.internal.impl.** { *; }</option>-->
<!--                        <option>-keepattributes *Annotation*, Exceptions, Signature, Deprecated, SourceFile, SourceDir, LineNumberTable, LocalVariableTable, LocalVariableTypeTable, Synthetic, EnclosingMethod, RuntimeVisibleAnnotations, RuntimeInvisibleAnnotations, RuntimeVisibleParameterAnnotations, RuntimeInvisibleParameterAnnotations, InnerClasses</option>-->
<!--                        <option>-dontshrink</option>-->
<!--                        <option>-dontoptimize</option>-->
<!--                        <option>-ignorewarnings</option>-->
<!--                    </options>-->
<!--                </configuration>-->
<!--            </plugin>-->
<!--        </plugins>-->
    </build>

    <repositories>
        <repository>
            <id>jcenter</id>
            <name>jcenter</name>
            <url>https://jcenter.bintray.com</url>
        </repository>
    </repositories>

</project>