You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org> on 2008/11/20 21:52:41 UTC

[jira] Created: (MNG-3864) Collection elements inside a per-execution plugin config are collapsed in combination with pluginManagement

Collection elements inside a per-execution plugin config are collapsed in combination with pluginManagement
-----------------------------------------------------------------------------------------------------------

                 Key: MNG-3864
                 URL: http://jira.codehaus.org/browse/MNG-3864
             Project: Maven 2
          Issue Type: Bug
          Components: Plugins and Lifecycle, POM
    Affects Versions: 3.0-alpha-1
            Reporter: Benjamin Bentmann


The build for plexus-classworlds is currently failing because the POM snippet:
{code:xml}
<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-dependency-plugin</artifactId>
  <version>2.0</version>
  <executions>
    <execution>
      <phase>generate-test-resources</phase>
      <goals>
        <goal>copy</goal>
      </goals>
      <configuration>
          <artifactItems>
            <artifactItem>
              <groupId>ant</groupId>
              <artifactId>ant</artifactId>
              <version>1.6.5</version>
            </artifactItem>
            <artifactItem>
              <groupId>commons-logging</groupId>
              <artifactId>commons-logging</artifactId>
              <version>1.0.3</version>
            </artifactItem>
            <artifactItem>
              <groupId>xml-apis</groupId>
              <artifactId>xml-apis</artifactId>
              <version>1.3.02</version>
            </artifactItem>
          </artifactItems>
          <outputDirectory>${project.build.directory}/test-lib</outputDirectory>
      </configuration>
    </execution>
  </executions>
</plugin>
{code}
ends up as the effective POM
{code:xml}
<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-dependency-plugin</artifactId>
  <version>2.0</version>
  <executions>
    <execution>
      <phase>generate-test-resources</phase>
      <goals>
        <goal>copy</goal>
      </goals>
      <configuration>
          <artifactItems>
            <artifactItem>
              <groupId>ant</groupId>
              <artifactId>ant</artifactId>
              <version>1.6.5</version>
            </artifactItem>
          </artifactItems>
          <outputDirectory>${project.build.directory}/test-lib</outputDirectory>
      </configuration>
    </execution>
  </executions>
</plugin>
{code}
i.e. all but the first {{<artifactItem>}} element are lost.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (MNG-3864) [regression] Collection elements inside a per-execution plugin config are collapsed in combination with pluginManagement

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3864?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated MNG-3864:
------------------------------

    Fix Version/s: 3.0-alpha-3

> [regression] Collection elements inside a per-execution plugin config are collapsed in combination with pluginManagement
> ------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MNG-3864
>                 URL: http://jira.codehaus.org/browse/MNG-3864
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Plugins and Lifecycle, POM
>    Affects Versions: 3.0-alpha-1
>            Reporter: Benjamin Bentmann
>             Fix For: 3.0-alpha-3
>
>
> The build for plexus-classworlds is currently failing because the POM snippet:
> {code:xml}
> <plugin>
>   <groupId>org.apache.maven.plugins</groupId>
>   <artifactId>maven-dependency-plugin</artifactId>
>   <version>2.0</version>
>   <executions>
>     <execution>
>       <phase>generate-test-resources</phase>
>       <goals>
>         <goal>copy</goal>
>       </goals>
>       <configuration>
>           <artifactItems>
>             <artifactItem>
>               <groupId>ant</groupId>
>               <artifactId>ant</artifactId>
>               <version>1.6.5</version>
>             </artifactItem>
>             <artifactItem>
>               <groupId>commons-logging</groupId>
>               <artifactId>commons-logging</artifactId>
>               <version>1.0.3</version>
>             </artifactItem>
>             <artifactItem>
>               <groupId>xml-apis</groupId>
>               <artifactId>xml-apis</artifactId>
>               <version>1.3.02</version>
>             </artifactItem>
>           </artifactItems>
>           <outputDirectory>${project.build.directory}/test-lib</outputDirectory>
>       </configuration>
>     </execution>
>   </executions>
> </plugin>
> {code}
> ends up as the effective POM
> {code:xml}
> <plugin>
>   <groupId>org.apache.maven.plugins</groupId>
>   <artifactId>maven-dependency-plugin</artifactId>
>   <version>2.0</version>
>   <executions>
>     <execution>
>       <phase>generate-test-resources</phase>
>       <goals>
>         <goal>copy</goal>
>       </goals>
>       <configuration>
>           <artifactItems>
>             <artifactItem>
>               <groupId>ant</groupId>
>               <artifactId>ant</artifactId>
>               <version>1.6.5</version>
>             </artifactItem>
>           </artifactItems>
>           <outputDirectory>${project.build.directory}/test-lib</outputDirectory>
>       </configuration>
>     </execution>
>   </executions>
> </plugin>
> {code}
> i.e. all but the first {{<artifactItem>}} element are lost.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (MNG-3864) [regression] Collection elements inside a per-execution plugin config are collapsed in combination with pluginManagement

Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3864?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Bentmann updated MNG-3864:
-----------------------------------

    Summary: [regression] Collection elements inside a per-execution plugin config are collapsed in combination with pluginManagement  (was: Collection elements inside a per-execution plugin config are collapsed in combination with pluginManagement)

