[ 
https://issues.apache.org/jira/browse/MNG-6217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15964947#comment-15964947
 ] 

Arnaud HERITIER commented on MNG-6217:
--------------------------------------

I think it works (I don't say it is a good thing / idea)

{code:xml}
<pluginManagement>
  <plugins>
    <plugin>
    ...
      <executions>
        <execution>
          <id>exec1</id>
          <configuration>
          ...
          </configuration>
        </execution>
        <execution>
          <id>exec2</id>
          <configuration>
          ...
          </configuration>
        </execution>
      ....
      </executions>
    </plugin>
  </plugins>
</pluginManagement>
<plugins>
  <plugin>
  ...
    <executions>
      <execution>
        <id>exec1</id>
        ...
      </execution>
      <execution>
        <id>exec2</id>
        ...
      </execution>
    ....
    </executions>
  </plugin>
</plugins>
{code}

> Creating a WARNING by using executions in pluginManagement
> ----------------------------------------------------------
>
>                 Key: MNG-6217
>                 URL: https://issues.apache.org/jira/browse/MNG-6217
>             Project: Maven
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 3.5.0
>            Reporter: Karl Heinz Marbaise
>            Priority: Minor
>             Fix For: 3.5.1
>
>
> I can often observe that defining something like this in pluginManagement:
> {code:xml}
> <pluginManagement>
> <plugins>
>   <plugin>...
>     <executions>
>     ....
>     </executions>
>   </plugin>
> </plugins>
> </pluginManagement>
> {code}
> which is superfluous and shut not being done.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to