Skip to content

Commit ea0ce4a

Browse files
committed
Fix
1 parent d96865d commit ea0ce4a

File tree

1 file changed

+6
-17
lines changed

1 file changed

+6
-17
lines changed

its/core-it-suite/src/test/resources-filtered/settings.xml

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -20,44 +20,33 @@ under the License.
2020
-->
2121

2222
<!--
23-
These settings are meant for ITs that download artifacts from remote servers. In general, ITs should use stub
24-
plugins/artifacts from test repos so use of these settings should be the exceptional case, not the default.
23+
These settings are meant for ITs that don't download artifacts from remote servers, i.e. ITs that either use their
24+
own test repos or can employ the local repository (after bootstrapping). This configuration uses a file: URL to
25+
"central" to avoid needless network access for files knowingly not present externally.
2526
-->
2627

2728
<settings>
28-
<proxies>
29-
<proxy>
30-
<id>it-proxy</id>
31-
<active>${proxy.active}</active>
32-
<protocol>${proxy.type}</protocol>
33-
<host>${proxy.host}</host>
34-
<port>${proxy.port}</port>
35-
<username>${proxy.user}</username>
36-
<password>${proxy.pass}</password>
37-
<nonProxyHosts>${proxy.nonProxyHosts}</nonProxyHosts>
38-
</proxy>
39-
</proxies>
4029
<profiles>
4130
<profile>
4231
<id>it-defaults</id>
4332
<repositories>
4433
<repository>
4534
<id>central</id>
4635
<name>Apache Maven Integration Testing Repository</name>
47-
<url>${maven.it.central}</url>
36+
<url>file:target/null</url>
4837
<releases>
4938
<enabled>true</enabled>
5039
</releases>
5140
<snapshots>
52-
<enabled>true</enabled>
41+
<enabled>false</enabled>
5342
</snapshots>
5443
</repository>
5544
</repositories>
5645
<pluginRepositories>
5746
<pluginRepository>
5847
<id>central</id>
5948
<name>Apache Maven Integration Testing Repository</name>
60-
<url>${maven.it.central}</url>
49+
<url>file:target/null</url>
6150
<releases>
6251
<enabled>true</enabled>
6352
</releases>

0 commit comments

Comments
 (0)