All Downloads are FREE. Search and download functionalities are using the official Maven repository.

tech.jhipster.lite.module.domain.javabuild.command.AddMavenPlugin Maven / Gradle / Ivy

There is a newer version: 1.22.0
Show newest version
package tech.jhipster.lite.module.domain.javabuild.command;

import java.util.Collection;
import java.util.Optional;
import tech.jhipster.lite.module.domain.javabuild.VersionSlug;
import tech.jhipster.lite.module.domain.javadependency.DependencyId;
import tech.jhipster.lite.module.domain.javadependency.JavaDependency;
import tech.jhipster.lite.module.domain.javadependency.JavaDependencyVersion;
import tech.jhipster.lite.module.domain.mavenplugin.MavenPlugin;
import tech.jhipster.lite.module.domain.mavenplugin.MavenPluginConfiguration;
import tech.jhipster.lite.module.domain.mavenplugin.MavenPluginExecution;

public interface AddMavenPlugin {
  MavenPlugin plugin();

  default Optional versionSlug() {
    return plugin().versionSlug();
  }

  default Optional configuration() {
    return plugin().configuration();
  }

  default Collection executions() {
    return plugin().executions();
  }

  default Collection dependencies() {
    return plugin().dependencies();
  }

  default DependencyId dependencyId() {
    return plugin().dependencyId();
  }

  Optional pluginVersion();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy