Skip to content

Commit

Permalink
[MENFORCER-464] Refresh site descriptors
Browse files Browse the repository at this point in the history
- update shames to 1.8.0
- use https for licence
- add links to download and license in all modules
  • Loading branch information
slawekjaranowski committed Jan 28, 2023
1 parent 73fef5a commit 65d68a3
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 13 deletions.
7 changes: 6 additions & 1 deletion enforcer-api/src/site/site.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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"/>
Expand Down
7 changes: 6 additions & 1 deletion enforcer-rules/src/site/site.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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"/>
Expand Down
7 changes: 3 additions & 4 deletions maven-enforcer-extension/src/site/site.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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}}.
7 changes: 3 additions & 4 deletions maven-enforcer-plugin/src/site/site.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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"/>
Expand All @@ -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">
Expand Down
6 changes: 4 additions & 2 deletions src/site/site.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -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>

Expand Down

0 comments on commit 65d68a3

Please sign in to comment.