Пример #1
0
 private ModelCoordinate createIndexCoordinateWithRemoteUrlHint(String remoteUrl) {
   ModelCoordinate mc =
       new ModelCoordinate(
           INDEX.getGroupId(),
           INDEX.getArtifactId(),
           INDEX.getClassifier(),
           INDEX.getExtension(),
           INDEX.getVersion());
   return createCopyWithRepositoryUrlHint(mc, remoteUrl);
 }
Пример #2
0
 private boolean isIndex(ModelCoordinate model) {
   return model.getGroupId().equals(INDEX.getGroupId())
       && model.getArtifactId().equals(INDEX.getArtifactId())
       && model.getExtension().equals(INDEX.getExtension())
       && model.getVersion().equals(INDEX.getVersion());
 }