archiva-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r702458 - /archiva/trunk/archiva-docs/pom.xml
Date Tue, 07 Oct 2008 12:43:28 GMT
Author: brett
Date: Tue Oct  7 05:43:27 2008
New Revision: 702458

URL: http://svn.apache.org/viewvc?rev=702458&view=rev
Log:
basedir needed for multi-module build

Modified:
    archiva/trunk/archiva-docs/pom.xml

Modified: archiva/trunk/archiva-docs/pom.xml
URL: http://svn.apache.org/viewvc/archiva/trunk/archiva-docs/pom.xml?rev=702458&r1=702457&r2=702458&view=diff
==============================================================================
--- archiva/trunk/archiva-docs/pom.xml (original)
+++ archiva/trunk/archiva-docs/pom.xml Tue Oct  7 05:43:27 2008
@@ -122,7 +122,7 @@
                       <condition>
                         <![CDATA[
                           javax.xml.xpath.XPath xpath = javax.xml.xpath.XPathFactory.newInstance().newXPath();
-                          org.xml.sax.InputSource is = new org.xml.sax.InputSource( new java.io.FileInputStream(
"src/site/site.xml" ) );
+                          org.xml.sax.InputSource is = new org.xml.sax.InputSource( new java.io.FileInputStream(
"${basedir}/src/site/site.xml" ) );
                           xpath.evaluate( "//project/body/breadcrumbs/item[@name='${project.version}']/@href",
is ).equals( "/docs/${project.version}" )
                         ]]>
                       </condition>
@@ -131,7 +131,7 @@
                       <message>Release notes need to be updated for the current release
version</message>
                       <condition>
                         <![CDATA[
-                          org.codehaus.plexus.util.FileUtils.fileRead( "src/site/apt/release-notes.apt"
).indexOf( "Release Notes for Archiva ${project.version}" ) >= 0
+                          org.codehaus.plexus.util.FileUtils.fileRead( "${basedir}/src/site/apt/release-notes.apt"
).indexOf( "Release Notes for Archiva ${project.version}" ) >= 0
                         ]]>
                       </condition>
                     </evaluateBeanshell>



Mime
View raw message