Package org.gradle.api.plugins

## Class MavenPlugin

- java.lang.Object
- - org.gradle.api.plugins.MavenPlugin

- All Implemented Interfaces:
    `Plugin<org.gradle.api.internal.project.ProjectInternal>`

      @Deprecated
      public class MavenPlugin
      extends java.lang.Object
      implements Plugin<org.gradle.api.internal.project.ProjectInternal>

  Deprecated.

  A `Plugin` which allows project artifacts to be deployed to a Maven repository, or installed to the local Maven cache.

- - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `static int` | `COMPILE_PRIORITY` | Deprecated.
    `static java.lang.String` | `INSTALL_TASK_NAME` | Deprecated.
    `static int` | `PROVIDED_COMPILE_PRIORITY` | Deprecated.
    `static int` | `PROVIDED_RUNTIME_PRIORITY` | Deprecated.
    `static int` | `RUNTIME_PRIORITY` | Deprecated.
    `static int` | `TEST_COMPILE_PRIORITY` | Deprecated.
    `static int` | `TEST_RUNTIME_PRIORITY` | Deprecated.

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `MavenPlugin​(org.gradle.internal.Factory<org.gradle.internal.logging.LoggingManagerInternal> loggingManagerFactory, org.gradle.api.internal.file.FileResolver fileResolver, org.gradle.api.internal.artifacts.ivyservice.projectmodule.ProjectPublicationRegistry publicationRegistry, org.gradle.configuration.project.ProjectConfigurationActionContainer configurationActionContainer, org.gradle.api.internal.artifacts.mvnsettings.MavenSettingsProvider mavenSettingsProvider, org.gradle.api.internal.artifacts.mvnsettings.LocalMavenRepositoryLocator mavenRepositoryLocator, org.gradle.api.internal.artifacts.ImmutableModuleIdentifierFactory moduleIdentifierFactory)` | Deprecated.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods Deprecated Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `apply​(org.gradle.api.internal.project.ProjectInternal project)` | Deprecated. Apply this plugin to the given target object.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### COMPILE_PRIORITY

          public static final int COMPILE_PRIORITY

      Deprecated.
      See Also:
        Constant Field Values

    - #### RUNTIME_PRIORITY

          public static final int RUNTIME_PRIORITY

      Deprecated.
      See Also:
        Constant Field Values

    - #### TEST_COMPILE_PRIORITY

          public static final int TEST_COMPILE_PRIORITY

      Deprecated.
      See Also:
        Constant Field Values

    - #### TEST_RUNTIME_PRIORITY

          public static final int TEST_RUNTIME_PRIORITY

      Deprecated.
      See Also:
        Constant Field Values

    - #### PROVIDED_COMPILE_PRIORITY

          public static final int PROVIDED_COMPILE_PRIORITY

      Deprecated.
      See Also:
        Constant Field Values

    - #### PROVIDED_RUNTIME_PRIORITY

          public static final int PROVIDED_RUNTIME_PRIORITY

      Deprecated.
      See Also:
        Constant Field Values

    - #### INSTALL_TASK_NAME

          public static final java.lang.String INSTALL_TASK_NAME

      Deprecated.
      See Also:
        Constant Field Values

  - ### Constructor Detail

    - #### MavenPlugin

          @Inject
          public MavenPlugin​(org.gradle.internal.Factory<org.gradle.internal.logging.LoggingManagerInternal> loggingManagerFactory,
                             org.gradle.api.internal.file.FileResolver fileResolver,
                             org.gradle.api.internal.artifacts.ivyservice.projectmodule.ProjectPublicationRegistry publicationRegistry,
                             org.gradle.configuration.project.ProjectConfigurationActionContainer configurationActionContainer,
                             org.gradle.api.internal.artifacts.mvnsettings.MavenSettingsProvider mavenSettingsProvider,
                             org.gradle.api.internal.artifacts.mvnsettings.LocalMavenRepositoryLocator mavenRepositoryLocator,
                             org.gradle.api.internal.artifacts.ImmutableModuleIdentifierFactory moduleIdentifierFactory)

      Deprecated.

  - ### Method Detail

    - #### apply

          public void apply​(org.gradle.api.internal.project.ProjectInternal project)

      Deprecated.
      Description copied from interface: `Plugin`
      Apply this plugin to the given target object.
      Specified by:
        `apply` in interface `Plugin<org.gradle.api.internal.project.ProjectInternal>`
      Parameters:
        `project` - The target object