Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit da8dd59

Browse files
committed
try to have the same 404 page hack as Maven: don't know why it doesn't
work
1 parent 13602a3 commit da8dd59

File tree

2 files changed

+54
-11
lines changed

2 files changed

+54
-11
lines changed

src/site/apt/404.apt

-11
This file was deleted.

src/site/xdoc/404.xml

+54
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
<?xml version="1.0"?>
2+
3+
<!--
4+
Licensed to the Apache Software Foundation (ASF) under one
5+
or more contributor license agreements. See the NOTICE file
6+
distributed with this work for additional information
7+
regarding copyright ownership. The ASF licenses this file
8+
to you under the Apache License, Version 2.0 (the
9+
"License"); you may not use this file except in compliance
10+
with the License. You may obtain a copy of the License at
11+
12+
http://www.apache.org/licenses/LICENSE-2.0
13+
14+
Unless required by applicable law or agreed to in writing,
15+
software distributed under the License is distributed on an
16+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17+
KIND, either express or implied. See the License for the
18+
specific language governing permissions and limitations
19+
under the License.
20+
-->
21+
22+
<document xmlns="http://maven.apache.org/XDOC/2.0"
23+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
24+
xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
25+
<properties>
26+
<title>Page Not Found</title>
27+
</properties>
28+
29+
30+
<head>
31+
<title>Page Not Found</title>
32+
<base href="http://codehaus-plexus.github.io/" />
33+
<!-- need to import styles by hand since the generated html has them relative and before the base tag -->
34+
<link rel="stylesheet" href="http://codehaus-plexus.github.io/css/apache-maven-fluido-1.4.min.css" />
35+
<link rel="stylesheet" href="http://codehaus-plexus.github.io/css/site.css" />
36+
<link rel="stylesheet" href="http://codehaus-plexus.github.io/css/print.css" media="print" />
37+
<script type="text/javascript" src="http://codehaus-plexus.github.io/js/apache-maven-fluido-1.4.min.js" />
38+
</head>
39+
40+
<body>
41+
<section name="Page Not Found">
42+
43+
<p>We're sorry, but the page you requested cannot be found. This may be because:</p>
44+
<ul>
45+
<li>The page has moved, was outdated, or has not been created yet</li>
46+
<li>You typed the address incorrectly</li>
47+
<li>You followed a link from another site that pointed to this page.</li>
48+
</ul>
49+
50+
<p>If you came to this page by following a broken link on our site, you can report the <a href="https://github.com/codehaus-plexus/codehaus-plexus.github.io/issues">problem</a>.</p>
51+
52+
</section>
53+
</body>
54+
</document>

0 commit comments

Comments
 (0)