private Settings enrichWithOfflineMode ( Settings settings ) { String goOffline = SecurityActions . getProperty ( ALT_MAVEN_OFFLINE ) ; if ( goOffline != null && goOffline . length ( ) > 0 ) { settings . setOffline ( Boolean . valueOf ( goOffline ) ) ; } return settings ; }
adds offline mode from system property