Skip to content

Commit f261cb8

Browse files
committed
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
1 parent 44d3f3b commit f261cb8

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

pom.xml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,32 @@
4141
<module>spring-boot-tests</module>
4242
</modules>
4343
</profile>
44+
<profile>
45+
<id>repository</id>
46+
<activation>
47+
<property>
48+
<name>repository</name>
49+
</property>
50+
</activation>
51+
<repositories>
52+
<repository>
53+
<id>repository</id>
54+
<url>${repository}</url>
55+
<snapshots>
56+
<enabled>true</enabled>
57+
</snapshots>
58+
</repository>
59+
</repositories>
60+
<pluginRepositories>
61+
<pluginRepository>
62+
<id>repository</id>
63+
<url>${repository}</url>
64+
<snapshots>
65+
<enabled>true</enabled>
66+
</snapshots>
67+
</pluginRepository>
68+
</pluginRepositories>
69+
</profile>
4470
</profiles>
4571
<repositories>
4672
<!-- Repositories to allow snapshot and milestone BOM imports during development.

0 commit comments

Comments
 (0)