> [regression] Collection elements inside a per-execution plugin config are collapsed in combination with pluginManagement
> ------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MNG-3864
>                 URL: http://jira.codehaus.org/browse/MNG-3864
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Plugins and Lifecycle, POM
>    Affects Versions: 3.0-alpha-1
>            Reporter: Benjamin Bentmann
>
> The build for plexus-classworlds is currently failing because the POM snippet:
> {code:xml}
> <plugin>
>   <groupId>org.apache.maven.plugins</groupId>
>   <artifactId>maven-dependency-plugin</artifactId>
>   <version>2.0</version>
>   <executions>
>     <execution>
>       <phase>generate-test-resources</phase>
>       <goals>
>         <goal>copy</goal>
>       </goals>
>       <configuration>
>           <artifactItems>
>             <artifactItem>
>               <groupId>ant</groupId>
>               <artifactId>ant</artifactId>
>               <version>1.6.5</version>
>             </artifactItem>
>             <artifactItem>
>               <groupId>commons-logging</groupId>
>               <artifactId>commons-logging</artifactId>
>               <version>1.0.3</version>
>             </artifactItem>
>             <artifactItem>
>               <groupId>xml-apis</groupId>
>               <artifactId>xml-apis</artifactId>
>               <version>1.3.02</version>
>             </artifactItem>
>           </artifactItems>
>           <outputDirectory>${project.build.directory}/test-lib</outputDirectory>
>       </configuration>
>     </execution>
>   </executions>
> </plugin>
> {code}
> ends up as the effective POM
> {code:xml}
> <plugin>
>   <groupId>org.apache.maven.plugins</groupId>
>   <artifactId>maven-dependency-plugin</artifactId>
>   <version>2.0</version>
>   <executions>
>     <execution>
>       <phase>generate-test-resources</phase>
>       <goals>
>         <goal>copy</goal>
>       </goals>
>       <configuration>
>           <artifactItems>
>             <artifactItem>
>               <groupId>ant</groupId>
>               <artifactId>ant</artifactId>
>               <version>1.6.5</version>
>             </artifactItem>
>           </artifactItems>
>           <outputDirectory>${project.build.directory}/test-lib</outputDirectory>
>       </configuration>
>     </execution>
>   </executions>
> </plugin>
> {code}
> i.e. all but the first {{<artifactItem>}} element are lost.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (MNG-3864) [regression] Collection elements inside a per-execution plugin config are collapsed in combination with pluginManagement

Posted by "Shane Isbell (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3864?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shane Isbell updated MNG-3864:
------------------------------

    Fix Version/s:     (was: 3.0-alpha-3)
                   3.0-alpha-2

