mirror of https://github.com/apache/maven.git
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:
parent
772b8b3f1b
commit
67e6a9553a
24
pom.xml
24
pom.xml
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue