You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Olivier Lamy (JIRA)" <ji...@codehaus.org> on 2006/05/15 14:23:49 UTC

[jira] Created: (MASSEMBLY-99) dependencySets in a descriptor doesn't work anymore

dependencySets in a descriptor doesn't work anymore
---------------------------------------------------

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

    Versions: 2.1    
 Environment: all
    Reporter: Olivier Lamy
 Attachments: descriptor.xml

I attached my descriptor file.
  <dependencySets>
    <dependencySet>
      <outputDirectory>lib</outputDirectory>
      <unpack>false</unpack>
      <scope>runtime</scope>
      <!--
        how to exclude dependencies
      <excludes>
      <exclude>junit:junit</exclude>
      </excludes>	
      -->
    </dependencySet>
  </dependencySets>

unzip -l on the assembly file show empty lib directory.
Olivier


-- 
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-99) dependencySets in a descriptor doesn't work anymore

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

John Casey closed MASSEMBLY-99.
-------------------------------

    Resolution: Fixed

You should be able to redirect module-dependencies using a moduleSet with its own outputDirectory, and containing within it a set of DependencySets with their own outputDirectory specifications.

See src/it/dependency-sets/massembly-99 for an example of this.

BTW, if you use <includeDependencies>true</includeDependencies> then the outputDirectory and so forth is still inherited from the moduleSet.

> dependencySets in a descriptor doesn't work anymore
> ---------------------------------------------------
>
>                 Key: MASSEMBLY-99
>                 URL: http://jira.codehaus.org/browse/MASSEMBLY-99
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 2.1
>         Environment: all
>            Reporter: Olivier Lamy
>         Assigned To: John Casey
>            Priority: Blocker
>             Fix For: 2.2
>
>         Attachments: assembly-spike-1.0.zip, descriptor.xml
>
>
> I attached my descriptor file.
>   <dependencySets>
>     <dependencySet>
>       <outputDirectory>lib</outputDirectory>
>       <unpack>false</unpack>
>       <scope>runtime</scope>
>       <!--
>         how to exclude dependencies
>       <excludes>
>       <exclude>junit:junit</exclude>
>       </excludes>	
>       -->
>     </dependencySet>
>   </dependencySets>
> unzip -l on the assembly file show empty lib directory.
> Olivier

-- 
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] Commented: (MASSEMBLY-99) dependencySets in a descriptor doesn't work anymore

Posted by "Norman Fomferra (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MASSEMBLY-99?page=comments#action_72544 ] 
            
Norman Fomferra commented on MASSEMBLY-99:
------------------------------------------

This issue is definitely not fixed yet. See my attachment 'assembly-spike.zip' which contains a very simple two-modules project. Module JARs shall go into an output directory 'modules' (a moduleSet) and dependencies shall go into an output directory 'lib'  (a dependencySet). 'modules' is ok, but 'lib' is not created. Applies to 2.2-SNAPSHOT as of Aug 17, 2006.

Is there any workaround for this annoying bug in this very important plug-in? If not, we have to stop using maven (which I like and enjoy very much) in our project an go back to ant.

Cheers
   Norman 




> dependencySets in a descriptor doesn't work anymore
> ---------------------------------------------------
>
>                 Key: MASSEMBLY-99
>                 URL: http://jira.codehaus.org/browse/MASSEMBLY-99
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 2.1
>         Environment: all
>            Reporter: Olivier Lamy
>         Assigned To: John Casey
>            Priority: Blocker
>             Fix For: 2.2
>
>         Attachments: assembly-spike-1.0.zip, descriptor.xml
>
>
> I attached my descriptor file.
>   <dependencySets>
>     <dependencySet>
>       <outputDirectory>lib</outputDirectory>
>       <unpack>false</unpack>
>       <scope>runtime</scope>
>       <!--
>         how to exclude dependencies
>       <excludes>
>       <exclude>junit:junit</exclude>
>       </excludes>	
>       -->
>     </dependencySet>
>   </dependencySets>
> unzip -l on the assembly file show empty lib directory.
> Olivier

-- 
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] Commented: (MASSEMBLY-99) dependencySets in a descriptor doesn't work anymore

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MASSEMBLY-99?page=comments#action_73319 ] 
            
John Casey commented on MASSEMBLY-99:
-------------------------------------

svn co http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-assembly-plugin

