Apache Maven Enforcer Plugin

org.apache.maven.plugins : maven-enforcer-plugin

The Loving Iron Fist of Maven

Jul 26, 2021
8 usages
83 stars

Add dependency in Maven / Gradle

<dependency>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-enforcer-plugin</artifactId>
    <version>3.0.0</version>
</dependency>

1. Add dependency to a Maven project

Maven: Add the org.apache.maven.plugins:maven-enforcer-plugin library to the dependencies element of your pom.xml file:

<dependencies>
<dependency>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-enforcer-plugin</artifactId>
  <version>3.0.0</version>
</dependency>
</dependencies>

To install org.apache.maven.plugins:maven-enforcer-plugin library use the following command:

mvn install

2. Add dependency to a Gradle project

Gradle Groovy DSL: Add the org.apache.maven.plugins:maven-enforcer-plugin library to the dependencies section of your build.gradle file:

dependencies {
implementation 'org.apache.maven.plugins:maven-enforcer-plugin:3.0.0'
}

Gradle Kotlin DSL: Add the org.apache.maven.plugins:maven-enforcer-plugin library to the dependencies section of your build.gradle.kts file:

dependencies {
implementation("org.apache.maven.plugins:maven-enforcer-plugin:3.0.0")
}

3. Add dependency to a SBT Scala project

Scala: Add the org.apache.maven.plugins:maven-enforcer-plugin library to your build.sbt file:

libraryDependencies += "org.apache.maven.plugins" % "maven-enforcer-plugin" % "3.0.0"

4. Add dependency to a Grape project

Grape: Add an annotation org.apache.maven.plugins:maven-enforcer-plugin library to your groovy script file:

@Grapes(
    @Grab('org.apache.maven.plugins:maven-enforcer-plugin:3.0.0')
)

Compile Dependencies (0)

Group / Artifact Usage

Provided Dependencies (1)

Test Dependencies (3)

Recommended for You

This package contains the Microsoft Azure DigitalTwins client library.

1.1k stars

A java english dictionary library based on RiTa WordNet

2 stars

Geospatial Data Abstraction Library

12 usages
2.7k stars

More from Group

Signs the project artifacts with GnuPG.

139 usages

The Apache Maven Javadoc Plugin is a plugin that uses the javadoc tool for generating javadocs for the specified project.

82 usages
43 stars

Provides utility goals to work with dependencies like copying, unpacking, analyzing, resolving and many more.

78 usages

The Compiler Plugin is used to compile the sources of your project.

71 usages
101 stars

The Maven Source Plugin creates a JAR archive of the source files of the current project.

67 usages
© 2022 JMaven.com