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

Karl-Heinz Marbaise updated MENFORCER-219:
------------------------------------------

    Description: 
Just adding a simple mapping just to ignore the plugin during incremental calls 
but running once during the import of a project.
Currently m2e itself has a hard coded ignore rule.
{code:xml}
<?xml version="1.0" encoding="UTF-8"?>
<lifecycleMappingMetadata>
  <pluginExecutions>
    <pluginExecution>
      <pluginExecutionFilter>
        <goals>
          <goal>enforce</goal>
          <goal>recommend</goal>
        </goals>
      </pluginExecutionFilter>
      <action>
        <execute>
          <runOnIncremental>false</runOnIncremental>
          <runOnConfiguration>true</runOnConfiguration>
        </execute>
      </action>
    </pluginExecution>
  </pluginExecutions>
</lifecycleMappingMetadata>
{code}

  was:Just adding a simple mapping just to ignore the plugin seemed to be a 
good choice. Currently m2e itself has a hard coded ignore rule.


> Add m2e mapping
> ---------------
>
>                 Key: MENFORCER-219
>                 URL: https://jira.codehaus.org/browse/MENFORCER-219
>             Project: Maven Enforcer Plugin
>          Issue Type: Improvement
>          Components: Plugin
>    Affects Versions: 1.4
>            Reporter: Karl-Heinz Marbaise
>            Priority: Minor
>             Fix For: 1.4
>
>
> Just adding a simple mapping just to ignore the plugin during incremental 
> calls but running once during the import of a project.
> Currently m2e itself has a hard coded ignore rule.
> {code:xml}
> <?xml version="1.0" encoding="UTF-8"?>
> <lifecycleMappingMetadata>
>   <pluginExecutions>
>     <pluginExecution>
>       <pluginExecutionFilter>
>         <goals>
>           <goal>enforce</goal>
>           <goal>recommend</goal>
>         </goals>
>       </pluginExecutionFilter>
>       <action>
>         <execute>
>           <runOnIncremental>false</runOnIncremental>
>           <runOnConfiguration>true</runOnConfiguration>
>         </execute>
>       </action>
>     </pluginExecution>
>   </pluginExecutions>
> </lifecycleMappingMetadata>
> {code}



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Reply via email to