This is an automated email from the ASF dual-hosted git repository. sjaranowski pushed a commit to branch MENFORCER-464 in repository https://gitbox.apache.org/repos/asf/maven-enforcer.git
commit 2487cadf1d8761d012292c3a0c23f3d754d6a2dd Author: Slawomir Jaranowski <s.jaranow...@gmail.com> AuthorDate: Sat Jan 28 20:20:38 2023 +0100 [MENFORCER-464] Refresh site descriptors - update shames to 1.8.0 - use https for licence - add links to download and license in all modules --- enforcer-api/src/site/site.xml | 7 ++++++- enforcer-rules/src/site/site.xml | 7 ++++++- maven-enforcer-extension/src/site/site.xml | 7 +++---- .../src/site/apt/examples/check-specific-rule-via-cli.apt.vm | 2 +- maven-enforcer-plugin/src/site/site.xml | 7 +++---- src/site/site.xml | 6 ++++-- 6 files changed, 23 insertions(+), 13 deletions(-) diff --git a/enforcer-api/src/site/site.xml b/enforcer-api/src/site/site.xml index a32d776..c30ab2c 100644 --- a/enforcer-api/src/site/site.xml +++ b/enforcer-api/src/site/site.xml @@ -17,11 +17,16 @@ KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> -<project> +<project xmlns="http://maven.apache.org/DECORATION/1.8.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/DECORATION/1.8.0 https://maven.apache.org/xsd/decoration-1.8.0.xsd"> <body> <menu name="Overview"> <item name="Introduction" href="index.html"/> <item name="Writing a custom rule" href="writing-a-custom-rule.html"/> + <!-- According to https://issues.apache.org/jira/browse/MNGSITE-152 --> + <item name="License" href="https://www.apache.org/licenses/"/> + <item name="Download" href="../download.html"/> </menu> <menu name="Rule Execution Engines"> <item name="Maven Enforcer Plugin" href="../maven-enforcer-plugin"/> diff --git a/enforcer-rules/src/site/site.xml b/enforcer-rules/src/site/site.xml index fef88e5..905158e 100644 --- a/enforcer-rules/src/site/site.xml +++ b/enforcer-rules/src/site/site.xml @@ -17,12 +17,17 @@ KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> -<project> +<project xmlns="http://maven.apache.org/DECORATION/1.8.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/DECORATION/1.8.0 https://maven.apache.org/xsd/decoration-1.8.0.xsd"> <body> <menu name="Overview"> <item name="Introduction" href="index.html"/> <item name="Rule API" href="../enforcer-api/"/> <item name="Maven Enforcer Plugin" href="../maven-enforcer-plugin/"/> + <!-- According to https://issues.apache.org/jira/browse/MNGSITE-152 --> + <item name="License" href="https://www.apache.org/licenses/"/> + <item name="Download" href="../download.html"/> </menu> <menu name="Custom Rules"> <item name="Writing a custom rule" href="../enforcer-api/writing-a-custom-rule.html"/> diff --git a/maven-enforcer-extension/src/site/site.xml b/maven-enforcer-extension/src/site/site.xml index 3929b21..096c1aa 100644 --- a/maven-enforcer-extension/src/site/site.xml +++ b/maven-enforcer-extension/src/site/site.xml @@ -18,16 +18,15 @@ specific language governing permissions and limitations under the License. --> -<project xmlns="http://maven.apache.org/DECORATION/1.0.0" +<project xmlns="http://maven.apache.org/DECORATION/1.8.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/DECORATION/1.0.0 http://maven.apache.org/xsd/decoration-1.0.0.xsd" - name="Maven Enforcer plugin"> + xsi:schemaLocation="http://maven.apache.org/DECORATION/1.8.0 https://maven.apache.org/xsd/decoration-1.8.0.xsd"> <body> <menu name="Overview"> <item name="Introduction" href="index.html"/> <item name="Usage" href="usage.html"/> <!-- According to https://issues.apache.org/jira/browse/MNGSITE-152 --> - <item name="License" href="http://www.apache.org/licenses/"/> + <item name="License" href="https://www.apache.org/licenses/"/> <item name="Download" href="../download.html"/> </menu> </body> diff --git a/maven-enforcer-plugin/src/site/apt/examples/check-specific-rule-via-cli.apt.vm b/maven-enforcer-plugin/src/site/apt/examples/check-specific-rule-via-cli.apt.vm index 4c7389c..656b697 100644 --- a/maven-enforcer-plugin/src/site/apt/examples/check-specific-rule-via-cli.apt.vm +++ b/maven-enforcer-plugin/src/site/apt/examples/check-specific-rule-via-cli.apt.vm @@ -28,7 +28,7 @@ Check specific rule via CLI The <<<enforce>>> goal can be used via cli to check specific enforcer rule that isn't defined in the POM. +---+ -mvn enforcer:enforce -Drules=alwaysPass,alwaysFail +mvn enforcer:enforce -Denforcer.rules=alwaysPass,alwaysFail +---+ A full list of built-in rules can be found {{{../../../enforcer/enforcer-rules/index.html}here}}. \ No newline at end of file diff --git a/maven-enforcer-plugin/src/site/site.xml b/maven-enforcer-plugin/src/site/site.xml index 06e160e..d5fa30c 100644 --- a/maven-enforcer-plugin/src/site/site.xml +++ b/maven-enforcer-plugin/src/site/site.xml @@ -18,10 +18,9 @@ specific language governing permissions and limitations under the License. --> -<project xmlns="http://maven.apache.org/DECORATION/1.0.0" +<project xmlns="http://maven.apache.org/DECORATION/1.8.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/DECORATION/1.0.0 http://maven.apache.org/xsd/decoration-1.0.0.xsd" - name="Maven Enforcer plugin"> + xsi:schemaLocation="http://maven.apache.org/DECORATION/1.8.0 https://maven.apache.org/xsd/decoration-1.8.0.xsd"> <body> <menu name="Overview"> <item name="Introduction" href="index.html"/> @@ -31,7 +30,7 @@ under the License. <item name="Built-In Rules" href="../../enforcer/enforcer-rules/index.html"/> <item name="Thirdparty Rules" href="thirdparty-rules.html"/> <!-- According to https://issues.apache.org/jira/browse/MNGSITE-152 --> - <item name="License" href="http://www.apache.org/licenses/"/> + <item name="License" href="https://www.apache.org/licenses/"/> <item name="Download" href="../download.html"/> </menu> <menu name="Custom Rules"> diff --git a/src/site/site.xml b/src/site/site.xml index 414313a..cce6952 100644 --- a/src/site/site.xml +++ b/src/site/site.xml @@ -17,7 +17,9 @@ KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> -<project> +<project xmlns="http://maven.apache.org/DECORATION/1.8.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/DECORATION/1.8.0 https://maven.apache.org/xsd/decoration-1.8.0.xsd"> <body> <breadcrumbs> @@ -27,7 +29,7 @@ under the License. <menu name="Overview"> <item name="Introduction" href="index.html"/> <!-- According to https://issues.apache.org/jira/browse/MNGSITE-152 --> - <item name="License" href="http://www.apache.org/licenses/"/> + <item name="License" href="https://www.apache.org/licenses/"/> <item name="Download" href="download.html"/> </menu>