Skip to content

Commit 65d68a3

Browse files
[MENFORCER-464] Refresh site descriptors
- update shames to 1.8.0 - use https for licence - add links to download and license in all modules
1 parent 73fef5a commit 65d68a3

File tree

6 files changed

+23
-13
lines changed

6 files changed

+23
-13
lines changed

enforcer-api/src/site/site.xml

+6-1
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,16 @@ KIND, either express or implied. See the License for the
1717
specific language governing permissions and limitations
1818
under the License.
1919
-->
20-
<project>
20+
<project xmlns="http://maven.apache.org/DECORATION/1.8.0"
21+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
22+
xsi:schemaLocation="http://maven.apache.org/DECORATION/1.8.0 https://maven.apache.org/xsd/decoration-1.8.0.xsd">
2123
<body>
2224
<menu name="Overview">
2325
<item name="Introduction" href="index.html"/>
2426
<item name="Writing a custom rule" href="writing-a-custom-rule.html"/>
27+
<!-- According to https://issues.apache.org/jira/browse/MNGSITE-152 -->
28+
<item name="License" href="https://www.apache.org/licenses/"/>
29+
<item name="Download" href="../download.html"/>
2530
</menu>
2631
<menu name="Rule Execution Engines">
2732
<item name="Maven Enforcer Plugin" href="../maven-enforcer-plugin"/>

enforcer-rules/src/site/site.xml

+6-1
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,17 @@ KIND, either express or implied. See the License for the
1717
specific language governing permissions and limitations
1818
under the License.
1919
-->
20-
<project>
20+
<project xmlns="http://maven.apache.org/DECORATION/1.8.0"
21+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
22+
xsi:schemaLocation="http://maven.apache.org/DECORATION/1.8.0 https://maven.apache.org/xsd/decoration-1.8.0.xsd">
2123
<body>
2224
<menu name="Overview">
2325
<item name="Introduction" href="index.html"/>
2426
<item name="Rule API" href="../enforcer-api/"/>
2527
<item name="Maven Enforcer Plugin" href="../maven-enforcer-plugin/"/>
28+
<!-- According to https://issues.apache.org/jira/browse/MNGSITE-152 -->
29+
<item name="License" href="https://www.apache.org/licenses/"/>
30+
<item name="Download" href="../download.html"/>
2631
</menu>
2732
<menu name="Custom Rules">
2833
<item name="Writing a custom rule" href="../enforcer-api/writing-a-custom-rule.html"/>

maven-enforcer-extension/src/site/site.xml

+3-4
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,15 @@ specific language governing permissions and limitations
1818
under the License.
1919
-->
2020

21-
<project xmlns="http://maven.apache.org/DECORATION/1.0.0"
21+
<project xmlns="http://maven.apache.org/DECORATION/1.8.0"
2222
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
23-
xsi:schemaLocation="http://maven.apache.org/DECORATION/1.0.0 http://maven.apache.org/xsd/decoration-1.0.0.xsd"
24-
name="Maven Enforcer plugin">
23+
xsi:schemaLocation="http://maven.apache.org/DECORATION/1.8.0 https://maven.apache.org/xsd/decoration-1.8.0.xsd">
2524
<body>
2625
<menu name="Overview">
2726
<item name="Introduction" href="index.html"/>
2827
<item name="Usage" href="usage.html"/>
2928
<!-- According to https://issues.apache.org/jira/browse/MNGSITE-152 -->
30-
<item name="License" href="http://www.apache.org/licenses/"/>
29+
<item name="License" href="https://www.apache.org/licenses/"/>
3130
<item name="Download" href="../download.html"/>
3231
</menu>
3332
</body>

maven-enforcer-plugin/src/site/apt/examples/check-specific-rule-via-cli.apt.vm

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Check specific rule via CLI
2828
The <<<enforce>>> goal can be used via cli to check specific enforcer rule that isn't defined in the POM.
2929

3030
+---+
31-
mvn enforcer:enforce -Drules=alwaysPass,alwaysFail
31+
mvn enforcer:enforce -Denforcer.rules=alwaysPass,alwaysFail
3232
+---+
3333

3434
A full list of built-in rules can be found {{{../../../enforcer/enforcer-rules/index.html}here}}.

maven-enforcer-plugin/src/site/site.xml

+3-4
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,9 @@ specific language governing permissions and limitations
1818
under the License.
1919
-->
2020

21-
<project xmlns="http://maven.apache.org/DECORATION/1.0.0"
21+
<project xmlns="http://maven.apache.org/DECORATION/1.8.0"
2222
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
23-
xsi:schemaLocation="http://maven.apache.org/DECORATION/1.0.0 http://maven.apache.org/xsd/decoration-1.0.0.xsd"
24-
name="Maven Enforcer plugin">
23+
xsi:schemaLocation="http://maven.apache.org/DECORATION/1.8.0 https://maven.apache.org/xsd/decoration-1.8.0.xsd">
2524
<body>
2625
<menu name="Overview">
2726
<item name="Introduction" href="index.html"/>
@@ -31,7 +30,7 @@ under the License.
3130
<item name="Built-In Rules" href="../../enforcer/enforcer-rules/index.html"/>
3231
<item name="Thirdparty Rules" href="thirdparty-rules.html"/>
3332
<!-- According to https://issues.apache.org/jira/browse/MNGSITE-152 -->
34-
<item name="License" href="http://www.apache.org/licenses/"/>
33+
<item name="License" href="https://www.apache.org/licenses/"/>
3534
<item name="Download" href="../download.html"/>
3635
</menu>
3736
<menu name="Custom Rules">

src/site/site.xml

+4-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ KIND, either express or implied. See the License for the
1717
specific language governing permissions and limitations
1818
under the License.
1919
-->
20-
<project>
20+
<project xmlns="http://maven.apache.org/DECORATION/1.8.0"
21+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
22+
xsi:schemaLocation="http://maven.apache.org/DECORATION/1.8.0 https://maven.apache.org/xsd/decoration-1.8.0.xsd">
2123

2224
<body>
2325
<breadcrumbs>
@@ -27,7 +29,7 @@ under the License.
2729
<menu name="Overview">
2830
<item name="Introduction" href="index.html"/>
2931
<!-- According to https://issues.apache.org/jira/browse/MNGSITE-152 -->
30-
<item name="License" href="http://www.apache.org/licenses/"/>
32+
<item name="License" href="https://www.apache.org/licenses/"/>
3133
<item name="Download" href="download.html"/>
3234
</menu>
3335

0 commit comments

Comments
 (0)