This repository has been archived by the owner on Jul 21, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update tests to JUnit 4 style and FEST asserts.
Also move the pom to two-space indents.
- Loading branch information
1 parent
1a2bd20
commit 7ebd418
Showing
4 changed files
with
371 additions
and
359 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,120 +1,124 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<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>org.sonatype.oss</groupId> | ||
<artifactId>oss-parent</artifactId> | ||
<version>7</version> | ||
</parent> | ||
|
||
<groupId>com.jakewharton</groupId> | ||
<artifactId>disklrucache</artifactId> | ||
<packaging>jar</packaging> | ||
<version>1.3.2-SNAPSHOT</version> | ||
|
||
<name>Disk LRU Cache</name> | ||
<description>A disk-based implementaion of a least-recently used cache.</description> | ||
<url>https://github.com/JakeWharton/DiskLruCache/</url> | ||
<inceptionYear>2012</inceptionYear> | ||
|
||
<developers> | ||
<developer> | ||
<name>Jake Wharton</name> | ||
<email>jakewharton@gmail.com</email> | ||
<id>jakewharton</id> | ||
<url>http://jakewharton.com</url> | ||
<timezone>-5</timezone> | ||
<roles> | ||
<role>developer</role> | ||
</roles> | ||
</developer> | ||
</developers> | ||
|
||
<licenses> | ||
<license> | ||
<name>Apache License Version 2.0</name> | ||
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> | ||
<distribution>repo</distribution> | ||
</license> | ||
</licenses> | ||
|
||
<scm> | ||
<url>http://github.com/JakeWharton/DiskLruCache/</url> | ||
<connection>scm:git:git://github.com/JakeWharton/DiskLruCache.git</connection> | ||
<developerConnection>scm:git:git@github.com:JakeWharton/DiskLruCache.git</developerConnection> | ||
</scm> | ||
|
||
<organization> | ||
<name>Jake Wharton</name> | ||
<url>http://jakewharton.com</url> | ||
</organization> | ||
|
||
<issueManagement> | ||
<system>GitHub Issues</system> | ||
<url>https://github.com/JakeWharton/DiskLruCache/issues</url> | ||
</issueManagement> | ||
|
||
<properties> | ||
<java.version>1.5</java.version> | ||
|
||
<junit.version>4.8.2</junit.version> | ||
<commons-io.version>2.1</commons-io.version> | ||
|
||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
</properties> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>junit</groupId> | ||
<artifactId>junit</artifactId> | ||
<version>${junit.version}</version> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>commons-io</groupId> | ||
<artifactId>commons-io</artifactId> | ||
<version>${commons-io.version}</version> | ||
<scope>test</scope> | ||
</dependency> | ||
</dependencies> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<version>2.5</version> | ||
<configuration> | ||
<source>${java.version}</source> | ||
<target>${java.version}</target> | ||
</configuration> | ||
</plugin> | ||
|
||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-release-plugin</artifactId> | ||
<version>2.1</version> | ||
</plugin> | ||
|
||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-checkstyle-plugin</artifactId> | ||
<version>2.7</version> | ||
<configuration> | ||
<failsOnError>true</failsOnError> | ||
<configLocation>${project.basedir}/checkstyle.xml</configLocation> | ||
</configuration> | ||
<executions> | ||
<execution> | ||
<phase>verify</phase> | ||
<goals> | ||
<goal>checkstyle</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
<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>org.sonatype.oss</groupId> | ||
<artifactId>oss-parent</artifactId> | ||
<version>7</version> | ||
</parent> | ||
|
||
<groupId>com.jakewharton</groupId> | ||
<artifactId>disklrucache</artifactId> | ||
<packaging>jar</packaging> | ||
<version>1.3.2-SNAPSHOT</version> | ||
|
||
<name>Disk LRU Cache</name> | ||
<description>A disk-based implementaion of a least-recently used cache.</description> | ||
<url>https://github.com/JakeWharton/DiskLruCache/</url> | ||
<inceptionYear>2012</inceptionYear> | ||
|
||
<developers> | ||
<developer> | ||
<name>Jake Wharton</name> | ||
<email>jakewharton@gmail.com</email> | ||
<id>jakewharton</id> | ||
<url>http://jakewharton.com</url> | ||
<timezone>-5</timezone> | ||
<roles> | ||
<role>developer</role> | ||
</roles> | ||
</developer> | ||
</developers> | ||
|
||
<licenses> | ||
<license> | ||
<name>Apache License Version 2.0</name> | ||
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> | ||
<distribution>repo</distribution> | ||
</license> | ||
</licenses> | ||
|
||
<scm> | ||
<url>http://github.com/JakeWharton/DiskLruCache/</url> | ||
<connection>scm:git:git://github.com/JakeWharton/DiskLruCache.git</connection> | ||
<developerConnection>scm:git:git@github.com:JakeWharton/DiskLruCache.git</developerConnection> | ||
</scm> | ||
|
||
<organization> | ||
<name>Jake Wharton</name> | ||
<url>http://jakewharton.com</url> | ||
</organization> | ||
|
||
<issueManagement> | ||
<system>GitHub Issues</system> | ||
<url>https://github.com/JakeWharton/DiskLruCache/issues</url> | ||
</issueManagement> | ||
|
||
<properties> | ||
<java.version>1.5</java.version> | ||
|
||
<junit.version>4.10</junit.version> | ||
<commons-io.version>2.1</commons-io.version> | ||
<fest.version>2.0M10</fest.version> | ||
|
||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
</properties> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>junit</groupId> | ||
<artifactId>junit</artifactId> | ||
<version>${junit.version}</version> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>commons-io</groupId> | ||
<artifactId>commons-io</artifactId> | ||
<version>${commons-io.version}</version> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.easytesting</groupId> | ||
<artifactId>fest-assert-core</artifactId> | ||
<version>${fest.version}</version> | ||
<scope>test</scope> | ||
</dependency> | ||
</dependencies> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<version>3.0</version> | ||
<configuration> | ||
<source>${java.version}</source> | ||
<target>${java.version}</target> | ||
</configuration> | ||
</plugin> | ||
|
||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-checkstyle-plugin</artifactId> | ||
<version>2.10</version> | ||
<configuration> | ||
<failsOnError>true</failsOnError> | ||
<configLocation>${project.basedir}/checkstyle.xml</configLocation> | ||
<consoleOutput>true</consoleOutput> | ||
</configuration> | ||
<executions> | ||
<execution> | ||
<phase>verify</phase> | ||
<goals> | ||
<goal>checkstyle</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</project> |
Oops, something went wrong.