[ http://jira.codehaus.org/browse/MNG-2052?page=comments#action_58224 ] 

Chris Stevenson commented on MNG-2052:
--------------------------------------

Hey Brett,

It occurs in the dependency, like so:

<dependency>
                                        <groupId>System</groupId>
                                        <artifactId>System</artifactId>
                                        <version>1.1</version>
                                        <type>dotnet-library</type>
                                        <scope>system</scope>
                                        
<systemPath>${dotnet.home}/System.dll</systemPath>
</dependency>

This example is a CSharp project but the same applies with java system deps 
like tools.jar that have a variable.

Chris

> Transitive system deps are not interpolated correctly thus rendering them 
> invalid
> ---------------------------------------------------------------------------------
>
>          Key: MNG-2052
>          URL: http://jira.codehaus.org/browse/MNG-2052
>      Project: Maven 2
>         Type: Bug

>   Components: POM, Artifacts and Repositories
>  Environment: Windows XP, Java 1.5
>     Reporter: Chris Stevenson

>
>
> When a library is loaded as a dependency if its dependencies contain one of 
> type system which has a variable in the path the variable is not interpolated 
> so that <systemPath>${appHome}/lib/...</systemPath> is not an absolute path, 
> rendering the dependency invalid.
> ex
> Lib A
>       |-->Lib B
>                |-->Lib C (System Dep, path=$appHome}/lib/....jar)
> When resolving deps for lib B's pom will throw an error because path is not 
> interpolated.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to