From 3177575ca9fa5bfd199f15257068e39dad9c208f Mon Sep 17 00:00:00 2001 From: Brett Leslie Porter Date: Sun, 23 Oct 2005 08:01:57 +0000 Subject: [PATCH] site fixes git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@327762 13f79535-47bb-0310-9956-ffa450edef68 --- .../site/apt/guides/getting-started/index.apt | 2 +- maven-site/src/site/resources/.htaccess | 1 + maven-site/src/site/site.xml | 4 +- maven-site/src/site/xdoc/errors/404.xml | 48 +++++++++++++++++++ 4 files changed, 52 insertions(+), 3 deletions(-) create mode 100644 maven-site/src/site/resources/.htaccess create mode 100644 maven-site/src/site/xdoc/errors/404.xml diff --git a/maven-site/src/site/apt/guides/getting-started/index.apt b/maven-site/src/site/apt/guides/getting-started/index.apt index e46c67246f..d2bbced927 100644 --- a/maven-site/src/site/apt/guides/getting-started/index.apt +++ b/maven-site/src/site/apt/guides/getting-started/index.apt @@ -573,7 +573,7 @@ InputStream is = Thread.currentThread().getContextClassLoader().getResourceAsStr * {How do I filter resource files?} Sometimes a resource file will need to contain a value that can only be supplied at build time. To accomplish this in - Maven, put a reference to the property that will contain the value into your resource file using the syntax <<<$\{>>. + Maven, put a reference to the property that will contain the value into your resource file using the syntax <<<$\{\}>>>. The property can be one of the values defined in your pom.xml, a value defined in the user's settings.xml, a property defined in an external properties file, or a system property. diff --git a/maven-site/src/site/resources/.htaccess b/maven-site/src/site/resources/.htaccess new file mode 100644 index 0000000000..deedcde8e3 --- /dev/null +++ b/maven-site/src/site/resources/.htaccess @@ -0,0 +1 @@ +ErrorDocument 404 /errors/404.html diff --git a/maven-site/src/site/site.xml b/maven-site/src/site/site.xml index fe5291fd01..88c9ecfafe 100644 --- a/maven-site/src/site/site.xml +++ b/maven-site/src/site/site.xml @@ -11,8 +11,8 @@ - - + + diff --git a/maven-site/src/site/xdoc/errors/404.xml b/maven-site/src/site/xdoc/errors/404.xml new file mode 100644 index 0000000000..ca8ff330d9 --- /dev/null +++ b/maven-site/src/site/xdoc/errors/404.xml @@ -0,0 +1,48 @@ + + + + + Brett Porter + Page Not Found + + +
+ +

Sorry, the page you requested was not found. This may because:

+
    +
  • The page has moved, was outdated, or has not been created yet
  • +
  • You typed the address incorrectly
  • +
  • You following a link from another site that pointed to this page.
  • +
+ +

+ We have recently reorganised our site, so please try looking in the navigation on the left for the item + you are looking for on Maven 1.x or the Maven project. For information about Maven 2.0 or Continuum, please + visit their sub sites, available from the links in the top right of the page. +

+ +

+ There is no need to report this broken link to the Maven team, as errors are periodically monitored and repaired. +

+ +
+ + +
+