You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2012/02/19 23:18:03 UTC

svn commit: r1291073 - /maven/site/trunk/pom.xml

Author: hboutemy
Date: Sun Feb 19 22:18:03 2012
New Revision: 1291073

URL: http://svn.apache.org/viewvc?rev=1291073&view=rev
Log:
use ${project.reporting.outputDirectory} instead of copy/paste its default value

Modified:
    maven/site/trunk/pom.xml

Modified: maven/site/trunk/pom.xml
URL: http://svn.apache.org/viewvc/maven/site/trunk/pom.xml?rev=1291073&r1=1291072&r2=1291073&view=diff
==============================================================================
--- maven/site/trunk/pom.xml (original)
+++ maven/site/trunk/pom.xml Sun Feb 19 22:18:03 2012
@@ -180,7 +180,7 @@
                   <message>Generated site should have inherited the correct skin from the parent</message>
                   <!-- check assumes you've run with "clean" -->
                   <files>
-                    <file>${project.build.directory}/site/images/apache-maven-project-2.png</file>
+                    <file>${project.reporting.outputDirectory}/images/apache-maven-project-2.png</file>
                   </files>
                 </requireFilesExist>
               </rules>
@@ -200,7 +200,7 @@
               <goal>copy-resources</goal>
             </goals>
             <configuration>
-              <outputDirectory>${basedir}/target/site</outputDirectory>
+              <outputDirectory>${project.reporting.outputDirectory}</outputDirectory>
               <resources>
                 <resource>
                   <directory>src/site/filtered-resources</directory>