> [regression] Collection elements inside a per-execution plugin config are collapsed in combination with pluginManagement
> ------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MNG-3864
>                 URL: http://jira.codehaus.org/browse/MNG-3864
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Plugins and Lifecycle, POM
>    Affects Versions: 3.0-alpha-1
>            Reporter: Benjamin Bentmann
>            Assignee: Shane Isbell
>             Fix For: 3.0-alpha-2
>
>
> The build for plexus-classworlds is currently failing because the POM snippet:
> {code:xml}
> <plugin>
>   <groupId>org.apache.maven.plugins</groupId>
>   <artifactId>maven-dependency-plugin</artifactId>
>   <version>2.0</version>
>   <executions>
>     <execution>
>       <phase>generate-test-resources</phase>
>       <goals>
>         <goal>copy</goal>
>       </goals>
>       <configuration>
>           <artifactItems>
>             <artifactItem>
>               <groupId>ant</groupId>
>               <artifactId>ant</artifactId>
>               <version>1.6.5</version>
>             </artifactItem>
>             <artifactItem>
>               <groupId>commons-logging</groupId>
>               <artifactId>commons-logging</artifactId>
>               <version>1.0.3</version>
>             </artifactItem>
>             <artifactItem>
>               <groupId>xml-apis</groupId>
>               <artifactId>xml-apis</artifactId>
>               <version>1.3.02</version>
>             </artifactItem>
>           </artifactItems>
>           <outputDirectory>${project.build.directory}/test-lib</outputDirectory>
>       </configuration>
>     </execution>
>   </executions>
> </plugin>
> {code}
> ends up as the effective POM
> {code:xml}
> <plugin>
>   <groupId>org.apache.maven.plugins</groupId>
>   <artifactId>maven-dependency-plugin</artifactId>
>   <version>2.0</version>
>   <executions>
>     <execution>
>       <phase>generate-test-resources</phase>
>       <goals>
>         <goal>copy</goal>
>       </goals>
>       <configuration>
>           <artifactItems>
>             <artifactItem>
>               <groupId>ant</groupId>
>               <artifactId>ant</artifactId>
>               <version>1.6.5</version>
>             </artifactItem>
>           </artifactItems>
>           <outputDirectory>${project.build.directory}/test-lib</outputDirectory>
>       </configuration>
>     </execution>
>   </executions>
> </plugin>
> {code}
> i.e. all but the first {{<artifactItem>}} element are lost.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (MNG-3864) [regression] Collection elements inside a per-execution plugin config are collapsed in combination with pluginManagement

Posted by "Shane Isbell (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3864?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shane Isbell closed MNG-3864.
-----------------------------

    Resolution: Fixed

> [regression] Collection elements inside a per-execution plugin config are collapsed in combination with pluginManagement
> ------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MNG-3864
>                 URL: http://jira.codehaus.org/browse/MNG-3864
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Plugins and Lifecycle, POM
>    Affects Versions: 3.0-alpha-1
>            Reporter: Benjamin Bentmann
>            Assignee: Shane Isbell
>             Fix For: 3.0-alpha-2
>
>
> The build for plexus-classworlds is currently failing because the POM snippet:
> {code:xml}
> <plugin>
>   <groupId>org.apache.maven.plugins</groupId>
>   <artifactId>maven-dependency-plugin</artifactId>
>   <version>2.0</version>
>   <executions>
>     <execution>
>       <phase>generate-test-resources</phase>
>       <goals>
>         <goal>copy</goal>
>       </goals>
>       <configuration>
>           <artifactItems>
>             <artifactItem>
>               <groupId>ant</groupId>
>               <artifactId>ant</artifactId>
>               <version>1.6.5</version>
>             </artifactItem>
>             <artifactItem>
>               <groupId>commons-logging</groupId>
>               <artifactId>commons-logging</artifactId>
>               <version>1.0.3</version>
>             </artifactItem>
>             <artifactItem>
>               <groupId>xml-apis</groupId>
>               <artifactId>xml-apis</artifactId>
>               <version>1.3.02</version>
>             </artifactItem>
>           </artifactItems>
>           <outputDirectory>${project.build.directory}/test-lib</outputDirectory>
>       </configuration>
>     </execution>
>   </executions>
> </plugin>
> {code}
> ends up as the effective POM
> {code:xml}
> <plugin>
>   <groupId>org.apache.maven.plugins</groupId>
>   <artifactId>maven-dependency-plugin</artifactId>
>   <version>2.0</version>
>   <executions>
>     <execution>
>       <phase>generate-test-resources</phase>
>       <goals>
>         <goal>copy</goal>
>       </goals>
>       <configuration>
>           <artifactItems>
>             <artifactItem>
>               <groupId>ant</groupId>
>               <artifactId>ant</artifactId>
>               <version>1.6.5</version>
>             </artifactItem>
>           </artifactItems>
>           <outputDirectory>${project.build.directory}/test-lib</outputDirectory>
>       </configuration>
>     </execution>
>   </executions>
> </plugin>
> {code}
> i.e. all but the first {{<artifactItem>}} element are lost.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira