caliper.
Caliper: Microbenchmarking Framework for Java.
Here is the list of declaration for caliper. If you use Maven you can use the following code to add the dependency for this POM file.
<dependency> <groupId>com.google.caliper</groupId> <artifactId>caliper</artifactId> <version>1.0-beta-1</version> </dependency>
If you think this Maven repository POM file listing for caliper is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
Name:The Apache Software License, Version 2.0
URL: http://www.apache.org/licenses/LICENSE-2.0.txt.
The caliper-1.0-beta-1 has 11 dependencies.The most popular ones are listed in the following table along with their categories and number of artifacts depending on them.
Category | Artifact | Depended By Count |
---|---|---|
Testing Coding Style | jsr305 1.3.9 JSR305 Annotations for Findbugs | 150 |
JSON | gson 2.2.2 Google Gson library | 63 |
Java Library | joda-time 2.1 Date and time library to replace JDK date handling | 266 |
Inversion of Control | guava 14.0.1 Guava is a suite of core and expanded libraries that include utility classes, google's collections, io classes, and much much more. Guava has two code dependencies - javax.annotation per the JSR-305 spec and javax.inject per the JSR-330 spec. | 546 |
JUnit | junit 4.10 JUnit is a regression testing framework written by Erich Gamma and Kent Beck. It is used by the developer who implements unit tests in Java. | 1957 |
Testing Mock | mockito-all 1.9.5 Mock objects library for java | 1072 |
The following plugins are used in the caliper-1.0-beta-1.jar
The following packages are defined in the caliper-1.0-beta-1.jar
com.google.caliper com.google.caliper.api com.google.caliper.bridge com.google.caliper.config com.google.caliper.json com.google.caliper.memory com.google.caliper.model com.google.caliper.options com.google.caliper.runner com.google.caliper.util com.google.caliper.worker
Here is the content of the POM file.
<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> <groupId>com.google.caliper</groupId> <artifactId>caliper</artifactId> <packaging>jar</packaging> <version>1.0-beta-1</version> <inceptionYear>2009</inceptionYear> <name>caliper</name> <parent> <groupId>org.sonatype.oss</groupId> <artifactId>oss-parent</artifactId> <version>7</version> </parent> <url>http://code.google.com/p/caliper/</url> <description>Caliper: Microbenchmarking Framework for Java</description> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> <licenses> <license> <name>The Apache Software License, Version 2.0</name> <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> <distribution>repo</distribution> </license> </licenses> <scm> <connection>scm:git:http://code.google.com/p/caliper/</connection> <developerConnection>scm:git:http://code.google.com/p/caliper/</developerConnection> <url>http://code.google.com/p/caliper/source/browse</url> </scm> <issueManagement> <system>Google Code Issue Tracking</system> <url>http://code.google.com/p/caliper/issues/list</url> </issueManagement> <organization> <name>Google, Inc.</name> <url>http://www.google.com</url> </organization> <dependencies> <dependency> <groupId>com.google.code.findbugs</groupId> <artifactId>jsr305</artifactId> <version>1.3.9</version> <scope>provided</scope><!-- used only for annotations --> </dependency> <dependency> <groupId>com.google.code.gson</groupId> <artifactId>gson</artifactId> <version>2.2.2</version> </dependency> <dependency> <groupId>joda-time</groupId> <artifactId>joda-time</artifactId> <version>2.1</version> </dependency> <dependency> <groupId>com.sun.jersey</groupId> <artifactId>jersey-client</artifactId> <version>1.11</version> </dependency> <dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> <version>14.0.1</version> </dependency> <dependency> <groupId>com.google.inject</groupId> <artifactId>guice</artifactId> <version>3.0</version> </dependency> <dependency> <groupId>com.google.inject.extensions</groupId> <artifactId>guice-multibindings</artifactId> <version>3.0</version> </dependency> <dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-core</artifactId> <version>3.6.7.Final</version> <scope>provided</scope><!-- used only for annotations --> </dependency> <dependency> <groupId>com.google.code.java-allocation-instrumenter</groupId> <artifactId>java-allocation-instrumenter</artifactId> <version>2.1</version> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.10</version> <scope>test</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-all</artifactId> <version>1.9.5</version> <scope>test</scope> </dependency> </dependencies> <build> <defaultGoal>package</defaultGoal> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.0</version> <configuration> <source>1.6</source> <target>1.6</target> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-eclipse-plugin</artifactId> <version>2.8</version> <configuration> <downloadSources>true</downloadSources> <downloadJavadocs>true</downloadJavadocs> <workspace>../eclipse-ws/</workspace> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> <version>2.1</version> <configuration> <arguments>-DenableCiProfile=true</arguments> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>2.1.2</version> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>2.7</version> <executions> <execution> <id>generate-javadocs</id> <phase>site</phase> <goals> <goal>javadoc</goal> </goals> </execution> </executions> <configuration> <links> <link>http://download.oracle.com/javase/1.6.0/docs/api/</link> </links> <version>true</version> <show>public</show> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId> <version>2.0</version> <executions> <execution> <phase>package</phase> <goals> <goal>shade</goal> </goals> <configuration> <shadedArtifactAttached>true</shadedArtifactAttached> <shadedClassifierName>all</shadedClassifierName> <!-- disable relocation as it is breaking some reflection --> <!-- <relocations> <relocation> <pattern>com.google</pattern> <shadedPattern>com.google.caliper.shaded.com.google</shadedPattern> <excludes> <exclude>com.google.caliper.**</exclude> </excludes> </relocation> <relocation> <pattern>com.sun.jersey</pattern> <shadedPattern>com.google.caliper.shaded.com.sun.jersey</shadedPattern> </relocation> <relocation> <pattern>com.sun.ws</pattern> <shadedPattern>com.google.caliper.shaded.com.sun.ws</shadedPattern> </relocation> <relocation> <pattern>javax.inject</pattern> <shadedPattern>com.google.caliper.shaded.javax.inject</shadedPattern> </relocation> <relocation> <pattern>javax.ws</pattern> <shadedPattern>com.google.caliper.shaded.javax.ws</shadedPattern> </relocation> <relocation> <pattern>org.aopalliance</pattern> <shadedPattern>com.google.caliper.shaded.org.aopalliance</shadedPattern> </relocation> <relocation> <pattern>org.joda</pattern> <shadedPattern>com.google.caliper.shaded.org.joda</shadedPattern> </relocation> <relocation> <pattern>org.objectweb</pattern> <shadedPattern>com.google.caliper.shaded.org.objectweb</shadedPattern> </relocation> </relocations> --> <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> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </project>