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

Dennis Lundberg updated MASSEMBLY-411:
--------------------------------------

    Component/s: dependencySet
    Description: 
If you have two projects, with one (B) depending on another (A), and in your 
assembly.xml file you define the following dependencySet:

{code:xml}
<dependencySet>
        <outputDirectory>lib/</outputDirectory>
        <scope>runtime</scope>
        <useProjectArtifact>false</useProjectArtifact>
        <useTransitiveDependencies>true</useTransitiveDependencies>
</dependencySet>
{code}

And the workspace resolution been activated, during the package phase an error 
will occur showing that is not possible to copy the "target/classes" file from 
project A. Because "target/classes" isn't a file. This error only occurs if the 
workspace resolution is enabled.

  was:
If you have two projects, with one (B) depending on another (A), and in your 
assembly.xml file you define the following dependencySet:

<dependencySet>
        <outputDirectory>lib/</outputDirectory>
        <scope>runtime</scope>
        <useProjectArtifact>false</useProjectArtifact>
        <useTransitiveDependencies>true</useTransitiveDependencies>
</dependencySet>

And the workspace resolution been activated, during the package phase an error 
will occur showing that is not possible to copy the "target/classes" file from 
project A. Because "target/classes" isn't a file. This error only occurs if the 
workspace resolution is enabled.

    
> Error on copy dependencies using Assembler Plugin (m2e Eclipse Plugin 
> Workspace Resolution)
> -------------------------------------------------------------------------------------------
>
>                 Key: MASSEMBLY-411
>                 URL: https://jira.codehaus.org/browse/MASSEMBLY-411
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Bug
>          Components: dependencySet
>    Affects Versions: 2.2-beta-3
>         Environment: Maven 2.1.0, Eclipse 3.4 Sr2, m2Eclipse 0.9.8
>            Reporter: Felipe Desiderati
>
> If you have two projects, with one (B) depending on another (A), and in your 
> assembly.xml file you define the following dependencySet:
> {code:xml}
> <dependencySet>
>       <outputDirectory>lib/</outputDirectory>
>       <scope>runtime</scope>
>       <useProjectArtifact>false</useProjectArtifact>
>       <useTransitiveDependencies>true</useTransitiveDependencies>
> </dependencySet>
> {code}
> And the workspace resolution been activated, during the package phase an 
> error will occur showing that is not possible to copy the "target/classes" 
> file from project A. Because "target/classes" isn't a file. This error only 
> occurs if the workspace resolution is enabled.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to