Commit 7d4fbace authored by Phillip Webb's avatar Phillip Webb

Fix invoker to not download remote artifacts

Updates to prevent the maven-invoker-plugin from downloading remote
snapshot jars. Possibly caused by the recent changes to the
spring-boot-dependencies POM.

See gh-1413
parent 1a61ffd7
...@@ -274,7 +274,7 @@ ...@@ -274,7 +274,7 @@
<regexFlags> <regexFlags>
<regexFlag>DOTALL</regexFlag> <regexFlag>DOTALL</regexFlag>
</regexFlags> </regexFlags>
<token>\n\t&lt;repositories&gt;.*&lt;/repositories&gt;</token> <token>\n\t&lt;profiles&gt;.*&lt;/profiles&gt;</token>
<value></value> <value></value>
</configuration> </configuration>
</execution> </execution>
......
...@@ -1313,6 +1313,12 @@ ...@@ -1313,6 +1313,12 @@
</plugins> </plugins>
</pluginManagement> </pluginManagement>
</build> </build>
<profiles>
<profile>
<id>default</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<repositories> <repositories>
<!-- <!--
Repositories to allow snapshot and milestone BOM imports during Repositories to allow snapshot and milestone BOM imports during
...@@ -1335,4 +1341,9 @@ ...@@ -1335,4 +1341,9 @@
</snapshots> </snapshots>
</repository> </repository>
</repositories> </repositories>
</profile>
<profile>
<id>integration-test</id>
</profile>
</profiles>
</project> </project>
\ No newline at end of file
...@@ -51,6 +51,10 @@ ...@@ -51,6 +51,10 @@
<localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath> <localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath>
<skipInvocation>${skipTests}</skipInvocation> <skipInvocation>${skipTests}</skipInvocation>
<streamLogs>true</streamLogs> <streamLogs>true</streamLogs>
<profiles>
<profile>integration-test</profile>
</profiles>
<localRepositoryPath> </localRepositoryPath>
</configuration> </configuration>
<executions> <executions>
<execution> <execution>
......
...@@ -101,48 +101,4 @@ ...@@ -101,48 +101,4 @@
</plugin> </plugin>
</plugins> </plugins>
</build> </build>
<repositories>
<repository>
<id>spring-snapshots</id>
<name>Spring Snapshots</name>
<url>http://repo.spring.io/snapshot</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<repository>
<id>spring-milestones</id>
<name>Spring Milestones</name>
<url>http://repo.spring.io/milestone</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>spring-snapshots</id>
<name>Spring Snapshots</name>
<url>http://repo.spring.io/snapshot</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
<pluginRepository>
<id>spring-milestones</id>
<name>Spring Milestones</name>
<url>http://repo.spring.io/milestone</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
<pluginRepository>
<id>spring-releases</id>
<name>Spring Releases</name>
<url>http://repo.spring.io/release</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
</project> </project>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment