You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sj...@apache.org on 2024/04/14 16:48:19 UTC

(maven-site) branch exclude-plugin-from-validaition created (now 186268b3)

This is an automated email from the ASF dual-hosted git repository.

sjaranowski pushed a change to branch exclude-plugin-from-validaition
in repository https://gitbox.apache.org/repos/asf/maven-site.git


      at 186268b3 Add documentation for maven.plugin.validation.excludes

This branch includes the following new commits:

     new 186268b3 Add documentation for maven.plugin.validation.excludes

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(maven-site) 01/01: Add documentation for maven.plugin.validation.excludes

Posted by sj...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

sjaranowski pushed a commit to branch exclude-plugin-from-validaition
in repository https://gitbox.apache.org/repos/asf/maven-site.git

commit 186268b35cd5ac927ac7714adeebe0f14264e502
Author: Slawomir Jaranowski <s....@gmail.com>
AuthorDate: Sun Apr 14 18:48:04 2024 +0200

    Add documentation for maven.plugin.validation.excludes
    
    - https://issues.apache.org/jira/browse/MNG-7939
---
 content/markdown/guides/plugins/validation/index.md | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/content/markdown/guides/plugins/validation/index.md b/content/markdown/guides/plugins/validation/index.md
index 757d5d64..573b7759 100644
--- a/content/markdown/guides/plugins/validation/index.md
+++ b/content/markdown/guides/plugins/validation/index.md
@@ -54,6 +54,18 @@ External Plugins issues require to be fixed by plugin authors first.
 In such cases users can try to update plugin to newer version.
 If the newest version of plugin still has such an issue, users should report problem to plugin authors.
 
+## Exclude plugins from validation
+
+In some case we know about issues in some plugin and we want exclude it from validation.
+We can do it by property `maven.plugin.validation.excludes`, eg:
+
+```
+mvn -Dmaven.plugin.validation.excludes=plugin1-goupId:plugin1-artifactId:plugin1-version,plugin2-goupId:plugin2-artifactId:plugin2-version
+```
+
+Property `maven.plugin.validation` has tha same rule as `maven.plugin.validation` - can only be used on command line (not as property in POM)
+
+
 ## Manage Plugin Validation verbosity
 
 In order to manage Plugin Validation verbosity, a Maven user property `-Dmaven.plugin.validation=...` can be used on command line (or injected: see below).