]> source.dussan.org Git - archiva.git/commitdiff
basedir needed for multi-module build
authorBrett Porter <brett@apache.org>
Tue, 7 Oct 2008 12:43:27 +0000 (12:43 +0000)
committerBrett Porter <brett@apache.org>
Tue, 7 Oct 2008 12:43:27 +0000 (12:43 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@702458 13f79535-47bb-0310-9956-ffa450edef68

archiva-docs/pom.xml

index dba5d0199cba30e51d6ca0cd46f04e13dac625cd..fe78803d507432a6bb09478d92fec2709acdf579 100644 (file)
                       <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>
                       <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>