Skip to content

Commit 2bf6e53

Browse files
committed
Add security page and use common menu items
1 parent 31e8cd0 commit 2bf6e53

File tree

2 files changed

+71
-18
lines changed

2 files changed

+71
-18
lines changed

src/site/site.xml

Lines changed: 20 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -15,27 +15,29 @@
1515
See the License for the specific language governing permissions and
1616
limitations under the License.
1717
-->
18-
<project name="Commons CSV">
19-
<bannerRight>
20-
<name>Apache Commons CSV</name>
21-
<src>/images/logo.png</src>
22-
<href>/index.html</href>
23-
<alt>Apache Commons CSV&amp;trade; logo</alt>
18+
<site xmlns="http://maven.apache.org/SITE/2.0.0"
19+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20+
xsi:schemaLocation="http://maven.apache.org/SITE/2.0.0 https://maven.apache.org/xsd/site-2.0.0.xsd"
21+
name="Apache Commons CSV">
22+
<bannerRight name="Commons CSV" href="/index.html">
23+
<image src="/images/logo.png"/>
2424
</bannerRight>
2525
<body>
2626
<menu name="Commons CSV">
27-
<item name="Overview" href="/index.html"/>
28-
<item name="Download" href="/download_csv.cgi"/>
29-
<item name="User Guide" href="/user-guide.html"/>
30-
<item name="Javadoc" href="/apidocs/index.html"/>
31-
<item name="Javadoc Archive" href="https://javadoc.io/doc/org.apache.commons/commons-csv/latest/index.html"/>
27+
<!-- Start: For all components. -->
28+
<item name="About" href="index.html" />
29+
<item name="Asking Questions" href="/mail-lists.html" />
3230
<item name="Release History" href="/changes.html" />
33-
</menu>
34-
<menu name="Development">
35-
<item name="Mailing Lists" href="/mail-lists.html"/>
36-
<item name="Issue Tracking" href="/issue-tracking.html"/>
37-
<item name="Team" href="/team.html"/>
38-
<item name="Source" href="/scm.html"/>
31+
<item name="Issue Tracking" href="/issue-management.html" />
32+
<item name="Dependency Management" href="/dependency-info.html" />
33+
<item name="Javadoc" href="apidocs/index.html" />
34+
<item name="Javadoc Archive" href="https://javadoc.io/doc/org.apache.commons/commons-csv/" />
35+
<item name="Sources" href="/scm.html" />
36+
<item name="Security" href="security.html" />
37+
<item name="License" href="https://www.apache.org/licenses/LICENSE-2.0" />
38+
<item name="Code of Conduct" href="https://www.apache.org/foundation/policies/conduct.html" />
39+
<item name="Download" href="https://commons.apache.org/proper/commons-csv/download_bcel.cgi" />
40+
<!-- End: For all components. -->
3941
</menu>
4042
</body>
41-
</project>
43+
</site>

src/site/xdoc/security.xml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
<?xml version="1.0"?>
2+
<!--
3+
Licensed to the Apache Software Foundation (ASF) under one
4+
or more contributor license agreements. See the NOTICE file
5+
distributed with this work for additional information
6+
regarding copyright ownership. The ASF licenses this file
7+
to you under the Apache License, Version 2.0 (the
8+
"License"); you may not use this file except in compliance
9+
with the License. You may obtain a copy of the License at
10+
11+
https://www.apache.org/licenses/LICENSE-2.0
12+
13+
Unless required by applicable law or agreed to in writing,
14+
software distributed under the License is distributed on an
15+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
KIND, either express or implied. See the License for the
17+
specific language governing permissions and limitations
18+
under the License.
19+
-->
20+
<document xmlns="http://maven.apache.org/XDOC/2.0"
21+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
22+
xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 https://maven.apache.org/xsd/xdoc-2.0.xsd">
23+
<properties>
24+
<title>Apache Commons Security Reports</title>
25+
<author email="[email protected]">Apache Commons Team</author>
26+
</properties>
27+
<body>
28+
<section name="About Security">
29+
<p>
30+
For information about reporting or asking questions about security, please see
31+
<a href="https://commons.apache.org/security.html">Apache Commons Security</a>.
32+
</p>
33+
<p>This page lists all security vulnerabilities fixed in released versions of this component.
34+
</p>
35+
<p>Please note that binary patches are never provided. If you need to apply a source code patch, use the building instructions for the component version
36+
that you are using.
37+
</p>
38+
<p>
39+
If you need help on building this component or other help on following the instructions to mitigate the known vulnerabilities listed here, please send
40+
your questions to the public
41+
<a href="mail-lists.html">user mailing list</a>.
42+
</p>
43+
<p>If you have encountered an unlisted security vulnerability or other unexpected behavior that has security impact, or if the descriptions here are
44+
incomplete, please report them privately to the Apache Security Team. Thank you.
45+
</p>
46+
</section>
47+
<section name="Security Vulnerabilities">
48+
<p>None.</p>
49+
</section>
50+
</body>
51+
</document>

0 commit comments

Comments
 (0)