mirror of https://github.com/apache/maven.git
(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:
parent
fc77014cfe
commit
e352f2cb8b
|
@ -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
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
it0101
|
||||
it0100
|
||||
it0099
|
||||
it0098
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
--settings settings.xml
|
|
@ -0,0 +1 @@
|
|||
compile
|
|
@ -0,0 +1 @@
|
|||
test dependency
|
|
@ -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>
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
<settings>
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>test</id>
|
||||
<properties>
|
||||
<libdir>lib</libdir>
|
||||
</properties>
|
||||
</profile>
|
||||
</profiles>
|
||||
<activeProfiles>
|
||||
<activeProfile>test</activeProfile>
|
||||
</activeProfiles>
|
||||
</settings>
|
Loading…
Reference in New Issue