then, go to:

cd maven-assembly-plugin/src/it/dependency-sets/massembly-99

and look in:

src/main/assembly/bin.xml



> dependencySets in a descriptor doesn't work anymore
> ---------------------------------------------------
>
>                 Key: MASSEMBLY-99
>                 URL: http://jira.codehaus.org/browse/MASSEMBLY-99
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 2.1
>         Environment: all
>            Reporter: Olivier Lamy
>         Assigned To: John Casey
>            Priority: Blocker
>             Fix For: 2.2
>
>         Attachments: assembly-spike-1.0.zip, descriptor.xml
>
>
> I attached my descriptor file.
>   <dependencySets>
>     <dependencySet>
>       <outputDirectory>lib</outputDirectory>
>       <unpack>false</unpack>
>       <scope>runtime</scope>
>       <!--
>         how to exclude dependencies
>       <excludes>
>       <exclude>junit:junit</exclude>
>       </excludes>	
>       -->
>     </dependencySet>
>   </dependencySets>
> unzip -l on the assembly file show empty lib directory.
> Olivier

-- 
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] Commented: (MASSEMBLY-99) dependencySets in a descriptor doesn't work anymore

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MASSEMBLY-99?page=comments#action_73111 ] 
            
John Casey commented on MASSEMBLY-99:
-------------------------------------

Are you aware that you have <includeDependencies/> set to false in the moduleSet? DependencySets are meant for direct dependencies, not dependencies of modules.

> dependencySets in a descriptor doesn't work anymore
> ---------------------------------------------------
>
>                 Key: MASSEMBLY-99
>                 URL: http://jira.codehaus.org/browse/MASSEMBLY-99
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 2.1
>         Environment: all
>            Reporter: Olivier Lamy
>         Assigned To: John Casey
>            Priority: Blocker
>             Fix For: 2.2
>
>         Attachments: assembly-spike-1.0.zip, descriptor.xml
>
>
> I attached my descriptor file.
>   <dependencySets>
>     <dependencySet>
>       <outputDirectory>lib</outputDirectory>
>       <unpack>false</unpack>
>       <scope>runtime</scope>
>       <!--
>         how to exclude dependencies
>       <excludes>
>       <exclude>junit:junit</exclude>
>       </excludes>	
>       -->
>     </dependencySet>
>   </dependencySets>
> unzip -l on the assembly file show empty lib directory.
> Olivier

-- 
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] Commented: (MASSEMBLY-99) dependencySets in a descriptor doesn't work anymore

Posted by "Mike Perham (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MASSEMBLY-99?page=comments#action_71047 ] 
            
Mike Perham commented on MASSEMBLY-99:
--------------------------------------

I get the following debug output from the following code.  The problem appears to be ProjectUtils.getDependencies().  It is calling project.getArtifacts() which is returning an empty set.

[INFO] [assembly:assembly {execution: default}]
[DEBUG] DependencySet[] dir perms: 40755 file perms: 100644
[DEBUG] Before filter: []

{code:title=AbstractAssemblyMojo.java}
        getLog().debug( "DependencySet[" + output + "]" + " dir perms: " +
                Integer.toString( archiver.getDefaultDirectoryMode(), 8 ) + " file perms: " +
                Integer.toString( archiver.getDefaultFileMode(), 8 ) );

        Set allDependencyArtifacts = ProjectUtils.getDependencies( getExecutedProject() );
        Set dependencyArtifacts = new HashSet( allDependencyArtifacts );

	getLog().debug( "Before filter: " + dependencyArtifacts );
{code}

{code:title=My Configuration}
<dependencySets>
  <dependencySet>
    <scope>runtime</scope>
    <outputDirectory>lib</outputDirectory>
  </dependencySet>
</dependencySets>
{code}

> dependencySets in a descriptor doesn't work anymore
> ---------------------------------------------------
>
>                 Key: MASSEMBLY-99
>                 URL: http://jira.codehaus.org/browse/MASSEMBLY-99
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 2.1
>         Environment: all
>            Reporter: Olivier Lamy
>            Priority: Blocker
>             Fix For: 2.2
>
>         Attachments: descriptor.xml
>
>
> I attached my descriptor file.
>   <dependencySets>
>     <dependencySet>
>       <outputDirectory>lib</outputDirectory>
>       <unpack>false</unpack>
>       <scope>runtime</scope>
>       <!--
>         how to exclude dependencies
>       <excludes>
>       <exclude>junit:junit</exclude>
>       </excludes>	
>       -->
>     </dependencySet>
>   </dependencySets>
> unzip -l on the assembly file show empty lib directory.
> Olivier

