o Propagated maven.repo.local to unit tests

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@793333 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benjamin Bentmann 2009-07-12 11:27:13 +00:00
parent 772b8b3f1b
commit 67e6a9553a
1 changed files with 24 additions and 0 deletions

24
pom.xml
View File

@ -427,6 +427,30 @@
</plugins>
</build>
</profile>
<profile>
<id>maven-repo-local</id>
<activation>
<property>
<name>maven.repo.local</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<systemProperties combine.children="append">
<property>
<!-- Pass this through to the tests (if set!) to have them pick the right repository -->
<name>maven.repo.local</name>
<value>${maven.repo.local}</value>
</property>
</systemProperties>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>m2e</id>
<activation>