Download junit-benchmarks-0.6.0.jar file

Introduction

You can download junit-benchmarks-0.6.0.jar in this page.

License

The Apache Software License, Version 2.0

Type List

junit-benchmarks-0.6.0.jar file has the following types.

META-INF/MANIFEST.MF
META-INF/maven/com.carrotsearch/junit-benchmarks/pom.properties
META-INF/maven/com.carrotsearch/junit-benchmarks/pom.xml
com.carrotsearch.junitbenchmarks.AbstractBenchmark.class
com.carrotsearch.junitbenchmarks.AutocloseConsumer.class
com.carrotsearch.junitbenchmarks.Average.class
com.carrotsearch.junitbenchmarks.BenchmarkOptions.class
com.carrotsearch.junitbenchmarks.BenchmarkOptionsSystemProperties.class
com.carrotsearch.junitbenchmarks.BenchmarkRule.class
com.carrotsearch.junitbenchmarks.BenchmarkStatement.class
com.carrotsearch.junitbenchmarks.Clock.class
com.carrotsearch.junitbenchmarks.ConsumerName.class
com.carrotsearch.junitbenchmarks.Escape.class
com.carrotsearch.junitbenchmarks.GCSnapshot.class
com.carrotsearch.junitbenchmarks.IResultsConsumer.class
com.carrotsearch.junitbenchmarks.Result.class
com.carrotsearch.junitbenchmarks.SingleResult.class
com.carrotsearch.junitbenchmarks.Statistics.class
com.carrotsearch.junitbenchmarks.WriterConsumer.class
com.carrotsearch.junitbenchmarks.XMLConsumer.class
com.carrotsearch.junitbenchmarks.annotation.AxisRange.class
com.carrotsearch.junitbenchmarks.annotation.BenchmarkHistoryChart.class
com.carrotsearch.junitbenchmarks.annotation.BenchmarkMethodChart.class
com.carrotsearch.junitbenchmarks.annotation.LabelType.class
com.carrotsearch.junitbenchmarks.db.DbConsumer.class
com.carrotsearch.junitbenchmarks.db.DbVersions.class
com.carrotsearch.junitbenchmarks.db.GeneratorUtils.class
com.carrotsearch.junitbenchmarks.db.HistoryChartGenerator.class
com.carrotsearch.junitbenchmarks.db.HistoryChartVisitor.class
com.carrotsearch.junitbenchmarks.db.IChartAnnotationVisitor.class
com.carrotsearch.junitbenchmarks.db.MethodChartGenerator.class
com.carrotsearch.junitbenchmarks.db.MethodChartVisitor.class
com.carrotsearch.junitbenchmarks.h2.H2Consumer.class
com.carrotsearch.junitbenchmarks.mysql.MySQLConsumer.class
com/carrotsearch/junitbenchmarks/db/HistoryChartGenerator.html
com/carrotsearch/junitbenchmarks/db/HistoryChartGenerator.jsonp
com/carrotsearch/junitbenchmarks/db/MethodChartGenerator.html
com/carrotsearch/junitbenchmarks/db/MethodChartGenerator.jsonp
com/carrotsearch/junitbenchmarks/h2/000-create-runs.sql
com/carrotsearch/junitbenchmarks/h2/001-create-tests.sql
com/carrotsearch/junitbenchmarks/h2/002-new-run.sql
com/carrotsearch/junitbenchmarks/h2/003-new-result.sql
com/carrotsearch/junitbenchmarks/h2/004-create-dbversion.sql
com/carrotsearch/junitbenchmarks/h2/005-add-custom-key.sql
com/carrotsearch/junitbenchmarks/h2/method-chart-properties.sql
com/carrotsearch/junitbenchmarks/h2/method-chart-results.sql
com/carrotsearch/junitbenchmarks/mysql/000-create-runs.sql
com/carrotsearch/junitbenchmarks/mysql/001-create-tests.sql
com/carrotsearch/junitbenchmarks/mysql/002-new-run.sql
com/carrotsearch/junitbenchmarks/mysql/003-new-result.sql
com/carrotsearch/junitbenchmarks/mysql/004-create-dbversion.sql
com/carrotsearch/junitbenchmarks/mysql/005-add-custom-key.sql
com/carrotsearch/junitbenchmarks/mysql/method-chart-properties.sql
com/carrotsearch/junitbenchmarks/mysql/method-chart-results.sql

Pom

junit-benchmarks-0.6.0.pom file content.