-- 
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-99) dependencySets in a descriptor doesn't work anymore

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

John Casey updated MASSEMBLY-99:
--------------------------------

    Fix Version: 2.2

> dependencySets in a descriptor doesn't work anymore
> ---------------------------------------------------
>
>          Key: MASSEMBLY-99
>          URL: http://jira.codehaus.org/browse/MASSEMBLY-99
>      Project: Maven 2.x Assembly Plugin
>         Type: Bug

>     Versions: 2.1
>  Environment: all
>     Reporter: Olivier Lamy
>      Fix For: 2.2
>  Attachments: descriptor.xml
>
>
> I attached my descriptor file.
>   <dependencySets>
>     <dependencySet>
>       <outputDirectory>lib</outputDirectory>
>       <unpack>false</unpack>
>       <scope>runtime</scope>
>       <!--
>         how to exclude dependencies
>       <excludes>
>       <exclude>junit:junit</exclude>
>       </excludes>	
>       -->
>     </dependencySet>
>   </dependencySets>
> unzip -l on the assembly file show empty lib directory.
> Olivier

-- 
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] Commented: (MASSEMBLY-99) dependencySets in a descriptor doesn't work anymore

Posted by "Edwin Punzalan (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MASSEMBLY-99?page=comments#action_71173 ] 
            
Edwin Punzalan commented on MASSEMBLY-99:
-----------------------------------------

Odd.  I tried this on my machine and my dependencies are in the lib directory inside the archive.

I tried it both on 2.0.4 and 2.1-SNAPSHOT of maven and both worked using 2.1-SNAPSHOT of the assembly plugin.

> dependencySets in a descriptor doesn't work anymore
> ---------------------------------------------------
>
>                 Key: MASSEMBLY-99
>                 URL: http://jira.codehaus.org/browse/MASSEMBLY-99
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 2.1
>         Environment: all
>            Reporter: Olivier Lamy
>            Priority: Blocker
>             Fix For: 2.2
>
>         Attachments: descriptor.xml
>
>
> I attached my descriptor file.
>   <dependencySets>
>     <dependencySet>
>       <outputDirectory>lib</outputDirectory>
>       <unpack>false</unpack>
>       <scope>runtime</scope>
>       <!--
>         how to exclude dependencies
>       <excludes>
>       <exclude>junit:junit</exclude>
>       </excludes>	
>       -->
>     </dependencySet>
>   </dependencySets>
> unzip -l on the assembly file show empty lib directory.
> Olivier

-- 
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] Commented: (MASSEMBLY-99) dependencySets in a descriptor doesn't work anymore

Posted by "Norman Fomferra (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MASSEMBLY-99?page=comments#action_73297 ] 
            
Norman Fomferra commented on MASSEMBLY-99:
------------------------------------------

Dear John,
If I understand correctly, the fix is, that the assembly descriptor now allows to place a <dependencySets> child  element into a <moduleSets> parent element? That would be great. Where can I get the src/it/dependency-sets/massembly-99 example?
Norman


> dependencySets in a descriptor doesn't work anymore
> ---------------------------------------------------
>
>                 Key: MASSEMBLY-99
>                 URL: http://jira.codehaus.org/browse/MASSEMBLY-99
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 2.1
>         Environment: all
>            Reporter: Olivier Lamy
>         Assigned To: John Casey
>            Priority: Blocker
>             Fix For: 2.2
>
>         Attachments: assembly-spike-1.0.zip, descriptor.xml
>
>
> I attached my descriptor file.
>   <dependencySets>
>     <dependencySet>
>       <outputDirectory>lib</outputDirectory>
>       <unpack>false</unpack>
>       <scope>runtime</scope>
>       <!--
>         how to exclude dependencies
>       <excludes>
>       <exclude>junit:junit</exclude>
>       </excludes>	
>       -->
>     </dependencySet>
>   </dependencySets>
> unzip -l on the assembly file show empty lib directory.
> Olivier

-- 
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-99) dependencySets in a descriptor doesn't work anymore

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

