Move comment down to improve readability

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@328762 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Vincent Massol 2005-10-26 23:35:30 +00:00
parent 2da1d48e5d
commit c5495d855a

View File

@ -100,9 +100,10 @@ public void execute()
// Explicitely set the output directory to be the Clover one so that all other plugins executing
// thereafter output files in the Clover output directory and not in the main output directory.
this.project.getBuild().setDirectory( this.cloverOutputDirectory );
// TODO: Ulgy hack below. Changing the directory should be enough for changing the values of all other
// properties depending on it!
this.project.getBuild().setDirectory( this.cloverOutputDirectory );
this.project.getBuild().setOutputDirectory( new File( this.cloverOutputDirectory, "classes" ).getPath() );
this.project.getBuild().setTestOutputDirectory(
new File( this.cloverOutputDirectory, "test-classes" ).getPath() );