[MNG-6112] Central repository in the 4.0.0 super POM should declare update policy 'never'.

This commit is contained in:
Christian Schulte 2017-03-21 00:30:28 +01:00
parent d54e6f91a8
commit 13adc1bc2b
2 changed files with 5 additions and 2 deletions

View File

@ -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 );
}

View File

@ -32,6 +32,9 @@ under the License.
<snapshots>
<enabled>false</enabled>
</snapshots>
<releases>
<updatePolicy>never</updatePolicy>
</releases>
</repository>
</repositories>