Skip to content

Commit c07da6f

Browse files
committed
GH-273 add bechmarks
1 parent f0a54f6 commit c07da6f

31 files changed

Lines changed: 1837960 additions & 102 deletions

pom_parent.xml

Lines changed: 121 additions & 102 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<project
3-
xmlns="http://maven.apache.org/POM/4.0.0"
4-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
6-
>
3+
xmlns="http://maven.apache.org/POM/4.0.0"
4+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
6+
>
77

88
<modelVersion>4.0.0</modelVersion>
99
<groupId>com.apicatalog</groupId>
@@ -12,39 +12,41 @@
1212
<packaging>pom</packaging>
1313

1414
<name>Titanium JSON-LD 1.1</name>
15-
15+
1616
<description>
1717
A JSON-LD 1.1 Processor &amp; API
1818
</description>
19-
19+
2020
<licenses>
2121
<license>
2222
<name>Apache License, Version 2.0</name>
2323
<url>http://apache.org/licenses/LICENSE-2.0</url>
2424
</license>
25-
</licenses>
26-
25+
</licenses>
26+
2727
<issueManagement>
2828
<system>github</system>
2929
<url>https://github.com/filip26/titanium-json-ld/issues</url>
3030
</issueManagement>
31-
31+
3232
<developers>
3333
<developer>
34-
<id>filip26</id>
35-
<name>Filip Kolarik</name>
36-
<email>filip26@gmail.com</email>
37-
<roles><role>author</role></roles>
34+
<id>filip26</id>
35+
<name>Filip Kolarik</name>
36+
<email>filip26@gmail.com</email>
37+
<roles>
38+
<role>author</role>
39+
</roles>
3840
</developer>
3941
</developers>
40-
42+
4143
<inceptionYear>2020</inceptionYear>
42-
44+
4345
<properties>
4446
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
4547
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
46-
47-
<jakarta.json.version>2.0.1</jakarta.json.version>
48+
49+
<jakarta.json.version>2.0.1</jakarta.json.version>
4850

4951
<argLine>-Dfile.encoding=UTF-8</argLine>
5052

