1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <project xmlns =" http://maven.apache.org/POM/4.0.0"
3+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4+ xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
5+ <parent >
6+ <artifactId >aws-xray-recorder-sdk-pom</artifactId >
7+ <groupId >com.amazonaws</groupId >
8+ <version >2.2.1</version >
9+ </parent >
10+ <modelVersion >4.0.0</modelVersion >
11+
12+ <artifactId >aws-xray-recorder-sdk-benchmark</artifactId >
13+ <version >2.2.1</version >
14+ <name >AWS X-Ray Recorder SDK for Java - AWS SDK Benchmark</name >
15+
16+ <packaging >jar</packaging >
17+
18+ <properties >
19+ <java .version>1.8</java .version>
20+ <jmh .version>1.8</jmh .version>
21+
22+ <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
23+ <project .reporting.outputEncoding>UTF-8</project .reporting.outputEncoding>
24+ <maven-assembly-plugin .version>2.6</maven-assembly-plugin .version>
25+ <maven-compiler-plugin .version>3.5.1</maven-compiler-plugin .version>
26+ <maven-build-helper-plugin .version>1.12</maven-build-helper-plugin .version>
27+ </properties >
28+
29+ <build >
30+ <plugins >
31+ <plugin >
32+ <groupId >org.codehaus.mojo</groupId >
33+ <artifactId >build-helper-maven-plugin</artifactId >
34+ <version >${maven-build-helper-plugin.version} </version >
35+ <executions >
36+ <execution >
37+ <id >add-test-source</id >
38+ <phase >generate-test-sources</phase >
39+ <goals >
40+ <goal >add-test-source</goal >
41+ </goals >
42+ <configuration >
43+ <sources >
44+ <source >tst/main/java</source >
45+ </sources >
46+ </configuration >
47+ </execution >
48+ </executions >
49+ </plugin >
50+
51+ <plugin >
52+ <groupId >org.apache.maven.plugins</groupId >
53+ <artifactId >maven-compiler-plugin</artifactId >
54+ <version >${maven-compiler-plugin.version} </version >
55+ <configuration >
56+ <source >${java.version} </source >
57+ <target >${java.version} </target >
58+ <compilerVersion >${java.version} </compilerVersion >
59+ </configuration >
60+ <executions >
61+ <execution >
62+ <goals >
63+ <goal >testCompile</goal >
64+ </goals >
65+
66+ <configuration >
67+ <annotationProcessorPaths >
68+ <path >
69+ <groupId >org.openjdk.jmh</groupId >
70+ <artifactId >jmh-generator-annprocess</artifactId >
71+ <version >${jmh.version} </version >
72+ </path >
73+ </annotationProcessorPaths >
74+ </configuration >
75+ </execution >
76+ </executions >
77+ </plugin >
78+
79+ <plugin >
80+ <artifactId >maven-assembly-plugin</artifactId >
81+ <version >${maven-assembly-plugin.version} </version >
82+ <configuration >
83+ <descriptor >tst/main/assembly/benchmarks.xml</descriptor >
84+ </configuration >
85+ <executions >
86+ <execution >
87+ <id >make-assembly</id >
88+ <phase >package</phase >
89+ <goals >
90+ <goal >single</goal >
91+ </goals >
92+ <configuration >
93+ <appendAssemblyId >false</appendAssemblyId >
94+ <finalName >benchmark</finalName >
95+ <attach >true</attach >
96+ <archive >
97+ <manifest >
98+ <mainClass >org.openjdk.jmh.Main</mainClass >
99+ </manifest >
100+ </archive >
101+ </configuration >
102+ </execution >
103+ </executions >
104+ </plugin >
105+ </plugins >
106+ </build >
107+
108+ <dependencies >
109+ <!-- Add X-Ray as a dependency. When adding benchmarks for X-Ray
110+ components other than the core, please add them here -->
111+ <dependency >
112+ <groupId >com.amazonaws</groupId >
113+ <artifactId >aws-xray-recorder-sdk-core</artifactId >
114+ <version >${awsxrayrecordersdk.version} </version >
115+ </dependency >
116+
117+ <!-- Benchmarking Depdendencies -->
118+ <dependency >
119+ <groupId >org.openjdk.jmh</groupId >
120+ <artifactId >jmh-core</artifactId >
121+ <version >${jmh.version} </version >
122+ </dependency >
123+ <dependency >
124+ <groupId >org.openjdk.jmh</groupId >
125+ <artifactId >jmh-generator-annprocess</artifactId >
126+ <version >${jmh.version} </version >
127+ </dependency >
128+ </dependencies >
129+ </project >
0 commit comments