pmd requires javac 1.4 or newer

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4720 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
Xavier Le Vourch
2006-10-20 22:44:37 +00:00
parent fef103761e
commit 91614290e7
2 changed files with 3 additions and 3 deletions

View File

@ -28,7 +28,7 @@
<target name="compile" description="Compiles the code">
<mkdir dir="${dir.build}" />
<javac deprecation="false" debug="true" optimize="false" srcdir="${dir.src}:${dir.regress}" destdir="${dir.build}">
<javac source="1.4" target="1.4" deprecation="false" debug="true" optimize="false" srcdir="${dir.src}:${dir.regress}" destdir="${dir.build}">
<classpath>
<path refid="dependencies.path" />
</classpath>

View File

@ -2,8 +2,8 @@ rulesets.dir=rulesets
maven.pmd.reportsDirectory=target
maven.junit.fork=true
maven.compile.encoding=utf8
maven.compile.source=1.3
maven.compile.target=1.3
maven.compile.source=1.4
maven.compile.target=1.4
# Avoid that unit tests are running twice
maven.clover.execute.during.report=false
maven.clover.license.path=${basedir}/etc/clover.license