blob: c2cd78a1b49c1bf9045171dae83e5964e050e534 [file] [log] [blame]
Austin Schuh40c16522018-10-28 20:27:54 -07001<?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/maven-v4_0_0.xsd">
5
6 <modelVersion>4.0.0</modelVersion>
7 <artifactId>protobuf-java-benchmark</artifactId>
8 <groupId>com.google.protobuf</groupId>
9 <version>1.0.0</version>
10 <name>Protocol Buffers [Benchmark]</name>
11 <description>The benchmark tools for Protobuf Java.</description>
12
13 <dependencies>
14 <dependency>
15 <groupId>com.google.protobuf</groupId>
16 <artifactId>protobuf-java</artifactId>
17 <version>3.5.0</version>
18 </dependency>
19 <dependency>
20 <groupId>com.google.caliper</groupId>
21 <artifactId>caliper</artifactId>
22 <version>1.0-beta-2</version>
23 </dependency>
24 </dependencies>
25
26 <build>
27 <pluginManagement>
28 <plugins>
29 <plugin>
30 <groupId>org.apache.maven.plugins</groupId>
31 <artifactId>maven-assembly-plugin</artifactId>
32 <version>2.4.1</version>
33 <configuration>
34 <!-- get all project dependencies -->
35 <descriptorRefs>
36 <descriptorRef>jar-with-dependencies</descriptorRef>
37 </descriptorRefs>
38 <!-- MainClass in mainfest make a executable jar -->
39 <archive>
40 <manifest>
41 <mainClass>com.mkyong.core.utils.App</mainClass>
42 </manifest>
43 </archive>
44 </configuration>
45 <executions>
46 <execution>
47 <id>make-assembly</id>
48 <!-- bind to the packaging phase -->
49 <phase>package</phase>
50 <goals>
51 <goal>single</goal>
52 </goals>
53 </execution>
54 </executions>
55 </plugin>
56 <plugin>
57 <groupId>org.apache.maven.plugins</groupId>
58 <artifactId>maven-compiler-plugin</artifactId>
59 <version>3.5.1</version>
60 <configuration>
61 <source>1.8</source>
62 <target>1.8</target>
63 </configuration>
64 </plugin>
65 <plugin>
66 <groupId>org.apache.maven.plugins</groupId>
67 <artifactId>maven-jar-plugin</artifactId>
68 <version>2.5</version>
69 <configuration>
70 <archive>
71 <manifest>
72 <addClasspath>true</addClasspath>
73 <mainClass>com.google.protocolbuffers.ProtoBench</mainClass>
74 </manifest>
75 </archive>
76 </configuration>
77 </plugin>
78 <plugin>
79 <groupId>org.apache.maven.plugins</groupId>
80 <artifactId>maven-source-plugin</artifactId>
81 <version>2.4</version>
82 <executions>
83 <execution>
84 <id>attach-sources</id>
85 <goals>
86 <goal>jar-no-fork</goal>
87 </goals>
88 </execution>
89 </executions>
90 </plugin>
91 </plugins>
92 </pluginManagement>
93 </build>
94</project>
95