mirror of https://github.com/apache/maven.git
[MNG-6112] Central repository in the 4.0.0 super POM should declare update policy 'never'.
This commit is contained in:
parent
d54e6f91a8
commit
13adc1bc2b
|
@ -573,8 +573,8 @@ public class MavenRepositorySystem
|
|||
throws Exception
|
||||
{
|
||||
return createRepository( RepositorySystem.DEFAULT_REMOTE_REPO_URL, RepositorySystem.DEFAULT_REMOTE_REPO_ID,
|
||||
true, ArtifactRepositoryPolicy.UPDATE_POLICY_DAILY, false,
|
||||
ArtifactRepositoryPolicy.UPDATE_POLICY_DAILY,
|
||||
true, ArtifactRepositoryPolicy.UPDATE_POLICY_NEVER, false,
|
||||
ArtifactRepositoryPolicy.UPDATE_POLICY_NEVER,
|
||||
ArtifactRepositoryPolicy.CHECKSUM_POLICY_WARN );
|
||||
}
|
||||
|
||||
|
|
|
@ -32,6 +32,9 @@ under the License.
|
|||
<snapshots>
|
||||
<enabled>false</enabled>
|
||||
</snapshots>
|
||||
<releases>
|
||||
<updatePolicy>never</updatePolicy>
|
||||
</releases>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
|
|
Loading…
Reference in New Issue