Add local repository support

Update the Maven build so that a local artifact repository can be
specified. This will allow the CI server to build the samples and tests
using artifacts generated from an early job.

See gh-9316
This commit is contained in:
Phillip Webb 2017-08-04 20:38:02 -07:00
parent 44d3f3b577
commit f261cb8f2f
1 changed files with 26 additions and 0 deletions

26
pom.xml
View File

@ -41,6 +41,32 @@
<module>spring-boot-tests</module>
</modules>
</profile>
<profile>
<id>repository</id>
<activation>
<property>
<name>repository</name>
</property>
</activation>
<repositories>
<repository>
<id>repository</id>
<url>${repository}</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>repository</id>
<url>${repository}</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles>
<repositories>
<!-- Repositories to allow snapshot and milestone BOM imports during development.