summaryrefslogtreecommitdiffstats
path: root/archiva-docs/pom.xml
diff options
context:
space:
mode:
authorBrett Porter <brett@apache.org>2008-10-07 12:43:27 +0000
committerBrett Porter <brett@apache.org>2008-10-07 12:43:27 +0000
commita316fad4ecb7f9e44510b97ae42d9a31a19b1ce2 (patch)
treee0a687f3287af57327072127c99745eadb6204bb /archiva-docs/pom.xml
parent7587cfaf32e236d1e5338ffcc2d7ad137a5aa251 (diff)
downloadarchiva-a316fad4ecb7f9e44510b97ae42d9a31a19b1ce2.tar.gz
archiva-a316fad4ecb7f9e44510b97ae42d9a31a19b1ce2.zip
basedir needed for multi-module build
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@702458 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-docs/pom.xml')
-rw-r--r--archiva-docs/pom.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/archiva-docs/pom.xml b/archiva-docs/pom.xml
index dba5d0199..fe78803d5 100644
--- a/archiva-docs/pom.xml
+++ b/archiva-docs/pom.xml
@@ -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>