Merge pull request #597 from fenderbob/patch-1

Update to fix problem for ./configure: no such file or directory
diff --git a/Jenkinsfile.groovy b/Jenkinsfile.groovy
index c0a7dae..94fff80 100644
--- a/Jenkinsfile.groovy
+++ b/Jenkinsfile.groovy
@@ -75,9 +75,10 @@
                     }
                 }
                 dir('asf-site-branch') {
-                    sh('git checkout asf-site')
-                    sh('git pull')
-                    sh('git status')
+                    sh 'git fetch'
+                    sh 'git checkout asf-site'
+                    sh 'git pull'
+                    sh 'git status'
                 }
             }
         }
@@ -145,7 +146,8 @@
     }
     post {
         cleanup {
-            println "Cleanup todo"
+            println "Cleanup todo (using cleanWS to test)"
+            cleanWs()
         }
         success {
             //echo "Success?"
diff --git a/netbeans.apache.org/build.gradle b/netbeans.apache.org/build.gradle
index e108735..e2d006e 100644
--- a/netbeans.apache.org/build.gradle
+++ b/netbeans.apache.org/build.gradle
@@ -83,7 +83,8 @@
                 "**/*.png", 
                 "**/*.svg", 
                 "**/*.ttf",
-                "**/*.woff"
+                "**/*.woff",
+                "**/doap_NetBeans.rdf"
     }
 
     from("$contentDir/scss") {
diff --git a/netbeans.apache.org/src/content/doap_NetBeans.rdf b/netbeans.apache.org/src/content/doap_NetBeans.rdf
new file mode 100755
index 0000000..e0f3757
--- /dev/null
+++ b/netbeans.apache.org/src/content/doap_NetBeans.rdf
@@ -0,0 +1,62 @@
+<?xml version="1.0"?>
+<?xml-stylesheet type="text/xsl"?>
+<rdf:RDF xml:lang="en"
+         xmlns="http://usefulinc.com/ns/doap#" 
+         xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 
+         xmlns:asfext="http://projects.apache.org/ns/asfext#"
+         xmlns:foaf="http://xmlns.com/foaf/0.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
+       
+             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.
+    -->
+    <Project rdf:about="https://netbeans.apache.org">
+        <created>2022-05-05</created>
+        <license rdf:resource="https://spdx.org/licenses/Apache-2.0" />
+        <name>Apache NetBeans</name>
+        <homepage rdf:resource="https://netbeans.apache.org" />
+        <asfext:pmc rdf:resource="https://netbeans.apache.org" />
+        <shortdesc>Apache NetBeans is Development Environment, Tooling Platform and Application Framework.</shortdesc>
+        <description>Apache NetBeans is and IDE for many language (java, php, ...). Apache NetBeans is a platform that can be extended by third party developer.</description>
+        <bug-database rdf:resource="https://github.com/apache/netbeans/issues" />
+        <mailing-list rdf:resource="https://netbeans.apache.org/community/mailing-lists.html" />
+        <download-page rdf:resource="https://netbeans.apache.org/download/index.html" />
+        <programming-language>Java</programming-language>
+        <category rdf:resource="https://projects.apache.org/category/java" />
+        <category rdf:resource="https://projects.apache.org/category/groovy" />
+        <category rdf:resource="https://projects.apache.org/category/php" />
+        <category rdf:resource="https://projects.apache.org/category/ide" />
+        <release>
+            <Version>
+                <name>Apache NetBeans 13</name>
+                <created>2022-01-20</created>
+                <revision>13</revision>
+                <file-release>https://archive.apache.org/dist/netbeans/netbeans/13/netbeans-13-bin.zip</file-release>
+            </Version>
+        </release>
+        <repository>
+            <GitRepository>
+                <location rdf:resource="https://gitbox.apache.org/repos/asf/netbeans.git"/>
+                <browse rdf:resource="https://gitbox.apache.org/repos/asf?p=netbeans.git"/>
+            </GitRepository>
+        </repository>
+        <maintainer>
+            <foaf:Person>
+                <foaf:name>Apache NetBeans PMC</foaf:name>
+                <foaf:mbox rdf:resource="mailto:dev@netbeans.apache.org"/>
+            </foaf:Person>
+        </maintainer>
+    </Project>
+</rdf:RDF>
+
diff --git a/netbeans.apache.org/src/content/download/archive/index.asciidoc b/netbeans.apache.org/src/content/download/archive/index.asciidoc
index ebe7627..0b47d64 100644
--- a/netbeans.apache.org/src/content/download/archive/index.asciidoc
+++ b/netbeans.apache.org/src/content/download/archive/index.asciidoc
@@ -29,6 +29,12 @@
 Older Apache NetBeans releases and pre-Apache NetBeans releases can still be
 downloaded, but are no longer supported.
 
+== Apache NetBeans 13
+
+Apache NetBeans 13 was released on March 4, 2022.
+
+link:/download/nb13/[Features, role="button"] link:/download/nb13/nb13.html[Download, role="button success"]
+
 == Apache NetBeans 12.6
 
 Apache NetBeans 12.6 was released on November 29, 2021.
diff --git a/netbeans.apache.org/src/content/download/index.asciidoc b/netbeans.apache.org/src/content/download/index.asciidoc
index d8e6a83..1c03d2a 100644
--- a/netbeans.apache.org/src/content/download/index.asciidoc
+++ b/netbeans.apache.org/src/content/download/index.asciidoc
@@ -37,11 +37,11 @@
 
 Apache NetBeans is released four times a year. For details, see link:https://cwiki.apache.org/confluence/display/NETBEANS/Release+Schedule[full release schedule].
 
-== Apache NetBeans 13
+== Apache NetBeans 14
 
-Latest version of the IDE, released on March 4, 2022.
+Latest version of the IDE, released on June 9, 2022.
 
-link:/download/nb13/[Features, role="button"] link:/download/nb13/nb13.html[Download, role="button success"]
+link:/download/nb14/nb14.html[Download, role="button success"]
 
 == Older releases
 
diff --git a/netbeans.apache.org/src/content/download/nb14/index.asciidoc b/netbeans.apache.org/src/content/download/nb14/index.asciidoc
new file mode 100644
index 0000000..d4705e4
--- /dev/null
+++ b/netbeans.apache.org/src/content/download/nb14/index.asciidoc
@@ -0,0 +1,115 @@
+////
+     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.
+////
+////
+
+NOTE: 
+See https://www.apache.org/dev/release-download-pages.html 
+for important requirements for download pages for Apache projects.
+
+////
+= Downloading Apache NetBeans 14 
+:jbake-type: page_noaside
+:jbake-tags: download
+:jbake-status: published
+:keywords: Apache NetBeans 14 Download
+:description: Apache NetBeans 14 Download
+:toc: left
+:toc-title:
+:icons: font
+
+Apache NetBeans 14 was released on June 9, 2022. link:https://github.com/apache/netbeans/releases/tag/14[Go here on GitHub] for a list of fixed issues for Apache NetBeans 14.
+
+////
+NOTE: It's mandatory to link to the source. It's optional to link to the binaries.
+NOTE: It's mandatory to link against https://www.apache.org for the sums & keys. https is recommended.
+NOTE: It's NOT recommended to link to github.
+////
+Apache NetBeans 14 is available for download from your closest Apache mirror.
+
+- Binaries: 
+link:https://www.apache.org/dyn/closer.cgi/netbeans/netbeans/14/netbeans-14-bin.zip[netbeans-14-bin.zip] (link:https://downloads.apache.org/netbeans/netbeans/14/netbeans-14-bin.zip.sha512[SHA-512],
+link:https://downloads.apache.org/netbeans/netbeans/14/netbeans-14-bin.zip.asc[PGP ASC])
+
+- Installers:
+ 
+* link:https://www.apache.org/dyn/closer.cgi/netbeans/netbeans-installers/14/Apache-NetBeans-14-bin-windows-x64.exe[Apache-NetBeans-14-bin-windows-x64.exe] (link:https://downloads.apache.org/netbeans/netbeans-installers/14/Apache-NetBeans-14-bin-windows-x64.exe.sha512[SHA-512],
+link:https://downloads.apache.org/netbeans/netbeans-installers/14/Apache-NetBeans-14-bin-windows-x64.exe.asc[PGP ASC])
+* link:https://www.apache.org/dyn/closer.cgi/netbeans/netbeans-installers/14/Apache-NetBeans-14-bin-linux-x64.sh[Apache-NetBeans-14-bin-linux-x64.sh] (link:https://downloads.apache.org/netbeans/netbeans-installers/14/Apache-NetBeans-14-bin-linux-x64.sh.sha512[SHA-512],
+link:https://downloads.apache.org/netbeans/netbeans-installers/14/Apache-NetBeans-14-bin-linux-x64.sh.asc[PGP ASC])
+* link:https://archive.apache.org/dist/netbeans/netbeans-installers/14/Apache-NetBeans-14-bin-macosx.dmg[Apache-NetBeans-14-bin-macosx.dmg] (link:https://archive.apache.org/dist/netbeans/netbeans-installers/14/Apache-NetBeans-14-bin-macosx.dmg.sha512[SHA-512],
+link:https://archive.apache.org/dist/netbeans/netbeans-installers/14/Apache-NetBeans-14-bin-macosx.dmg.asc[PGP ASC])
+
+- Source: link:https://www.apache.org/dyn/closer.cgi/netbeans/netbeans/14/netbeans-14-source.zip[netbeans-14-source.zip] (link:https://downloads.apache.org/netbeans/netbeans/14/netbeans-14-source.zip.sha512[SHA-512],
+link:https://downloads.apache.org/netbeans/netbeans/14/netbeans-14-source.zip.asc[PGP ASC])
+
+////
+NOTE: Using https below is highly recommended.
+////
+Officially, it is important that you link:https://www.apache.org/dyn/closer.cgi#verify[verify the integrity]
+of the downloaded files using the PGP signatures (.asc file) or a hash (.sha512 files).
+The PGP keys used to sign this release are available link:https://downloads.apache.org/netbeans/KEYS[here].
+
+Apache NetBeans can also be installed as a self-contained link:https://snapcraft.io/netbeans[snap package] on Linux.
+
+== Community Installers
+
+IMPORTANT: Individual NetBeans committers may provide additional binary packages as a convenience.
+While built using the Apache NetBeans release, they are not releases of the Apache Software
+Foundation. They may include other contents (eg. JDK) under additional license terms.
+
+- link:https://www.codelerity.com/netbeans/[Codelerity / Gj IT packages] - Windows, macOS and
+Linux (.deb / .AppImage) built with
+link:https://github.com/apache/netbeans-tools/tree/master/nbpackage[NBPackage]. Most
+include a local JDK runtime for the IDE to run on, for a self-contained out-of-the-box
+experience (other JDK's may be used for projects).
+
+== Deployment Platforms
+
+The Apache NetBeans 14 binary releases require JDK 11+, and officially support running on JDK 11 and JDK 17.
+
+TIP: The current JDKs have an issue on macOS Big Sur, that causes freezes on dialogs. That could be fixed by applying the workaround described at link:https://issues.apache.org/jira/browse/NETBEANS-5037?focusedCommentId=17234878&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-17234878[NETBEANS-5037] .
+
+== Building from Source
+
+To build Apache NetBeans 14 from source you need:
+
+. A distribution of OpenJDK 8 or 11.
+. Apache Ant 1.10 or greater (https://ant.apache.org).
+
+Once you have everything installed then:
+
+1. Unzip link:https://www.apache.org/dyn/closer.cgi/netbeans/netbeans/14/netbeans-14-source.zip[netbeans-14-source.zip]
+in a directory of your liking.
+
+[start=2]
+. `cd` to that directory, and then run `ant` to build the Apache NetBeans IDE.
+Once built you can run the IDE by typing `./nbbuild/netbeans/bin/netbeans`
+
+== Community Approval
+
+As in any other Apache Project, the Apache NetBeans Community approved this release
+through the following voting processes in our link:https://netbeans.apache.org/community/mailing-lists.html[mailing lists]:
+
+- link:https://lists.apache.org/thread/4d22y4jqt5yg68vwyfbwpxp5gfqwfmfw[PMC vote]
+- link:https://lists.apache.org/thread/yz95cwvdpzp8lo7x2k9tcrodmlw5xqjb[PMC vote result]
+
+== Earlier Releases
+
+Please visit the link:https://netbeans.apache.org/download/index.html[Apache NetBeans Download page] for further details.
+
diff --git a/netbeans.apache.org/src/content/download/nb14/nb14.asciidoc b/netbeans.apache.org/src/content/download/nb14/nb14.asciidoc
new file mode 100644
index 0000000..d4705e4
--- /dev/null
+++ b/netbeans.apache.org/src/content/download/nb14/nb14.asciidoc
@@ -0,0 +1,115 @@
+////
+     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.
+////
+////
+
+NOTE: 
+See https://www.apache.org/dev/release-download-pages.html 
+for important requirements for download pages for Apache projects.
+
+////
+= Downloading Apache NetBeans 14 
+:jbake-type: page_noaside
+:jbake-tags: download
+:jbake-status: published
+:keywords: Apache NetBeans 14 Download
+:description: Apache NetBeans 14 Download
+:toc: left
+:toc-title:
+:icons: font
+
+Apache NetBeans 14 was released on June 9, 2022. link:https://github.com/apache/netbeans/releases/tag/14[Go here on GitHub] for a list of fixed issues for Apache NetBeans 14.
+
+////
+NOTE: It's mandatory to link to the source. It's optional to link to the binaries.
+NOTE: It's mandatory to link against https://www.apache.org for the sums & keys. https is recommended.
+NOTE: It's NOT recommended to link to github.
+////
+Apache NetBeans 14 is available for download from your closest Apache mirror.
+
+- Binaries: 
+link:https://www.apache.org/dyn/closer.cgi/netbeans/netbeans/14/netbeans-14-bin.zip[netbeans-14-bin.zip] (link:https://downloads.apache.org/netbeans/netbeans/14/netbeans-14-bin.zip.sha512[SHA-512],
+link:https://downloads.apache.org/netbeans/netbeans/14/netbeans-14-bin.zip.asc[PGP ASC])
+
+- Installers:
+ 
+* link:https://www.apache.org/dyn/closer.cgi/netbeans/netbeans-installers/14/Apache-NetBeans-14-bin-windows-x64.exe[Apache-NetBeans-14-bin-windows-x64.exe] (link:https://downloads.apache.org/netbeans/netbeans-installers/14/Apache-NetBeans-14-bin-windows-x64.exe.sha512[SHA-512],
+link:https://downloads.apache.org/netbeans/netbeans-installers/14/Apache-NetBeans-14-bin-windows-x64.exe.asc[PGP ASC])
+* link:https://www.apache.org/dyn/closer.cgi/netbeans/netbeans-installers/14/Apache-NetBeans-14-bin-linux-x64.sh[Apache-NetBeans-14-bin-linux-x64.sh] (link:https://downloads.apache.org/netbeans/netbeans-installers/14/Apache-NetBeans-14-bin-linux-x64.sh.sha512[SHA-512],
+link:https://downloads.apache.org/netbeans/netbeans-installers/14/Apache-NetBeans-14-bin-linux-x64.sh.asc[PGP ASC])
+* link:https://archive.apache.org/dist/netbeans/netbeans-installers/14/Apache-NetBeans-14-bin-macosx.dmg[Apache-NetBeans-14-bin-macosx.dmg] (link:https://archive.apache.org/dist/netbeans/netbeans-installers/14/Apache-NetBeans-14-bin-macosx.dmg.sha512[SHA-512],
+link:https://archive.apache.org/dist/netbeans/netbeans-installers/14/Apache-NetBeans-14-bin-macosx.dmg.asc[PGP ASC])
+
+- Source: link:https://www.apache.org/dyn/closer.cgi/netbeans/netbeans/14/netbeans-14-source.zip[netbeans-14-source.zip] (link:https://downloads.apache.org/netbeans/netbeans/14/netbeans-14-source.zip.sha512[SHA-512],
+link:https://downloads.apache.org/netbeans/netbeans/14/netbeans-14-source.zip.asc[PGP ASC])
+
+////
+NOTE: Using https below is highly recommended.
+////
+Officially, it is important that you link:https://www.apache.org/dyn/closer.cgi#verify[verify the integrity]
+of the downloaded files using the PGP signatures (.asc file) or a hash (.sha512 files).
+The PGP keys used to sign this release are available link:https://downloads.apache.org/netbeans/KEYS[here].
+
+Apache NetBeans can also be installed as a self-contained link:https://snapcraft.io/netbeans[snap package] on Linux.
+
+== Community Installers
+
+IMPORTANT: Individual NetBeans committers may provide additional binary packages as a convenience.
+While built using the Apache NetBeans release, they are not releases of the Apache Software
+Foundation. They may include other contents (eg. JDK) under additional license terms.
+
+- link:https://www.codelerity.com/netbeans/[Codelerity / Gj IT packages] - Windows, macOS and
+Linux (.deb / .AppImage) built with
+link:https://github.com/apache/netbeans-tools/tree/master/nbpackage[NBPackage]. Most
+include a local JDK runtime for the IDE to run on, for a self-contained out-of-the-box
+experience (other JDK's may be used for projects).
+
+== Deployment Platforms
+
+The Apache NetBeans 14 binary releases require JDK 11+, and officially support running on JDK 11 and JDK 17.
+
+TIP: The current JDKs have an issue on macOS Big Sur, that causes freezes on dialogs. That could be fixed by applying the workaround described at link:https://issues.apache.org/jira/browse/NETBEANS-5037?focusedCommentId=17234878&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-17234878[NETBEANS-5037] .
+
+== Building from Source
+
+To build Apache NetBeans 14 from source you need:
+
+. A distribution of OpenJDK 8 or 11.
+. Apache Ant 1.10 or greater (https://ant.apache.org).
+
+Once you have everything installed then:
+
+1. Unzip link:https://www.apache.org/dyn/closer.cgi/netbeans/netbeans/14/netbeans-14-source.zip[netbeans-14-source.zip]
+in a directory of your liking.
+
+[start=2]
+. `cd` to that directory, and then run `ant` to build the Apache NetBeans IDE.
+Once built you can run the IDE by typing `./nbbuild/netbeans/bin/netbeans`
+
+== Community Approval
+
+As in any other Apache Project, the Apache NetBeans Community approved this release
+through the following voting processes in our link:https://netbeans.apache.org/community/mailing-lists.html[mailing lists]:
+
+- link:https://lists.apache.org/thread/4d22y4jqt5yg68vwyfbwpxp5gfqwfmfw[PMC vote]
+- link:https://lists.apache.org/thread/yz95cwvdpzp8lo7x2k9tcrodmlw5xqjb[PMC vote result]
+
+== Earlier Releases
+
+Please visit the link:https://netbeans.apache.org/download/index.html[Apache NetBeans Download page] for further details.
+
diff --git a/netbeans.apache.org/src/content/participate/index.asciidoc b/netbeans.apache.org/src/content/participate/index.asciidoc
index 86ca6eb..7230190 100644
--- a/netbeans.apache.org/src/content/participate/index.asciidoc
+++ b/netbeans.apache.org/src/content/participate/index.asciidoc
@@ -44,7 +44,7 @@
 == Validating issues
 
 You want to help but don't feel like writing code?
-Verify link:https://issues.apache.org/jira/projects/NETBEANS/issues[reported issues].
+Verify link:https://github.com/apache/netbeans/issues[reported issues].
 
 - Check that issues contain link:report-issue.html[information] necessary to reproduce the issue.
 - Check component assignment.
diff --git a/netbeans.apache.org/src/content/templates/footer.gsp b/netbeans.apache.org/src/content/templates/footer.gsp
index cad91f2..ed949db 100644
--- a/netbeans.apache.org/src/content/templates/footer.gsp
+++ b/netbeans.apache.org/src/content/templates/footer.gsp
@@ -80,7 +80,7 @@
                 </ul>
             </div>
             <div class="large-auto cell">
-                <h1><a href="/download/nb110/nb110.html">Download</a></h1>
+                <h1><a href="/download/index.html">Download</a></h1>
                 <ul>
                     <li><a href="/download/index.html">Releases</a></li>                    
                     <li><a href="https://plugins.netbeans.apache.org/">Plugins</a></li>
@@ -93,7 +93,7 @@
 </footer>
 <div class='footer-disclaimer'>
     <div class="footer-disclaimer-content">
-        <p>Copyright &copy; 2017-2020 <a href="https://www.apache.org">The Apache Software Foundation</a>.</p>
+        <p>Copyright &copy; 2017-2022 <a href="https://www.apache.org">The Apache Software Foundation</a>.</p>
         <p>Licensed under the Apache <a href="https://www.apache.org/licenses/">license</a>, version 2.0</p>
         <div style='max-width: 40em; margin: 0 auto'>
             <p>Apache, Apache NetBeans, NetBeans, the Apache feather logo and the Apache NetBeans logo are trademarks of <a href="https://www.apache.org">The Apache Software Foundation</a>.</p>
diff --git a/netbeans.apache.org/src/content/templates/news.gsp b/netbeans.apache.org/src/content/templates/news.gsp
index 36086b4..2467abc 100644
--- a/netbeans.apache.org/src/content/templates/news.gsp
+++ b/netbeans.apache.org/src/content/templates/news.gsp
@@ -23,8 +23,8 @@
     <div class='grid-container'>
         <div class='cell'>
             <div class="annotation">Latest release</div>
-            <h1>Apache NetBeans 13</h1>
-            <p><a class="button success" href="/download/nb13/nb13.html">Download</a></p>
+            <h1>Apache NetBeans 14</h1>
+            <p><a class="button success" href="/download/nb14/nb14.html">Download</a></p>
         </div>
     </div>
 </section>