File tree 6 files changed +23
-13
lines changed
maven-enforcer-extension/src/site
maven-enforcer-plugin/src/site
6 files changed +23
-13
lines changed Original file line number Diff line number Diff line change @@ -17,11 +17,16 @@ KIND, either express or implied. See the License for the
17
17
specific language governing permissions and limitations
18
18
under the License.
19
19
-->
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" >
21
23
<body >
22
24
<menu name =" Overview" >
23
25
<item name =" Introduction" href =" index.html" />
24
26
<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" />
25
30
</menu >
26
31
<menu name =" Rule Execution Engines" >
27
32
<item name =" Maven Enforcer Plugin" href =" ../maven-enforcer-plugin" />
Original file line number Diff line number Diff line change @@ -17,12 +17,17 @@ KIND, either express or implied. See the License for the
17
17
specific language governing permissions and limitations
18
18
under the License.
19
19
-->
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" >
21
23
<body >
22
24
<menu name =" Overview" >
23
25
<item name =" Introduction" href =" index.html" />
24
26
<item name =" Rule API" href =" ../enforcer-api/" />
25
27
<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" />
26
31
</menu >
27
32
<menu name =" Custom Rules" >
28
33
<item name =" Writing a custom rule" href =" ../enforcer-api/writing-a-custom-rule.html" />
Original file line number Diff line number Diff line change @@ -18,16 +18,15 @@ specific language governing permissions and limitations
18
18
under the License.
19
19
-->
20
20
21
- <project xmlns =" http://maven.apache.org/DECORATION/1.0 .0"
21
+ <project xmlns =" http://maven.apache.org/DECORATION/1.8 .0"
22
22
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" >
25
24
<body >
26
25
<menu name =" Overview" >
27
26
<item name =" Introduction" href =" index.html" />
28
27
<item name =" Usage" href =" usage.html" />
29
28
<!-- 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/" />
31
30
<item name =" Download" href =" ../download.html" />
32
31
</menu >
33
32
</body >
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ Check specific rule via CLI
28
28
The <<<enforce>>> goal can be used via cli to check specific enforcer rule that isn't defined in the POM.
29
29
30
30
+---+
31
- mvn enforcer:enforce -Drules =alwaysPass,alwaysFail
31
+ mvn enforcer:enforce -Denforcer.rules =alwaysPass,alwaysFail
32
32
+---+
33
33
34
34
A full list of built-in rules can be found {{{../../../enforcer/enforcer-rules/index.html}here}}.
Original file line number Diff line number Diff line change @@ -18,10 +18,9 @@ specific language governing permissions and limitations
18
18
under the License.
19
19
-->
20
20
21
- <project xmlns =" http://maven.apache.org/DECORATION/1.0 .0"
21
+ <project xmlns =" http://maven.apache.org/DECORATION/1.8 .0"
22
22
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" >
25
24
<body >
26
25
<menu name =" Overview" >
27
26
<item name =" Introduction" href =" index.html" />
@@ -31,7 +30,7 @@ under the License.
31
30
<item name =" Built-In Rules" href =" ../../enforcer/enforcer-rules/index.html" />
32
31
<item name =" Thirdparty Rules" href =" thirdparty-rules.html" />
33
32
<!-- 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/" />
35
34
<item name =" Download" href =" ../download.html" />
36
35
</menu >
37
36
<menu name =" Custom Rules" >
Original file line number Diff line number Diff line change @@ -17,7 +17,9 @@ KIND, either express or implied. See the License for the
17
17
specific language governing permissions and limitations
18
18
under the License.
19
19
-->
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" >
21
23
22
24
<body >
23
25
<breadcrumbs >
@@ -27,7 +29,7 @@ under the License.
27
29
<menu name =" Overview" >
28
30
<item name =" Introduction" href =" index.html" />
29
31
<!-- 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/" />
31
33
<item name =" Download" href =" download.html" />
32
34
</menu >
33
35
You can’t perform that action at this time.
0 commit comments