@@ -63,27 +65,44 @@
6365
<version>${jakarta.json.version}</version>
6466
<scope>provided</scope>
6567
</dependency>
68+
<dependency>
69+
<groupId>com.google.guava</groupId>
70+
<artifactId>guava</artifactId>
71+
<version>31.0.1-jre</version>
72+
</dependency>
6673
<!-- Tests -->
67-
<dependency>
74+
<dependency>
6875
<groupId>org.glassfish</groupId>
6976
<artifactId>jakarta.json</artifactId>
7077
<version>${jakarta.json.version}</version>
7178
<scope>test</scope>
72-
</dependency>
73-
<dependency>
74-
<groupId>org.junit.jupiter</groupId>
75-
<artifactId>junit-jupiter</artifactId>
79+
</dependency>
80+
<dependency>
81+
<groupId>org.junit.jupiter</groupId>
82+
<artifactId>junit-jupiter</artifactId>
7683
<version>${junit.version}</version>
77-
<scope>test</scope>
78-
</dependency>
84+
<scope>test</scope>
85+
</dependency>
7986
<dependency>
8087
<groupId>com.github.tomakehurst</groupId>
8188
<artifactId>wiremock-jre8</artifactId>
8289
<version>${wiremock.version}</version>
8390
<scope>test</scope>
8491
</dependency>
92+
<dependency>
93+
<groupId>org.openjdk.jmh</groupId>
94+
<artifactId>jmh-core</artifactId>
95+
<version>1.36</version>
96+
<scope>test</scope>
97+
</dependency>
98+
<dependency>
99+
<groupId>org.openjdk.jmh</groupId>
100+
<artifactId>jmh-generator-annprocess</artifactId>
101+
<version>1.36</version>
102+
<scope>test</scope>
103+
</dependency>
85104
</dependencies>
86-
<build>
105+
<build>
87106
<plugins>
88107
<plugin>
89108
<artifactId>maven-jar-plugin</artifactId>
@@ -109,7 +128,7 @@
109128
</configuration>
110129
</execution>
111130
</executions>
112-
</plugin>
131+
</plugin>
113132
<plugin>
114133
<groupId>org.apache.maven.plugins</groupId>
115134
<artifactId>maven-source-plugin</artifactId>
@@ -122,7 +141,7 @@
122141
</goals>
123142
</execution>
124143
</executions>
125-
</plugin>
144+
</plugin>
126145
<plugin>
127146
<groupId>org.apache.maven.plugins</groupId>
128147
<artifactId>maven-javadoc-plugin</artifactId>
@@ -135,7 +154,7 @@
135154
</goals>
136155
</execution>
137156
</executions>
138-
</plugin>
157+
</plugin>
139158
<plugin>
140159
<groupId>org.jacoco</groupId>
141160
<artifactId>jacoco-maven-plugin</artifactId>
@@ -155,84 +174,84 @@
155174
</goals>
156175
</execution>
157176
</executions>
158-
</plugin>
159-
<plugin>
160-
<groupId>org.codehaus.mojo</groupId>
161-
<artifactId>flatten-maven-plugin</artifactId>
162-
<version>1.5.0</version>
163-
<configuration>
164-
<flattenMode>oss</flattenMode>
165-
</configuration>
166-
<executions>
167-
<!-- enable flattening -->
168-
<execution>
169-
<id>flatten</id>
170-
<phase>process-resources</phase>
171-
<goals>
172-
<goal>flatten</goal>
173-
</goals>
174-
</execution>
175-
<!-- ensure proper cleanup -->
176-
<execution>
177-
<id>flatten.clean</id>
178-
<phase>clean</phase>
179-
<goals>
180-
<goal>clean</goal>
181-
</goals>
182-
</execution>
183-
</executions>
184-
</plugin>
185-
<plugin>
186-
<artifactId>maven-surefire-plugin</artifactId>
187-
<version>3.1.2</version>
188-
</plugin>
189-
<plugin>
190-
<artifactId>maven-failsafe-plugin</artifactId>
191-
<version>3.1.2</version>
192-
</plugin>
177+
</plugin>
178+
<plugin>
179+
<groupId>org.codehaus.mojo</groupId>
180+
<artifactId>flatten-maven-plugin</artifactId>
181+
<version>1.5.0</version>
182+
<configuration>
183+
<flattenMode>oss</flattenMode>
184+
</configuration>
185+
<executions>
186+
<!-- enable flattening -->
187+
<execution>
188+
<id>flatten</id>
189+
<phase>process-resources</phase>
190+
<goals>
191+
<goal>flatten</goal>
192+
</goals>
193+
</execution>
194+
<!-- ensure proper cleanup -->
195+
<execution>
196+
<id>flatten.clean</id>
197+
<phase>clean</phase>
198+
<goals>
199+
<goal>clean</goal>
200+
</goals>
201+
</execution>
202+
</executions>
203+
</plugin>
204+
<plugin>
205+
<artifactId>maven-surefire-plugin</artifactId>
206+
<version>3.1.2</version>
207+
</plugin>
208+
<plugin>
209+
<artifactId>maven-failsafe-plugin</artifactId>
210+
<version>3.1.2</version>
211+
</plugin>
193212
</plugins>
194213
</build>
195214
<profiles>
196215
<profile>
197216
<id>maven-central</id>
198-
<activation>
199-
<activeByDefault>false</activeByDefault>
200-
</activation>
201-
<build>
202-
<plugins>
203-
<plugin>
204-
<groupId>org.apache.maven.plugins</groupId>
205-
<artifactId>maven-gpg-plugin</artifactId>
206-
<version>3.1.0</version>
207-
<executions>
208-
<execution>
209-
<id>sign-artifacts</id>
210-
<phase>verify</phase>
211-
<goals>
212-
<goal>sign</goal>
213-
</goals>
214-
</execution>
215-
</executions>
216-
</plugin>
217-
<plugin>
218-
<groupId>org.sonatype.plugins</groupId>
219-
<artifactId>nexus-staging-maven-plugin</artifactId>
220-
<version>1.6.13</version>
221-
<extensions>true</extensions>
222-
<configuration>
223-
<serverId>ossrh</serverId>
224-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
225-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
226-
</configuration>
227-
</plugin>
228-
</plugins>
229-
</build>
230-
<distributionManagement>
231-
<snapshotRepository>
232-
<id>ossrh</id>
233-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
234-
</snapshotRepository>
235-
</distributionManagement>
236-
</profile>
217+
<activation>
218+
<activeByDefault>false</activeByDefault>
219+
</activation>
220+
<build>
221+
<plugins>
222+
<plugin>
223+
<groupId>org.apache.maven.plugins</groupId>
224+
<artifactId>maven-gpg-plugin</artifactId>
225+
<version>3.1.0</version>
226+
<executions>
227+
<execution>
228+
<id>sign-artifacts</id>
229+
<phase>verify</phase>
230+
<goals>
231+
<goal>sign</goal>
232+
</goals>
233+
</execution>
234+
</executions>
235+
</plugin>
236+
<plugin>
237+
<groupId>org.sonatype.plugins</groupId>
238+
<artifactId>nexus-staging-maven-plugin</artifactId>
239+
<version>1.6.13</version>
240+
<extensions>true</extensions>
241+
<configuration>
242+
<serverId>ossrh</serverId>
243+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
244+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
245+
</configuration>
246+
</plugin>
247+
</plugins>
248+
</build>
249+
<distributionManagement>
250+
<snapshotRepository>
251+
<id>ossrh</id>
252+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
253+
</snapshotRepository>
254+
</distributionManagement>
255+
</profile>
237256
</profiles>
238257
</project>

0 commit comments

Comments
 (0)