Skip to content

Commit 6d911e8

Browse files
committed
Add a security page
Normalize to a common main menu
1 parent eba340e commit 6d911e8

File tree

2 files changed

+99
-40
lines changed

2 files changed

+99
-40
lines changed

src/site/site.xml

Lines changed: 48 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,53 @@
11
<?xml version="1.0" encoding="ISO-8859-1"?>
22
<!--
3-
Licensed to the Apache Software Foundation (ASF) under one or more
4-
contributor license agreements. See the NOTICE file distributed with
5-
this work for additional information regarding copyright ownership.
6-
The ASF licenses this file to You under the Apache License, Version 2.0
7-
(the "License"); you may not use this file except in compliance with
8-
the License. You may obtain a copy of the License at
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
910
10-
http://www.apache.org/licenses/LICENSE-2.0
11+
https://www.apache.org/licenses/LICENSE-2.0
1112
12-
Unless required by applicable law or agreed to in writing, software
13-
distributed under the License is distributed on an "AS IS" BASIS,
14-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15-
See the License for the specific language governing permissions and
16-
limitations under the License.
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.
1719
-->
18-
<project name="Apache Commons CLI">
19-
<bannerRight>
20-
<name>Apache Commons CLI</name>
21-
<src>/images/logo.png</src>
22-
<href>/index.html</href>
23-
</bannerRight>
24-
25-
<body>
26-
<menu name="Commons CLI">
27-
<item name="Overview" href="/index.html"/>
28-
<item name="Download" href="https://commons.apache.org/cli/download_cli.cgi"/>
29-
<item name="Changes Report" href="/changes.html"/>
30-
<item name="Mailing Lists" href="/mail-lists.html"/>
31-
<item name="Issue Tracking" href="/issue-tracking.html"/>
32-
<item name="Source Repository" href="/scm.html"/>
33-
</menu>
34-
35-
<menu name="User Guide">
36-
<item name="Getting started" href="/introduction.html"/>
37-
<item name="Using CLI" href="/usage.html"/>
38-
<item name="Option properties" href="/properties.html"/>
39-
<item name="Javadoc" href="/apidocs/index.html"/>
40-
<item name="Javadoc Archive" href="https://javadoc.io/doc/commons-cli/commons-cli/latest/index.html"/>
41-
</menu>
42-
43-
</body>
44-
45-
</project>
20+
<site xmlns="http://maven.apache.org/SITE/2.0.0"
21+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
22+
xsi:schemaLocation="http://maven.apache.org/SITE/2.0.0 http://maven.apache.org/xsd/site-2.0.0.xsd"
23+
name="Apache Commons CLI">
24+
<bannerRight name="Commons CLI" href="/index.html">
25+
<image src="/images/logo.png"/>
26+
</bannerRight>
27+
<body>
28+
<menu name="Commons BCEL">
29+
<!-- Start: For all components. -->
30+
<item name="About" href="index.html" />
31+
<item name="Asking Questions" href="/mail-lists.html" />
32+
<item name="Release History" href="/changes.html" />
33+
<item name="Issue Tracking" href="/issue-management.html" />
34+
<item name="Dependency Management" href="/dependency-info.html" />
35+
<item name="Javadoc" href="apidocs/index.html" />
36+
<item name="Javadoc Archive" href="https://javadoc.io/doc/org.apache.bcel/bcel/" />
37+
<item name="Sources" href="/scm.html" />
38+
<item name="Security" href="security.html" />
39+
<item name="License" href="https://www.apache.org/licenses/LICENSE-2.0" />
40+
<item name="Code of Conduct" href="https://www.apache.org/foundation/policies/conduct.html" />
41+
<item name="Download" href="https://commons.apache.org/proper/commons-bcel/download_bcel.cgi" />
42+
<!-- End: For all components. -->
43+
</menu>
44+
<!-- Specific to this component: -->
45+
<menu name="User Guide">
46+
<item name="Getting started" href="/introduction.html"/>
47+
<item name="Using CLI" href="/usage.html"/>
48+
<item name="Option properties" href="/properties.html"/>
49+
<item name="Javadoc" href="/apidocs/index.html"/>
50+
<item name="Javadoc Archive" href="https://javadoc.io/doc/commons-cli/commons-cli/latest/index.html"/>
51+
</menu>
52+
</body>
53+
</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 http://maven.apache.org/xsd/xdoc-2.0.xsd">
23+
<properties>
24+
<title>Apache Commons Security Reports</title>
25+
<author email="dev@commons.apache.org">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)