Permalink
Browse files

Update POM (plugin versions, checkstyle rules).

  • Loading branch information...
1 parent 92c211e commit 4639cc0ed24776a4a315f773075f1d829954b009 @kohanyirobert committed Jun 3, 2012
View
@@ -1,4 +1,4 @@
-Copyright (C) 2011-2012 by Kohányi Róbert <kohanyi.robert@gmail.com>
+Copyright (C) 2011-Ad Infinitum by Kohányi Róbert <kohanyi.robert@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
View
@@ -6,7 +6,6 @@
<groupId>com.github.kohanyirobert</groupId>
<artifactId>ebson</artifactId>
<version>0.3-SNAPSHOT</version>
- <packaging>jar</packaging>
<name>ebson</name>
<description>
@@ -55,7 +54,7 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
+ <project.reporting.outputEncoding>${project.build.sourceEncoding}</project.reporting.outputEncoding>
</properties>
<dependencies>
@@ -73,15 +72,15 @@
<dependency>
<groupId>org.mongodb</groupId>
<artifactId>mongo-java-driver</artifactId>
- <version>2.7.3</version>
+ <version>2.8.0-RC1</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<resources>
<resource>
- <directory>${basedir}</directory>
+ <directory>${project.basedir}</directory>
<targetPath>${project.build.outputDirectory}/META-INF</targetPath>
<filtering>false</filtering>
<includes>
@@ -95,7 +94,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
- <version>2.4</version>
+ <version>2.5</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
@@ -144,7 +143,7 @@
<goal>check</goal>
</goals>
<configuration>
- <configLocation>https://raw.github.com/kohanyirobert/checkstyle/master/checkstyle-main.xml</configLocation>
+ <configLocation>https://raw.github.com/kohanyirobert/checkstyle/master/main.xml</configLocation>
</configuration>
</execution>
<execution>
@@ -154,7 +153,7 @@
<goal>check</goal>
</goals>
<configuration>
- <configLocation>https://raw.github.com/kohanyirobert/checkstyle/master/checkstyle-test.xml</configLocation>
+ <configLocation>https://raw.github.com/kohanyirobert/checkstyle/master/test.xml</configLocation>
<includeTestSourceDirectory>true</includeTestSourceDirectory>
</configuration>
</execution>
@@ -157,7 +157,7 @@ private int optionsToFlags(String options) {
return flags;
}
- // @do-not-check CyclomaticComplexity
+ // @do-not-check-next-line CyclomaticComplexity
private int optionToFlag(char option) {
int flag = 0;
switch (option) {
@@ -146,7 +146,7 @@ public void writeTo(ByteBuffer buffer, Object reference) {
keyWriter.writeTo(buffer, flagsToOptions(regularExpression.flags()));
}
- // @do-not-check CyclomaticComplexity
+ // @do-not-check-next-line CyclomaticComplexity
private String flagsToOptions(int flags) {
SortedSet<Character> options = Sets.newTreeSet();
if (hasFlag(flags, Pattern.CASE_INSENSITIVE))
@@ -39,7 +39,7 @@ private static void assertArray(Object expected, Object actual) {
assertArrayEquals(toArray(expected), toArray(actual));
}
- // @do-not-check CyclomaticComplexity
+ // @do-not-check-next-line CyclomaticComplexity
private static Object[] toArray(Object object) {
Object[] array;
if (object instanceof Object[])

0 comments on commit 4639cc0

Please sign in to comment.