Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MENFORCER-464] Refresh site descriptors #243

Merged
merged 1 commit into from
Jan 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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