Lukasz Lenart created WW-5870:
---------------------------------
Summary: Release build: fetch the bundled documentation and the
staged assemblies with TLS certificate validation enabled
Key: WW-5870
URL: https://issues.apache.org/jira/browse/WW-5870
Project: Struts 2
Issue Type: Improvement
Components: Build Management
Reporter: Lukasz Lenart
Two steps of the release process call {{wget}} with {{--no-check-certificate}}:
* the {{docs}} execution of the {{assembly}} module ({{assembly/pom.xml}}),
which mirrors the documentation from https://struts.apache.org/ into the
{{all}} and {{docs}} assemblies;
* {{stage-assemblies.sh}} in the {{releasing-struts}} skill, which fetches the
assemblies from the Nexus staging repository before they are committed to
dist/dev.
The option dates from 2010, when the documentation was exported from the wiki.
Both hosts present certificates that validate today, so it is no longer needed.
Proposed change:
* remove {{--no-check-certificate}} from both calls;
* apply the {{assembly/pom.xml}} change to the 6.x line too.
The {{assembly}} module is built only for a release (CI runs with
{{-DskipAssembly}}), so the change has to be checked with a local build without
that flag.
Reported by Arun Manni.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)