You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Edwin Punzalan (JIRA)" <ji...@codehaus.org> on 2006/05/11 05:18:41 UTC

[jira] Created: (MASSEMBLY-98) Assembly groupVersionAlignment excludes affects all other groupVersionAlignment

Assembly groupVersionAlignment excludes affects all other groupVersionAlignment
-------------------------------------------------------------------------------

         Key: MASSEMBLY-98
         URL: http://jira.codehaus.org/browse/MASSEMBLY-98
     Project: Maven 2.x Assembly Plugin
        Type: Bug

    Versions: 2.1    
    Reporter: Edwin Punzalan


Setting this in your assembly xml:

{code}
<repository>
  <groupVersionAlignments>
    <groupVersionAlignment>
      <id>group-a</id>
      <version>1.0</version>
    </groupVersionAlignment>
    <groupVersionAlignment>
      <id>group-b</id>
      <version>2.0</version>
      <excludes>
        <exclude>artifact-a</exclude>
      </excludes>
    </groupVersionAlignment>
  </groupVersionAlignments>
</repository>
{code}

what happens is that if there is an artifact with groupId=group-a and artifactId=artifact-a, it gets excluded even though artifact-a is declared to be excluded in group-b.  What effectively happens is something like this:

{code}
<repository>
  <groupVersionAlignments>
    <groupVersionAlignment>
      <id>group-a</id>
      <version>1.0</version>
      <excludes>
        <exclude>artifact-a</exclude>
      </excludes>
    </groupVersionAlignment>
    <groupVersionAlignment>
      <id>group-b</id>
      <version>2.0</version>
      <excludes>
        <exclude>artifact-a</exclude>
      </excludes>
    </groupVersionAlignment>
  </groupVersionAlignments>
</repository>
{code}


-- 
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: (MASSEMBLY-98) Assembly groupVersionAlignment excludes affects all other groupVersionAlignment

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MASSEMBLY-98?page=all ]
     
Brett Porter closed MASSEMBLY-98:
---------------------------------

    Resolution: Fixed

> Assembly groupVersionAlignment excludes affects all other groupVersionAlignment
> -------------------------------------------------------------------------------
>
>          Key: MASSEMBLY-98
>          URL: http://jira.codehaus.org/browse/MASSEMBLY-98
>      Project: Maven 2.x Assembly Plugin
>         Type: Bug

>     Versions: 2.1
>     Reporter: Edwin Punzalan
>     Assignee: Edwin Punzalan
>      Fix For: 2.1
>  Attachments: MASSEMBLY-98-maven-assembly-plugin.patch
>
>
> Setting this in your assembly xml:
> {code}
> <repository>
>   <groupVersionAlignments>
>     <groupVersionAlignment>
>       <id>group-a</id>
>       <version>1.0</version>
>     </groupVersionAlignment>
>     <groupVersionAlignment>
>       <id>group-b</id>
>       <version>2.0</version>
>       <excludes>
>         <exclude>artifact-a</exclude>
>       </excludes>
>     </groupVersionAlignment>
>   </groupVersionAlignments>
> </repository>
> {code}
> what happens is that if there is an artifact with groupId=group-a and artifactId=artifact-a, it gets excluded even though artifact-a is declared to be excluded in group-b.  What effectively happens is something like this:
> {code}
> <repository>
>   <groupVersionAlignments>
>     <groupVersionAlignment>
>       <id>group-a</id>
>       <version>1.0</version>
>       <excludes>
>         <exclude>artifact-a</exclude>
>       </excludes>
>     </groupVersionAlignment>
>     <groupVersionAlignment>
>       <id>group-b</id>
>       <version>2.0</version>
>       <excludes>
>         <exclude>artifact-a</exclude>
>       </excludes>
>     </groupVersionAlignment>
>   </groupVersionAlignments>
> </repository>
> {code}

-- 
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: (MASSEMBLY-98) Assembly groupVersionAlignment excludes affects all other groupVersionAlignment

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MASSEMBLY-98?page=all ]

