Package: org.gradle.api.publish.maven.plugins

## [Java] Class MavenPublishPlugin

- org.gradle.api.publish.maven.plugins.MavenPublishPlugin

- All Implemented Interfaces and Traits:
    Plugin

      @Incubating
      public class MavenPublishPlugin

  Adds the ability to publish in the Maven format to Maven repositories.

  Since:
    1.4

- - ### Field Summary

    Fields
    Modifiers | Name | Description
    --- | --- | ---
    `static String` | `PUBLISH_LOCAL_LIFECYCLE_TASK_NAME` |

  - ### Constructor Summary

    Constructors
    Constructor and description
    `MavenPublishPlugin (Instantiator instantiator, DependencyMetaDataProvider dependencyMetaDataProvider, FileResolver fileResolver, ProjectDependencyPublicationResolver projectDependencyResolver)`

  - ### Methods Summary

    Methods
    Type | Name and description
    --- | ---
    `void` | `apply(Project project)`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class Object` | `wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll`

- - ### Field Detail

    - #### public static final String PUBLISH_LOCAL_LIFECYCLE_TASK_NAME

  - ### Constructor Detail

    - #### @Inject public MavenPublishPlugin(Instantiator instantiator, DependencyMetaDataProvider dependencyMetaDataProvider, FileResolver fileResolver, ProjectDependencyPublicationResolver projectDependencyResolver)

  - ### Method Detail

    - #### public void apply(Project project)