This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bsf.git

commit bbf5712a898b7023f5559a396b2f6226d9aca7a0
Author: Gary D. Gregory <garydgreg...@gmail.com>
AuthorDate: Fri Jan 17 10:01:06 2025 -0500

    Add security page and use common menu items
---
 src/site/site.xml          | 72 +++++++++++++++++++++++++---------------------
 src/site/xdoc/security.xml | 51 ++++++++++++++++++++++++++++++++
 2 files changed, 91 insertions(+), 32 deletions(-)

diff --git a/src/site/site.xml b/src/site/site.xml
index 0ae6d02..50bd460 100644
--- a/src/site/site.xml
+++ b/src/site/site.xml
@@ -1,44 +1,52 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!--
-    * Licensed to the Apache Software Foundation (ASF) under one
-    * or more contributor license agreements.  See the NOTICE file
-    * distributed with this work for additional information
-    * regarding copyright ownership.  The ASF licenses this file
-    * to you under the Apache License, Version 2.0 (the
-    * "License"); you may not use this file except in compliance
-    * with the License.  You may obtain a copy of the License at
-    * 
-    *   http://www.apache.org/licenses/LICENSE-2.0
-    * 
-    * Unless required by applicable law or agreed to in writing,
-    * software distributed under the License is distributed on an
-    * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-    * KIND, either express or implied.  See the License for the
-    * specific language governing permissions and limitations
-    * under the License.    
--->
-<project name="Apache Commons BSF&amp;trade;">
-
-    <bannerRight>
-        <name>Commons BSF</name>
-        <src>/images/bsf_logo.jpg</src>
-        <href>/index.html</href>
-    </bannerRight>
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
 
-  <publishDate format="dd MMM yyyy" />
+    https://www.apache.org/licenses/LICENSE-2.0
 
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+<site xmlns="http://maven.apache.org/SITE/2.0.0"; 
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+  xsi:schemaLocation="http://maven.apache.org/SITE/2.0.0 
https://maven.apache.org/xsd/site-2.0.0.xsd";
+  name="Apache Commons BCEL">
+  <bannerRight name="Commons BCEL" href="/index.html">
+    <image src="/images/logo.png"/>
+  </bannerRight>
   <body>
-
-    <menu name="BSF">
-      <item name="About" href="index.html"/>
+    <menu name="Commons BCEL">
+      <!-- Start: For all components. -->
+      <item name="About" href="index.html" />
+      <item name="Asking Questions" href="/mail-lists.html" />
+      <item name="Release History" href="/changes.html" />
+      <item name="Issue Tracking" href="/issue-management.html" />
+      <item name="Dependency Management" href="/dependency-info.html" />
+      <item name="Javadoc" href="apidocs/index.html" />
+      <item name="Javadoc Archive" 
href="https://javadoc.io/doc/org.apache.bcel/bcel/"; />
+      <item name="Sources" href="/scm.html" />
+      <item name="Security" href="security.html" />
+      <item name="License" href="https://www.apache.org/licenses/LICENSE-2.0"; 
/>
+      <item name="Code of Conduct" 
href="https://www.apache.org/foundation/policies/conduct.html"; />
+      <item name="Download" 
href="https://commons.apache.org/proper/commons-bcel/download_bcel.cgi"; />
+      <!-- End: For all components. -->
+      <!-- Specific to this component: -->
       <item name="News" href="bsfnews.html"/>
-      <item name="Download" href="download_bsf.cgi"/>
-      <item name="Documentation" href="manual.html"/>
+      <item name="Manual" href="manual.html"/>
       <item name="FAQ" href="faq.html"/>
       <item name="Related projects" href="projects.html"/>
       <item name="Resources" href="resources.html"/>
       <item name="Having a problem?" href="problems.html"/>
     </menu>
-
   </body>
-</project>
+</site>
diff --git a/src/site/xdoc/security.xml b/src/site/xdoc/security.xml
new file mode 100644
index 0000000..34b02c7
--- /dev/null
+++ b/src/site/xdoc/security.xml
@@ -0,0 +1,51 @@
+<?xml version="1.0"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements.  See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership.  The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License.  You may obtain a copy of the License at
+
+   https://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied.  See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<document xmlns="http://maven.apache.org/XDOC/2.0";
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+  xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 
http://maven.apache.org/xsd/xdoc-2.0.xsd";>
+  <properties>
+    <title>Apache Commons Security Reports</title>
+    <author email="d...@commons.apache.org">Apache Commons Team</author>
+  </properties>
+  <body>
+    <section name="About Security">
+      <p>
+        For information about reporting or asking questions about security, 
please see
+        <a href="https://commons.apache.org/security.html";>Apache Commons 
Security</a>.
+      </p>
+      <p>This page lists all security vulnerabilities fixed in released 
versions of this component. 
+      </p>
+      <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
+        that you are using. 
+      </p>
+      <p>
+        If you need help on building this component or other help on following 
the instructions to mitigate the known vulnerabilities listed here, please send
+        your questions to the public
+        <a href="mail-lists.html">user mailing list</a>.
+      </p>
+      <p>If you have encountered an unlisted security vulnerability or other 
unexpected behavior that has security impact, or if the descriptions here are
+        incomplete, please report them privately to the Apache Security Team. 
Thank you. 
+      </p>
+    </section>
+    <section name="Security Vulnerabilities">
+      <p>None.</p>
+    </section>
+  </body>
+</document>
\ No newline at end of file

Reply via email to