private static void injectSession1(RepositoryRequest request, MavenSession session)
  {
    if ( session != null )
    {
      request.setOffline( session.isOffline() );
      request.setForceUpdate( session.getRequest().isUpdateSnapshots() );
    }
  }
private static void injectSession1(RepositoryRequest request, MavenSession session)