tempus-fugit

Java micro-library for writing & testing concurrent code

Downloading

Download via the public Maven Central repository. Just add the dependency to your pom.

1
2
3
4
5
<dependency>
  <groupId>com.google.code.tempus-fugit</groupId>
  <artifactId>tempus-fugit</artifactId>
  <version>1.1</version>
</dependency>

You can also download the jar directly from repo2.maven.org or Sonatype or using something like curl from the terminal.

1
2
$ curl http://repo2.maven.org/maven2/com/google/code/tempus-fugit/tempus-fugit/1.1/tempus-fugit-1.1.jar > tempus-fugit-1.1.jar
$ mvn install:install-file -Dfile=tempus-fugit-1.1.jar -DgroupId=com.google.code.tempus-fugit -DartifactId=tempus-fugit -Dversion=1.1 -Dpackaging=jar

Snapshots

Snapshots are deployed to OSS Sonatype. They're not picked up by Maven central so if you want to use a snapshot release in your projects, you'll need to add the Sonatype snapshot repository to your list of repositories.

You can do this in your settings.xml or pom.xml by adding something like this.

1
2
3
4
5
6
7
8
9
10
11
12
13
<repositories>
    <repository>
        <id>sonatype-nexus-snapshots</id>
        <name>Sonatype Nexus Snapshots</name>
        <url>https://oss.sonatype.org/content/repositories/snapshots</url>
        <releases>
            <enabled>false</enabled>
        </releases>
        <snapshots>
            <enabled>true</enabled>
        </snapshots>
    </repository>
</repositories>