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
pull/10519/head
Phillip Webb 7 years ago
parent 44d3f3b577
commit f261cb8f2f

@ -41,6 +41,32 @@
<module>spring-boot-tests</module> <module>spring-boot-tests</module>
</modules> </modules>
</profile> </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> </profiles>
<repositories> <repositories>
<!-- Repositories to allow snapshot and milestone BOM imports during development. <!-- Repositories to allow snapshot and milestone BOM imports during development.

Loading…
Cancel
Save