<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>

  <!-- We use SonaType for publishing artefacts. Parent POM makes things easier here. -->
  <parent>
    <groupId>org.sonatype.oss</groupId>
    <artifactId>oss-parent</artifactId>
    <version>7</version>
  </parent>

  <!-- Project info. -->
  <groupId>com.carrotsearch</groupId>
  <artifactId>junit-benchmarks</artifactId>
  <version>0.6.0</version>
  <packaging>jar</packaging>

  <name>JUnitBenchmarks</name>
  <description>A framework for writing performance micro-benchmarks using JUnit4 annotations.</description>
  <url>http://labs.carrotsearch.com/junit-benchmarks.html</url>

  <prerequisites>
    <maven>3.0.2</maven>
  </prerequisites>

  <!-- Extended project info. -->
  <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>

  <organization>
    <name>Carrot Search s.c.</name>
    <url>http://www.carrotsearch.com</url>
  </organization>

  <issueManagement>
    <system>Jira</system>
    <url>http://issues.carrot2.org/browse/JUNITBENCH</url>
  </issueManagement>

  <mailingLists>
    <mailingList>
      <name>Announcements and bug reports mailing list</name>
      <subscribe>junit-benchmarks+subscribe@googlegroups.com</subscribe>
      <unsubscribe>junit-benchmarks+unsubscribe@googlegroups.com</unsubscribe>
      <post>junit-benchmarks@googlegroups.com</post>
    </mailingList>
  </mailingLists>

  <scm>
    <url>git@github.com:carrotsearch/junit-benchmarks.git</url>
    <connection>scm:git:git@github.com:carrotsearch/junit-benchmarks.git</connection>
    <developerConnection>scm:git:git@github.com:carrotsearch/junit-benchmarks.git</developerConnection>
  </scm>

  <developers>
    <developer>
      <id>dawid.weiss</id>
      <name>Dawid Weiss</name>
      <email>dawid.weiss@carrotsearch.com</email>
    </developer>

    <developer>
      <id>stanislaw.osinski</id>
      <name>Stanis?aw Osi?ski</name>
      <email>stanislaw.osinski@carrotsearch.com</email>
    </developer>
  </developers>

  <!-- Global properties. -->
  <properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <maven.compiler.source>1.6</maven.compiler.source>
    <maven.compiler.target>1.6</maven.compiler.target>

    <clover.version>3.1.0</clover.version>
    <gpg.passphrase></gpg.passphrase>
  </properties>

  <!-- Dependencies. -->
  <dependencies>
    <!-- Optional at runtime. -->
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>4.11</version>
      <scope>compile</scope>
      <optional>true</optional>
    </dependency>

    <dependency>
      <groupId>com.h2database</groupId>
      <artifactId>h2</artifactId>
      <version>1.3.160</version>
      <scope>compile</scope>
      <optional>true</optional>
    </dependency>
    
    <dependency>
      <groupId>mysql</groupId>
      <artifactId>mysql-connector-java</artifactId>
      <version>5.1.22</version>
      <scope>compile</scope>
      <optional>true</optional>
    </dependency>

    <!-- Required for tests only. -->
    <dependency>
      <groupId>dom4j</groupId>
      <artifactId>dom4j</artifactId>
      <version>1.6.1</version>
      <scope>test</scope>
    </dependency>

    <dependency>
      <groupId>jaxen</groupId>
      <artifactId>jaxen</artifactId>
      <version>1.1.4</version>
      <scope>test</scope>
    </dependency>

    <dependency>
      <groupId>org.codehaus.jackson</groupId>
      <artifactId>jackson-core-asl</artifactId>
      <version>1.9.2</version>
      <scope>test</scope>
    </dependency>

    <dependency>
      <groupId>org.codehaus.jackson</groupId>
      <artifactId>jackson-mapper-asl</artifactId>
      <version>1.9.2</version>
      <scope>test</scope>
    </dependency>
    
    <dependency>
      <groupId>mysql</groupId>
      <artifactId>mysql-connector-mxj</artifactId>
      <version>5.0.12</version>
      <scope>test</scope>
      <exclusions>
        <exclusion>
          <!--
            This is a 133 MB dependency.  We should only require it
            when running the test profile for mysql.
          -->
          <groupId>mysql</groupId>
          <artifactId>mysql-connector-mxj-db-files</artifactId>
        </exclusion>
      </exclusions>
    </dependency>
  </dependencies>


  <!-- Build tuning. -->
  <build>
    <defaultGoal>install</defaultGoal>

    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-release-plugin</artifactId>
          <version>2.3.2</version>
        </plugin>

        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-javadoc-plugin</artifactId>
          <version>2.8</version>
        </plugin>

        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-source-plugin</artifactId>
          <version>2.2.1</version>
        </plugin>

        <plugin>
          <artifactId>maven-assembly-plugin</artifactId>
          <version>2.4</version>
        </plugin>

        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-gpg-plugin</artifactId>
          <version>1.4</version>
        </plugin>
      </plugins>
    </pluginManagement>

    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-site-plugin</artifactId>
        <version>3.2</version>
        <configuration>
          <reportPlugins>
            <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-project-info-reports-plugin</artifactId>
              <version>2.6</version>
              <configuration>
                <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
                <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
              </configuration>
              <reports>
                <report>dependencies</report>
                <report>scm</report>
              </reports>
            </plugin>

            <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-jxr-plugin</artifactId>
              <version>2.3</version>
              <reportSets>
                <reportSet>
                  <id>src-xref</id>
                  <reports>
                    <report>jxr</report>
                  </reports>
                </reportSet>
              </reportSets>
            </plugin>

            <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-pmd-plugin</artifactId>
              <version>2.7.1</version>
              <reportSets>
                <reportSet>
                  <id>cpd</id>
                  <reports>
                    <report>cpd</report>
                  </reports>
                </reportSet>
              </reportSets>
              <configuration>
                <targetJdk>${maven.compiler.target}</targetJdk>
                <aggregate>true</aggregate>
              </configuration>
            </plugin>

            <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-surefire-report-plugin</artifactId>
              <version>2.12.4</version>
              <reportSets>
                <reportSet>
                  <id>main</id>
                  <reports>
                    <report>report-only</report>
                  </reports>
                </reportSet>
              </reportSets>
              <configuration>
                <linkXRef>false</linkXRef>
              </configuration>
            </plugin>

            <plugin>
              <groupId>org.codehaus.mojo</groupId>
              <artifactId>findbugs-maven-plugin</artifactId>
              <version>2.5.2</version>
              <configuration>
                <findbugsXmlOutput>true</findbugsXmlOutput>
                <excludeFilterFile>${basedir}/src/findbugs/exclude-filters.xml</excludeFilterFile>
                <includeTests>false</includeTests>
              </configuration>
            </plugin>

            <plugin>
              <groupId>com.atlassian.maven.plugins</groupId>
              <artifactId>maven-clover2-plugin</artifactId>
              <version>${clover.version}</version>
              <configuration>
                <generateXml>true</generateXml>
                <generateHtml>true</generateHtml>
              </configuration>
            </plugin>
          </reportPlugins>
        </configuration>
      </plugin>

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-release-plugin</artifactId>
        <version>2.3.2</version>
        <configuration>
          <useReleaseProfile>true</useReleaseProfile>
          <releaseProfiles>release,maven-release</releaseProfiles>
        </configuration>
      </plugin>

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-antrun-plugin</artifactId>
        <version>1.7</version>
        <executions>
          <execution>
            <id>antrun-retrotranslate-jdk15</id>
            <phase>package</phase>
            <configuration>
              <target>
                <taskdef name="retrotranslator"
                                         classname="net.sf.retrotranslator.transformer.RetrotranslatorTask"
                                         classpathref="maven.plugin.classpath" />

                <retrotranslator verbose="true" verify="false"
                                                 failonwarning="true" target="1.5"
                                                 embed="com.carrotsearch.junitbenchmarks.backport"
                                                 destjar="${project.build.directory}/${project.build.finalName}-jdk15.jar">

                  <jarfileset dir="${project.build.directory}"
                                                includes="${project.build.finalName}.jar" />

                  <classpath>
                    <pathelement location="${basedir}/src/main/retrotranslator" />
                  </classpath>
                  <classpath refid="maven.plugin.classpath" />
                  <classpath refid="maven.compile.classpath" />
                  <classpath>
                    <fileset dir="${java.home}/lib" includes="rt.jar" />
                  </classpath>
                </retrotranslator>

                <attachartifact
                  file="${project.build.directory}/${project.build.finalName}-jdk15.jar"
                  classifier="jdk15" type="jar" />
              </target>
            </configuration>
            <goals>
              <goal>run</goal>
            </goals>
          </execution>
        </executions>
        <dependencies>
          <dependency>
            <groupId>net.sf.retrotranslator</groupId>
            <artifactId>retrotranslator-transformer</artifactId>
            <version>1.2.9</version>
          </dependency>
          <dependency>
            <groupId>net.sf.retrotranslator</groupId>
            <artifactId>retrotranslator-runtime</artifactId>
            <version>1.2.9</version>
          </dependency>
          <dependency>
            <groupId>backport-util-concurrent</groupId>
            <artifactId>backport-util-concurrent</artifactId>
            <version>3.1</version>
          </dependency>
        </dependencies>
      </plugin>
    </plugins>

    <!-- Exclude these resources when packaging. -->
    <resources>
      <resource>
        <directory>${project.basedir}/src/main/resources</directory>
        <excludes>
          <exclude>**/*.json</exclude>
        </excludes>
      </resource>
    </resources>
  </build>


  <profiles>
    <!-- No tests, no additional checks. -->
    <profile>
      <id>fastinstall</id>
      <properties>
        <maven.test.skip>true</maven.test.skip>
      </properties>
      <build>
        <defaultGoal>install</defaultGoal>
      </build>
    </profile>
        
    <!-- Execute clover code coverage reports via ANT. -->
    <profile>
      <id>clover</id>

      <build>
        <plugins>
          <plugin>
            <groupId>com.atlassian.maven.plugins</groupId>
            <artifactId>maven-clover2-plugin</artifactId>
            <version>${clover.version}</version>
            <configuration>
              <includesTestSourceRoots>false</includesTestSourceRoots>
            </configuration>
            <executions>
              <execution>
                <phase>pre-site</phase>
                <goals>
                  <goal>instrument-test</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    </profile>

    <!-- Release mode. -->
    <profile>
      <id>release</id>

      <build>
        <defaultGoal>install</defaultGoal>

        <plugins>
          <!-- Attach and modify JavaDocs. -->
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-javadoc-plugin</artifactId>
            <configuration>
              <encoding>${project.build.sourceEncoding}</encoding>
              <stylesheetfile>${basedir}/src/main/javadoc/stylesheet.css</stylesheetfile>
              <docfilessubdirs>true</docfilessubdirs>
              <windowtitle><![CDATA[JUnitBenchmarks v${project.version} API Documentation (JavaDoc)]]></windowtitle>
              <doctitle><![CDATA[JUnitBenchmarks v${project.version} API Documentation]]></doctitle>
              <header><![CDATA[<div id='header'><a class='logo' target='_top' href='http://labs.carrotsearch.com'><img src='resources/logo.png'></a>JUnitBenchmarks v${project.version} <br>API Documentation</div>]]></header>
            </configuration>
            <executions>
              <execution>
                <id>attach-javadocs</id>
                <goals>
                  <goal>jar</goal>
                </goals>
              </execution>
            </executions>
          </plugin>

          <!-- Attach sources -->
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-source-plugin</artifactId>
            <executions>
              <execution>
                <id>attach-sources</id>
                <goals>
                  <goal>jar</goal>
                </goals>
              </execution>
            </executions>
          </plugin>

          <!-- Configure assembly of ZIP and TAR.GZ bundles (stand-alone distributions). -->
          <plugin>
            <artifactId>maven-assembly-plugin</artifactId>
            <configuration>
              <descriptors>
                <descriptor>src/main/assembly/bin.xml</descriptor>
              </descriptors>
              <attach>false</attach>
              <appendAssemblyId>false</appendAssemblyId>
            </configuration>
            <executions>
              <execution>
                <id>make-assembly</id>
                <phase>package</phase>
                <goals>
                  <goal>single</goal>
                </goals>
              </execution>
            </executions>
          </plugin>

          <!-- GPG sign artefacts. -->
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-gpg-plugin</artifactId>
            <version>1.1</version>
            <configuration>
              <excludes>
                <exclude>**/*.gz</exclude>
                <exclude>**/*.zip</exclude>
              </excludes>
            </configuration>
            <executions>
              <execution>
                <goals>
                  <goal>sign</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    </profile>
    
    <!-- Special build profile for testing against embedded mysql -->
    <profile>
      <id>tests-include-mysql</id>
      <dependencies>
        <dependency>
          <groupId>mysql</groupId>
          <artifactId>mysql-connector-mxj-db-files</artifactId>
          <version>5.0.12</version>
          <scope>test</scope>
        </dependency>
      </dependencies>
      <build>
        <plugins>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-surefire-plugin</artifactId>
            <version>2.13</version>
            <configuration>
              <includes>
                <include>**/MySQLConsumerT.java</include>
                <include>**/Test*.java</include>
                <include>**/*Test.java</include>
                <include>**/*TestCase.java</include>
              </includes>
            </configuration>
          </plugin>
          <plugin>
            <!-- Find free ports to run the mysql instance -->
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>build-helper-maven-plugin</artifactId>
            <version>1.7</version>
            <executions>
              <execution>
                <id>reserve-server-port</id>
                <goals>
                  <goal>reserve-network-port</goal>
                </goals>
                <phase>process-resources</phase>
                <configuration>
                  <portNames>
                    <portName>mysql.port</portName>
                  </portNames>
                  <outputFile>target/mysql.properties</outputFile>
                </configuration>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    </profile>
  </profiles>
</project>

POM Entry

<dependency>
   <groupId>com.carrotsearch</groupId>
   <artifactId>junit-benchmarks</artifactId>
   <version>0.6.0</version>
</dependency>

Download

If you think the following junit-benchmarks-0.6.0.jar downloaded from Maven central repository is inappropriate, such as containing malicious code/tools or violating the copyright, please email , thanks.



Download junit-benchmarks-0.6.0.jar file




PreviousNext

Related