Brett Porter updated MASSEMBLY-98:
----------------------------------

    Fix Version: 2.1

> Assembly groupVersionAlignment excludes affects all other groupVersionAlignment
> -------------------------------------------------------------------------------
>
>          Key: MASSEMBLY-98
>          URL: http://jira.codehaus.org/browse/MASSEMBLY-98
>      Project: Maven 2.x Assembly Plugin
>         Type: Bug

>     Versions: 2.1
>     Reporter: Edwin Punzalan
>     Assignee: Edwin Punzalan
>      Fix For: 2.1
>  Attachments: MASSEMBLY-98-maven-assembly-plugin.patch
>
>
> Setting this in your assembly xml:
> {code}
> <repository>
>   <groupVersionAlignments>
>     <groupVersionAlignment>
>       <id>group-a</id>
>       <version>1.0</version>
>     </groupVersionAlignment>
>     <groupVersionAlignment>
>       <id>group-b</id>
>       <version>2.0</version>
>       <excludes>
>         <exclude>artifact-a</exclude>
>       </excludes>
>     </groupVersionAlignment>
>   </groupVersionAlignments>
> </repository>
> {code}
> what happens is that if there is an artifact with groupId=group-a and artifactId=artifact-a, it gets excluded even though artifact-a is declared to be excluded in group-b.  What effectively happens is something like this:
> {code}
> <repository>
>   <groupVersionAlignments>
>     <groupVersionAlignment>
>       <id>group-a</id>
>       <version>1.0</version>
>       <excludes>
>         <exclude>artifact-a</exclude>
>       </excludes>
>     </groupVersionAlignment>
>     <groupVersionAlignment>
>       <id>group-b</id>
>       <version>2.0</version>
>       <excludes>
>         <exclude>artifact-a</exclude>
>       </excludes>
>     </groupVersionAlignment>
>   </groupVersionAlignments>
> </repository>
> {code}

-- 
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: (MASSEMBLY-98) Assembly groupVersionAlignment excludes affects all other groupVersionAlignment

Posted by "Edwin Punzalan (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MASSEMBLY-98?page=all ]

Edwin Punzalan updated MASSEMBLY-98:
------------------------------------

    Attachment: MASSEMBLY-98-maven-assembly-plugin.patch

> Assembly groupVersionAlignment excludes affects all other groupVersionAlignment
> -------------------------------------------------------------------------------
>
>          Key: MASSEMBLY-98
>          URL: http://jira.codehaus.org/browse/MASSEMBLY-98
>      Project: Maven 2.x Assembly Plugin
>         Type: Bug

>     Versions: 2.1
>     Reporter: Edwin Punzalan
>     Assignee: Edwin Punzalan
>  Attachments: MASSEMBLY-98-maven-assembly-plugin.patch
>
>
> Setting this in your assembly xml:
> {code}
> <repository>
>   <groupVersionAlignments>
>     <groupVersionAlignment>
>       <id>group-a</id>
>       <version>1.0</version>
>     </groupVersionAlignment>
>     <groupVersionAlignment>
>       <id>group-b</id>
>       <version>2.0</version>
>       <excludes>
>         <exclude>artifact-a</exclude>
>       </excludes>
>     </groupVersionAlignment>
>   </groupVersionAlignments>
> </repository>
> {code}
> what happens is that if there is an artifact with groupId=group-a and artifactId=artifact-a, it gets excluded even though artifact-a is declared to be excluded in group-b.  What effectively happens is something like this:
> {code}
> <repository>
>   <groupVersionAlignments>
>     <groupVersionAlignment>
>       <id>group-a</id>
>       <version>1.0</version>
>       <excludes>
>         <exclude>artifact-a</exclude>
>       </excludes>
>     </groupVersionAlignment>
>     <groupVersionAlignment>
>       <id>group-b</id>
>       <version>2.0</version>
>       <excludes>
>         <exclude>artifact-a</exclude>
>       </excludes>
>     </groupVersionAlignment>
>   </groupVersionAlignments>
> </repository>
> {code}

-- 
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