forked from phoedos/pmd
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:
@ -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>
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user