maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (MENFORCER-142) Specify enforcer rule in command line without updateing any pom
Date Fri, 09 Mar 2018 12:49:00 GMT


ASF GitHub Bot commented on MENFORCER-142:

Chuckame commented on issue #31: MENFORCER-142 Initial poc implementation of adding rules
from cmdline (WIP)

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

> Specify enforcer rule in command line without updateing any pom
> ---------------------------------------------------------------
>                 Key: MENFORCER-142
>                 URL:
>             Project: Maven Enforcer Plugin
>          Issue Type: Improvement
>          Components: Plugin
>            Reporter: Arnaud Bourrée
>            Priority: Major
>             Fix For: more-investigation
> Hello,
> How could we specify enforcer:enforce rules from command line?
> I want to run command line like following without updating any pom.xml:
> mvn enforcer:enforce -Drules=com.acme.UseAcmeParentPom
> The goal of this enforcer:enforce rule is to check that Acme's
> developers write pom.xml which inherit from acme's parent pom.xml
> And because they may not inherit from acme's parent pom.xml, I cannot
> specify enforcer rule in.
> Regards,
> Arnaud.

This message was sent by Atlassian JIRA

View raw message