Browse Source

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
pull/1433/head
Phillip Webb 12 years ago
parent
commit
7d4fbacecd
  1. 2
      pom.xml
  2. 11
      spring-boot-dependencies/pom.xml
  3. 4
      spring-boot-integration-tests/pom.xml
  4. 44
      spring-boot-samples/pom.xml

2
pom.xml

@ -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>

11
spring-boot-dependencies/pom.xml

@ -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 @@
</snapshots> </snapshots>
</repository> </repository>
</repositories> </repositories>
</profile>
<profile>
<id>integration-test</id>
</profile>
</profiles>
</project> </project>

4
spring-boot-integration-tests/pom.xml

@ -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>

44
spring-boot-samples/pom.xml

@ -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>

Loading…
Cancel
Save