|
|
|
@ -1,85 +1,59 @@ |
|
|
|
|
|
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?> |
|
|
|
|
<!-- |
|
|
|
|
~ Copyright 2011 Google Inc. |
|
|
|
|
~ |
|
|
|
|
~ Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
|
~ you may not use this file except in compliance with the License. |
|
|
|
|
~ You may obtain a copy of the License at |
|
|
|
|
~ |
|
|
|
|
~ http://www.apache.org/licenses/LICENSE-2.0 |
|
|
|
|
~ |
|
|
|
|
~ Unless required by applicable law or agreed to in writing, software |
|
|
|
|
~ distributed under the License is distributed on an "AS IS" BASIS, |
|
|
|
|
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
|
|
|
~ See the License for the specific language governing permissions and |
|
|
|
|
~ limitations under the License. |
|
|
|
|
--> |
|
|
|
|
|
|
|
|
|
<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"> |
|
|
|
|
<modelVersion>4.0.0</modelVersion> |
|
|
|
|
<!-- <parent> |
|
|
|
|
<groupId>com.google.protobuf</groupId> |
|
|
|
|
<artifactId>protobuf-parent</artifactId> |
|
|
|
|
<version>3.5.0</version> |
|
|
|
|
</parent> |
|
|
|
|
|
|
|
|
|
<packaging>pom</packaging> --> |
|
|
|
|
<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"> |
|
|
|
|
|
|
|
|
|
<modelVersion>4.0.0</modelVersion> |
|
|
|
|
<artifactId>protobuf-java-benchmark</artifactId> |
|
|
|
|
<groupId>com.google.protocolbuffers</groupId> |
|
|
|
|
<groupId>com.google.protobuf</groupId> |
|
|
|
|
<version>1.0.0</version> |
|
|
|
|
<name>Protocol Buffers [Benchmark]</name> |
|
|
|
|
<description> |
|
|
|
|
The benchmark tools for Protobuf Java. |
|
|
|
|
</description> |
|
|
|
|
|
|
|
|
|
<description>The benchmark tools for Protobuf Java.</description> |
|
|
|
|
|
|
|
|
|
<dependencies> |
|
|
|
|
<dependency> |
|
|
|
|
<groupId>com.google.protobuf</groupId> |
|
|
|
|
<artifactId>protobuf-java</artifactId> |
|
|
|
|
<version>3.5.0</version> |
|
|
|
|
</dependency> |
|
|
|
|
<dependency> |
|
|
|
|
<groupId>com.google.caliper</groupId> |
|
|
|
|
<artifactId>caliper</artifactId> |
|
|
|
|
<version>1.0-beta-2</version> |
|
|
|
|
</dependency> |
|
|
|
|
<groupId>com.google.protobuf</groupId> |
|
|
|
|
<artifactId>protobuf-java</artifactId> |
|
|
|
|
<version>3.5.0</version> |
|
|
|
|
</dependency> |
|
|
|
|
<dependency> |
|
|
|
|
<groupId>com.google.caliper</groupId> |
|
|
|
|
<artifactId>caliper</artifactId> |
|
|
|
|
<version>1.0-beta-2</version> |
|
|
|
|
</dependency> |
|
|
|
|
</dependencies> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<build> |
|
|
|
|
<pluginManagement> |
|
|
|
|
<plugins> |
|
|
|
|
<plugin> |
|
|
|
|
<groupId>org.apache.maven.plugins</groupId> |
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId> |
|
|
|
|
<version>2.4.1</version> |
|
|
|
|
<configuration> |
|
|
|
|
<!-- get all project dependencies --> |
|
|
|
|
<descriptorRefs> |
|
|
|
|
<descriptorRef>jar-with-dependencies</descriptorRef> |
|
|
|
|
</descriptorRefs> |
|
|
|
|
<!-- MainClass in mainfest make a executable jar --> |
|
|
|
|
<archive> |
|
|
|
|
<manifest> |
|
|
|
|
<mainClass>com.mkyong.core.utils.App</mainClass> |
|
|
|
|
</manifest> |
|
|
|
|
</archive> |
|
|
|
|
|
|
|
|
|
</configuration> |
|
|
|
|
<executions> |
|
|
|
|
<execution> |
|
|
|
|
<id>make-assembly</id> |
|
|
|
|
<!-- bind to the packaging phase --> |
|
|
|
|
<phase>package</phase> |
|
|
|
|
<goals> |
|
|
|
|
<goal>single</goal> |
|
|
|
|
</goals> |
|
|
|
|
</execution> |
|
|
|
|
</executions> |
|
|
|
|
</plugin> |
|
|
|
|
<plugin> |
|
|
|
|
<plugins> |
|
|
|
|
<plugin> |
|
|
|
|
<groupId>org.apache.maven.plugins</groupId> |
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId> |
|
|
|
|
<version>2.4.1</version> |
|
|
|
|
<configuration> |
|
|
|
|
<!-- get all project dependencies --> |
|
|
|
|
<descriptorRefs> |
|
|
|
|
<descriptorRef>jar-with-dependencies</descriptorRef> |
|
|
|
|
</descriptorRefs> |
|
|
|
|
<!-- MainClass in mainfest make a executable jar --> |
|
|
|
|
<archive> |
|
|
|
|
<manifest> |
|
|
|
|
<mainClass>com.mkyong.core.utils.App</mainClass> |
|
|
|
|
</manifest> |
|
|
|
|
</archive> |
|
|
|
|
</configuration> |
|
|
|
|
<executions> |
|
|
|
|
<execution> |
|
|
|
|
<id>make-assembly</id> |
|
|
|
|
<!-- bind to the packaging phase --> |
|
|
|
|
<phase>package</phase> |
|
|
|
|
<goals> |
|
|
|
|
<goal>single</goal> |
|
|
|
|
</goals> |
|
|
|
|
</execution> |
|
|
|
|
</executions> |
|
|
|
|
</plugin> |
|
|
|
|
<plugin> |
|
|
|
|
<groupId>org.apache.maven.plugins</groupId> |
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId> |
|
|
|
|
<version>3.5.1</version> |
|
|
|
@ -114,35 +88,7 @@ |
|
|
|
|
</execution> |
|
|
|
|
</executions> |
|
|
|
|
</plugin> |
|
|
|
|
<plugin> |
|
|
|
|
<groupId>org.apache.maven.plugins</groupId> |
|
|
|
|
<artifactId>maven-shade-plugin</artifactId> |
|
|
|
|
<version>2.3</version> |
|
|
|
|
<executions> |
|
|
|
|
<execution> |
|
|
|
|
<phase>package</phase> |
|
|
|
|
<goals> |
|
|
|
|
<goal>shade</goal> |
|
|
|
|
</goals> |
|
|
|
|
<configuration> |
|
|
|
|
<shadedArtifactAttached>true</shadedArtifactAttached> |
|
|
|
|
<shadedClassifierName>all</shadedClassifierName> |
|
|
|
|
<transformers> |
|
|
|
|
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> |
|
|
|
|
<manifestEntries> |
|
|
|
|
<Premain-Class>com.google.monitoring.runtime.instrumentation.AllocationInstrumenter</Premain-Class> |
|
|
|
|
<Can-Redefine-Classes>true</Can-Redefine-Classes> |
|
|
|
|
<Can-Retransform-Classes>true</Can-Retransform-Classes> |
|
|
|
|
</manifestEntries> |
|
|
|
|
</transformer> |
|
|
|
|
</transformers> |
|
|
|
|
</configuration> |
|
|
|
|
</execution> |
|
|
|
|
</executions> |
|
|
|
|
</plugin> |
|
|
|
|
</plugins> |
|
|
|
|
</pluginManagement> |
|
|
|
|
</build> |
|
|
|
|
|
|
|
|
|
</project> |
|
|
|
|
|
|
|
|
|
</project> |