You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2024/04/04 18:47:00 UTC

[jira] [Resolved] (MENFORCER-500) New rule: Maven coordinates must match pattern

     [ https://issues.apache.org/jira/browse/MENFORCER-500?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Konrad Windszus resolved MENFORCER-500.
---------------------------------------
    Fix Version/s: next-release
       Resolution: Fixed

Fixed in https://github.com/apache/maven-enforcer/commit/80ee78e5f7473dafc8ca8e68d8f2af7895290303.

> New rule: Maven coordinates must match pattern
> ----------------------------------------------
>
>                 Key: MENFORCER-500
>                 URL: https://issues.apache.org/jira/browse/MENFORCER-500
>             Project: Maven Enforcer Plugin
>          Issue Type: Improvement
>            Reporter: Konrad Windszus
>            Assignee: Konrad Windszus
>            Priority: Major
>             Fix For: next-release
>
>
> Sometimes it is crucial that the {{groupId}} and/or the {{artifactId}} match a certain pattern (e.g. because it is reserved namespace prefix for deploying to Maven Central). It would be beneficial to enforce that with a standard rule.
> The pattern should be a configurable regex pattern (independently for {{artifactId}} and {{groupId}})



--
This message was sent by Atlassian Jira
(v8.20.10#820010)