(Merged from 384319.) [MNG-2052] Verify that fix for MNG-2124 also fixed the availability of profile-injected properties as sources for interpolating systemPath values in dependencies.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@384321 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
John Dennis Casey 2006-03-08 20:30:14 +00:00
parent fc77014cfe
commit e352f2cb8b
7 changed files with 38 additions and 0 deletions

View File

@ -270,6 +270,10 @@ it0099: Test that parent-POMs cached during a build are available as parents
it0100: Test that ${parent.artifactId} resolves correctly. [MNG-2124]
it0101: Test that properties defined in an active profile in the user's
settings are available for interpolation of systemPath in a dependency.
[MNG-2052]
-------------------------------------------------------------------------------
- generated sources

View File

@ -1,3 +1,4 @@
it0101
it0100
it0099
it0098

View File

@ -0,0 +1 @@
--settings settings.xml

View File

@ -0,0 +1 @@
compile

View File

@ -0,0 +1 @@
test dependency

View File

@ -0,0 +1,17 @@
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.maven.it0101</groupId>
<artifactId>it0101</artifactId>
<version>1.0</version>
<dependencies>
<dependency>
<groupId>test</groupId>
<artifactId>test-dependency</artifactId>
<version>1</version>
<scope>system</scope>
<systemPath>${basedir}/${libdir}/test-dep.txt</systemPath>
</dependency>
</dependencies>
</project>

View File

@ -0,0 +1,13 @@
<settings>
<profiles>
<profile>
<id>test</id>
<properties>
<libdir>lib</libdir>
</properties>
</profile>
</profiles>
<activeProfiles>
<activeProfile>test</activeProfile>
</activeProfiles>
</settings>