Mike Perham updated MASSEMBLY-99:
---------------------------------

    Priority: Blocker  (was: Major)

I'm seeing the same thing and it seems like a *huge* regression.

> dependencySets in a descriptor doesn't work anymore
> ---------------------------------------------------
>
>                 Key: MASSEMBLY-99
>                 URL: http://jira.codehaus.org/browse/MASSEMBLY-99
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 2.1
>         Environment: all
>            Reporter: Olivier Lamy
>            Priority: Blocker
>             Fix For: 2.2
>
>         Attachments: descriptor.xml
>
>
> I attached my descriptor file.
>   <dependencySets>
>     <dependencySet>
>       <outputDirectory>lib</outputDirectory>
>       <unpack>false</unpack>
>       <scope>runtime</scope>
>       <!--
>         how to exclude dependencies
>       <excludes>
>       <exclude>junit:junit</exclude>
>       </excludes>	
>       -->
>     </dependencySet>
>   </dependencySets>
> unzip -l on the assembly file show empty lib directory.
> Olivier

-- 
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] Commented: (MASSEMBLY-99) dependencySets in a descriptor doesn't work anymore

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MASSEMBLY-99?page=comments#action_74542 ] 
            
Olivier Lamy commented on MASSEMBLY-99:
---------------------------------------

Hi,
In fact, the it test is not the same as my issue (sorry for bad description).
My architecture is like this :
- pom.xml (root one without assembly plugin declaration)
- module-core  (pom without assembly plugin declaration)
- module-one (without assembly plugin declaration)
- module-two (without assembly plugin declaration)
- module-app (this contains the assembly plugin declaration attachment called descriptor.xml)

--
Olivier

> dependencySets in a descriptor doesn't work anymore
> ---------------------------------------------------
>
>                 Key: MASSEMBLY-99
>                 URL: http://jira.codehaus.org/browse/MASSEMBLY-99
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 2.1
>         Environment: all
>            Reporter: Olivier Lamy
>         Assigned To: John Casey
>            Priority: Blocker
>             Fix For: 2.2
>
>         Attachments: assembly-spike-1.0.zip, descriptor.xml
>
>
> I attached my descriptor file.
>   <dependencySets>
>     <dependencySet>
>       <outputDirectory>lib</outputDirectory>
>       <unpack>false</unpack>
>       <scope>runtime</scope>
>       <!--
>         how to exclude dependencies
>       <excludes>
>       <exclude>junit:junit</exclude>
>       </excludes>	
>       -->
>     </dependencySet>
>   </dependencySets>
> unzip -l on the assembly file show empty lib directory.
> Olivier

-- 
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-99) dependencySets in a descriptor doesn't work anymore

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

John Casey closed MASSEMBLY-99.
-------------------------------

      Assignee: John Casey
    Resolution: Fixed

I've verified that this issue is fixed in the snapshot version of the assembly plugin that's on the apache.snapshots repository right now (I just deployed it).

> dependencySets in a descriptor doesn't work anymore
> ---------------------------------------------------
>
>                 Key: MASSEMBLY-99
>                 URL: http://jira.codehaus.org/browse/MASSEMBLY-99
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 2.1
>         Environment: all
>            Reporter: Olivier Lamy
>         Assigned To: John Casey
>            Priority: Blocker
>             Fix For: 2.2
>
>         Attachments: descriptor.xml
>
>
> I attached my descriptor file.
>   <dependencySets>
>     <dependencySet>
>       <outputDirectory>lib</outputDirectory>
>       <unpack>false</unpack>
>       <scope>runtime</scope>
>       <!--
>         how to exclude dependencies
>       <excludes>
>       <exclude>junit:junit</exclude>
>       </excludes>	
>       -->
>     </dependencySet>
>   </dependencySets>
> unzip -l on the assembly file show empty lib directory.
> Olivier

-- 
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] Reopened: (MASSEMBLY-99) dependencySets in a descriptor doesn't work anymore

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

Edwin Punzalan reopened MASSEMBLY-99:
-------------------------------------

             
I used the attached test case and it does prove the bug.

