code: public static MavenRemoteRepository createRemoteRepository(final String id, final URL url, final String layout) {
          // Argument tests are inside the impl constructor
          return new MavenRemoteRepositoryImpl(id, url, layout);
      }
docs: Creates a new <code>MavenRemoteRepository</code> with ID and URL. Please note that the repository layout should always be set to default.
  
  @param id The unique ID of the repository to create (arbitrary name)
  @param url The base URL of the Maven repository
  @param layout he repository layout. Should always be "default"
  @return A new <code>MavenRemoteRepository</code> with the given ID and URL.
  @throws IllegalArgumentException for null or empty id
  @throws RuntimeException if an error occurred during <code>MavenRemoteRepository</code> instance creation