removing some files
DELETE
dd-java-agent/dependency-reduced-pom.xml
-<?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/maven-v4_0_0.xsd">
- <parent>
- <artifactId>dd-trace-java</artifactId>
- <groupId>com.datadoghq</groupId>
- <version>1.0-SNAPSHOT</version>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <artifactId>dd-java-agent</artifactId>
- <name>dd-java-agent</name>
- <build>
- <finalName>${project.artifactId}</finalName>
- <plugins>
- <plugin>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>3.6.1</version>
- <configuration>
- <source>${java.version}</source>
- <target>${java.version}</target>
- </configuration>
- </plugin>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>2.20</version>
- <configuration>
- <includes>
- <include>*Test.java</include>
- </includes>
- <excludes>
- <exclude>ElasticSearchInstrumentationTest.java</exclude>
- </excludes>
- <forkCount>3</forkCount>
- <reuseForks>false</reuseForks>
- <argLine>-Xmx500m -Xms500m -XX:MaxPermSize=256m -Dorg.jboss.byteman.verbose=true -Djavaagent.enableAnnotations
- -javaagent:${M2_REPO}/com/datadoghq/dd-java-agent/${project.version}/dd-java-agent-${project.version}.jar</argLine>
- <workingDirectory>target/FORK_DIRECTORY_${surefire.forkNumber}</workingDirectory>
- </configuration>
- </plugin>
- <plugin>
- <artifactId>maven-shade-plugin</artifactId>
- <version>2.4.3</version>
- <executions>
- <execution>
- <phase>package</phase>
- <goals>
- <goal>shade</goal>
- </goals>
- <configuration>
- <artifactSet>
- <excludes />
- </artifactSet>
- <transformers>
- <transformer>
- <resource>otarules.btm</resource>
- </transformer>
- <transformer>
- <manifestEntries>
- <Agent-Class>io.opentracing.contrib.agent.AnnotationsTracingAgent</Agent-Class>
- <Premain-Class>io.opentracing.contrib.agent.AnnotationsTracingAgent</Premain-Class>
- <Can-Redefine-Classes>true</Can-Redefine-Classes>
- <Can-Retransform-Classes>true</Can-Retransform-Classes>
- <Boot-Class-Path>./${project.artifactId}.jar</Boot-Class-Path>
- </manifestEntries>
- </transformer>
- </transformers>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- <dependencies>
- <dependency>
- <groupId>io.opentracing</groupId>
- <artifactId>opentracing-mock</artifactId>
- <version>0.22.0</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.12</version>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <artifactId>hamcrest-core</artifactId>
- <groupId>org.hamcrest</groupId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.assertj</groupId>
- <artifactId>assertj-core</artifactId>
- <version>3.6.2</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.mongodb</groupId>
- <artifactId>mongo-java-driver</artifactId>
- <version>3.4.2</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.eclipse.jetty</groupId>
- <artifactId>jetty-server</artifactId>
- <version>9.4.1.v20170120</version>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <artifactId>javax.servlet-api</artifactId>
- <groupId>javax.servlet</groupId>
- </exclusion>
- <exclusion>
- <artifactId>jetty-http</artifactId>
- <groupId>org.eclipse.jetty</groupId>
- </exclusion>
- <exclusion>
- <artifactId>jetty-io</artifactId>
- <groupId>org.eclipse.jetty</groupId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.eclipse.jetty</groupId>
- <artifactId>jetty-servlet</artifactId>
- <version>9.4.1.v20170120</version>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <artifactId>jetty-security</artifactId>
- <groupId>org.eclipse.jetty</groupId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.apache.tomcat.embed</groupId>
- <artifactId>tomcat-embed-core</artifactId>
- <version>8.0.41</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.tomcat.embed</groupId>
- <artifactId>tomcat-embed-jasper</artifactId>
- <version>8.0.41</version>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <artifactId>tomcat-embed-el</artifactId>
- <groupId>org.apache.tomcat.embed</groupId>
- </exclusion>
- <exclusion>
- <artifactId>ecj</artifactId>
- <groupId>org.eclipse.jdt.core.compiler</groupId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>com.amazonaws</groupId>
- <artifactId>aws-java-sdk</artifactId>
- <version>1.11.132</version>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <artifactId>httpclient</artifactId>
- <groupId>org.apache.httpcomponents</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-athena</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-marketplaceentitlement</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-codestar</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-lexmodelbuilding</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-resourcegroupstaggingapi</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-pinpoint</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-xray</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-opsworkscm</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-support</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-simpledb</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-servicecatalog</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-servermigration</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-simpleworkflow</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-storagegateway</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-route53</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-s3</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-importexport</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-sts</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-sqs</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-rds</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-redshift</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-elasticbeanstalk</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-glacier</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-iam</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-datapipeline</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-elasticloadbalancing</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-elasticloadbalancingv2</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-emr</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-elasticache</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-elastictranscoder</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-ec2</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-dynamodb</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-sns</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-budgets</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-cloudtrail</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-cloudwatch</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-logs</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-events</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-cognitoidentity</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-cognitosync</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-directconnect</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-cloudformation</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-cloudfront</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-clouddirectory</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-kinesis</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-opsworks</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-ses</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-autoscaling</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-cloudsearch</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-cloudwatchmetrics</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-codedeploy</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-codepipeline</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-kms</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-config</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-lambda</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-ecs</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-ecr</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-cloudhsm</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-ssm</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-workspaces</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-machinelearning</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-directory</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-efs</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-codecommit</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-devicefarm</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-elasticsearch</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-waf</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-marketplacecommerceanalytics</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-inspector</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-iot</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-api-gateway</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-acm</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-gamelift</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-dms</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-marketplacemeteringservice</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-cognitoidp</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-discovery</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-applicationautoscaling</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-snowball</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-rekognition</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-polly</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-lightsail</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-stepfunctions</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-health</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-costandusagereport</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-codebuild</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-appstream</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-shield</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-batch</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-lex</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-mechanicalturkrequester</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-organizations</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-workdocs</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-core</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-models</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- <exclusion>
- <artifactId>aws-java-sdk-swf-libraries</artifactId>
- <groupId>com.amazonaws</groupId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>com.squareup.okhttp3</groupId>
- <artifactId>okhttp</artifactId>
- <version>3.6.0</version>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <artifactId>okio</artifactId>
- <groupId>com.squareup.okio</groupId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.apache.httpcomponents</groupId>
- <artifactId>httpclient</artifactId>
- <version>4.5.3</version>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <artifactId>httpcore</artifactId>
- <groupId>org.apache.httpcomponents</groupId>
- </exclusion>
- <exclusion>
- <artifactId>commons-logging</artifactId>
- <groupId>commons-logging</groupId>
- </exclusion>
- <exclusion>
- <artifactId>commons-codec</artifactId>
- <groupId>commons-codec</groupId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.elasticsearch.client</groupId>
- <artifactId>transport</artifactId>
- <version>5.4.0</version>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <artifactId>elasticsearch</artifactId>
- <groupId>org.elasticsearch</groupId>
- </exclusion>
- <exclusion>
- <artifactId>transport-netty3-client</artifactId>
- <groupId>org.elasticsearch.plugin</groupId>
- </exclusion>
- <exclusion>
- <artifactId>transport-netty4-client</artifactId>
- <groupId>org.elasticsearch.plugin</groupId>
- </exclusion>
- <exclusion>
- <artifactId>reindex-client</artifactId>
- <groupId>org.elasticsearch.plugin</groupId>
- </exclusion>
- <exclusion>
- <artifactId>lang-mustache-client</artifactId>
- <groupId>org.elasticsearch.plugin</groupId>
- </exclusion>
- <exclusion>
- <artifactId>percolator-client</artifactId>
- <groupId>org.elasticsearch.plugin</groupId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.elasticsearch.client</groupId>
- <artifactId>rest</artifactId>
- <version>5.4.0</version>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <artifactId>httpasyncclient</artifactId>
- <groupId>org.apache.httpcomponents</groupId>
- </exclusion>
- <exclusion>
- <artifactId>httpcore-nio</artifactId>
- <groupId>org.apache.httpcomponents</groupId>
- </exclusion>
- <exclusion>
- <artifactId>httpcore</artifactId>
- <groupId>org.apache.httpcomponents</groupId>
- </exclusion>
- <exclusion>
- <artifactId>commons-codec</artifactId>
- <groupId>commons-codec</groupId>
- </exclusion>
- <exclusion>
- <artifactId>commons-logging</artifactId>
- <groupId>commons-logging</groupId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.apache.logging.log4j</groupId>
- <artifactId>log4j-api</artifactId>
- <version>2.7</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.logging.log4j</groupId>
- <artifactId>log4j-core</artifactId>
- <version>2.7</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
- <properties>
- <opentracing.version>0.22.0</opentracing.version>
- <ot.contrib.okhttp.version>0.0.4</ot.contrib.okhttp.version>
- <ot.agent.version>0.0.12</ot.agent.version>
- <java.version>1.8</java.version>
- <ot.contrib.webservlet.version>0.0.8</ot.contrib.webservlet.version>
- <ot.dd-trace.version>1.0-SNAPSHOT</ot.dd-trace.version>
- <ot.contrib.mongo.version>0.0.1</ot.contrib.mongo.version>
- </properties>
-</project>
-

removing some files