> dependencySets in a descriptor doesn't work anymore
> ---------------------------------------------------
>
>                 Key: MASSEMBLY-99
>                 URL: http://jira.codehaus.org/browse/MASSEMBLY-99
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 2.1
>         Environment: all
>            Reporter: Olivier Lamy
>         Assigned To: John Casey
>            Priority: Blocker
>             Fix For: 2.2
>
>         Attachments: assembly-spike-1.0.zip, descriptor.xml
>
>
> I attached my descriptor file.
>   <dependencySets>
>     <dependencySet>
>       <outputDirectory>lib</outputDirectory>
>       <unpack>false</unpack>
>       <scope>runtime</scope>
>       <!--
>         how to exclude dependencies
>       <excludes>
>       <exclude>junit:junit</exclude>
>       </excludes>	
>       -->
>     </dependencySet>
>   </dependencySets>
> unzip -l on the assembly file show empty lib directory.
> Olivier

-- 
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-99) dependencySets in a descriptor doesn't work anymore

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

Norman Fomferra updated MASSEMBLY-99:
-------------------------------------

    Attachment: assembly-spike-1.0.zip

A multi-module project which shows that this issue insn't fixed in 2.2 as of Aug 17, 2006

> dependencySets in a descriptor doesn't work anymore
> ---------------------------------------------------
>
>                 Key: MASSEMBLY-99
>                 URL: http://jira.codehaus.org/browse/MASSEMBLY-99
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 2.1
>         Environment: all
>            Reporter: Olivier Lamy
>         Assigned To: John Casey
>            Priority: Blocker
>             Fix For: 2.2
>
>         Attachments: assembly-spike-1.0.zip, descriptor.xml
>
>
> I attached my descriptor file.
>   <dependencySets>
>     <dependencySet>
>       <outputDirectory>lib</outputDirectory>
>       <unpack>false</unpack>
>       <scope>runtime</scope>
>       <!--
>         how to exclude dependencies
>       <excludes>
>       <exclude>junit:junit</exclude>
>       </excludes>	
>       -->
>     </dependencySet>
>   </dependencySets>
> unzip -l on the assembly file show empty lib directory.
> Olivier

-- 
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-99) dependencySets in a descriptor doesn't work anymore

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MASSEMBLY-99?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Casey updated MASSEMBLY-99:
--------------------------------

    Fix Version/s:     (was: 2.2)
                   2.2-beta-1

> dependencySets in a descriptor doesn't work anymore
> ---------------------------------------------------
>
>                 Key: MASSEMBLY-99
>                 URL: http://jira.codehaus.org/browse/MASSEMBLY-99
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 2.1
>         Environment: all
>            Reporter: Olivier Lamy
>         Assigned To: John Casey
>            Priority: Blocker
>             Fix For: 2.2-beta-1
>
>         Attachments: assembly-spike-1.0.zip, descriptor.xml
>
>
> I attached my descriptor file.
>   <dependencySets>
>     <dependencySet>
>       <outputDirectory>lib</outputDirectory>
>       <unpack>false</unpack>
>       <scope>runtime</scope>
>       <!--
>         how to exclude dependencies
>       <excludes>
>       <exclude>junit:junit</exclude>
>       </excludes>	
>       -->
>     </dependencySet>
>   </dependencySets>
> unzip -l on the assembly file show empty lib directory.
> Olivier

-- 
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] Commented: (MASSEMBLY-99) dependencySets in a descriptor doesn't work anymore

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MASSEMBLY-99?page=comments#action_73115 ] 
            
Olivier Lamy commented on MASSEMBLY-99:
---------------------------------------

in the attachment called descriptor.xml ?

> dependencySets in a descriptor doesn't work anymore
> ---------------------------------------------------
>
>                 Key: MASSEMBLY-99
>                 URL: http://jira.codehaus.org/browse/MASSEMBLY-99
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 2.1
>         Environment: all
>            Reporter: Olivier Lamy
>         Assigned To: John Casey
>            Priority: Blocker
>             Fix For: 2.2
>
>         Attachments: assembly-spike-1.0.zip, descriptor.xml
>
>
> I attached my descriptor file.
>   <dependencySets>
>     <dependencySet>
>       <outputDirectory>lib</outputDirectory>
>       <unpack>false</unpack>
>       <scope>runtime</scope>
>       <!--
>         how to exclude dependencies
>       <excludes>
>       <exclude>junit:junit</exclude>
>       </excludes>	
>       -->
>     </dependencySet>
>   </dependencySets>
> unzip -l on the assembly file show empty lib directory.
> Olivier

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