[MNG-5181] added a warning when enhanced local repository manager is

disabled: this should be avoided
This commit is contained in:
Hervé Boutemy 2013-02-04 01:27:53 +01:00
parent aeee413bda
commit 114c98f310
1 changed files with 1 additions and 0 deletions

View File

@ -360,6 +360,7 @@ public class DefaultMaven
if ( request.isUseSimpleLocalRepositoryManager() )
{
logger.warn( "Disabling enhanced local repository manager: this is stronlgy discouraged to ensure build reproducibility." );
try
{
session.setLocalRepositoryManager( simpleLocalRepositoryManagerFactory.newInstance( localRepo ) );