Permalink
Browse files

Got rid of javadoc warning, issue #548

  • Loading branch information...
alexkravin committed Jan 2, 2015
1 parent 8f241f9 commit 9303fd9d971eb55cdfd62686ba2f5698edb2c83e
Showing with 4 additions and 4 deletions.
  1. +1 −2 ant-phase-compile.xml
  2. +3 −2 pom.xml
View
@@ -7,10 +7,9 @@
<entry key="checkstyle.compile.version" value="${mvn.project.version}"/>
<entry key="checkstyle.compile.timestamp" type="date" value="now" pattern="E MMMM dd yyyy, HH:mm z"/>
</propertyfile>
-
<javadoc sourcefiles="src/main/java/com/puppycrawl/tools/checkstyle/api/TokenTypes.java"
encoding="iso-8859-1"
- source="1.5"
+ source="${java.version}"
failonerror="yes">
<classpath>
<pathelement location="${mvn.project.build.outputDirectory}"/>
View
@@ -152,6 +152,7 @@
<maven.site.plugin.version>3.4</maven.site.plugin.version>
<tools.jar.version>1.7.0</tools.jar.version>
<tools.jar.path>${java.home}/../lib/tools.jar</tools.jar.path>
+ <java.version>1.7</java.version>
</properties>
<dependencies>
@@ -277,8 +278,8 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
- <source>1.7</source>
- <target>1.7</target>
+ <source>${java.version}</source>
+ <target>${java.version}</target>
</configuration>
</plugin>

0 comments on commit 9303fd9

Please sign in to comment.