You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Chris Stevenson (JIRA)" <ji...@codehaus.org> on 2006/02/08 14:44:47 UTC

[jira] Created: (MNG-2052) Transitive system deps are not interpolated correctly thus rendering them invalid

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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MNG-2052) Transitive system deps are not interpolated correctly thus rendering them invalid

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-2052?page=comments#action_58225 ] 

Brett Porter commented on MNG-2052:
-----------------------------------

but where is the property *defined*? ie, where is the value set?

> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MNG-2052) Transitive system deps are not interpolated correctly thus rendering them invalid

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-2052?page=comments#action_58203 ] 

Brett Porter commented on MNG-2052:
-----------------------------------

where is the property defined?

> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MNG-2052) Transitive system deps are not interpolated correctly thus rendering them invalid

Posted by "Chris Stevenson (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-2052?page=comments#action_58227 ] 

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

Its set in settings.xml

<profiles>
     <profile>
      <id>default</id>
         <properties>
           <dotnet.home>C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322</dotnet.home>
         </properties>
          
     </profile>   
   </profiles>
  
  <activeProfiles>
     <activeProfile>default</activeProfile>
 </activeProfiles>

> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MNG-2052) Transitive system deps are not interpolated correctly thus rendering them invalid

Posted by "Chris Stevenson (JIRA)" <ji...@codehaus.org>.
    [ 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org