Maven Enforcer Rules


License

License

Categories

Categories

Maven Build Tools
GroupId

GroupId

com.qoomon
ArtifactId

ArtifactId

maven-enforcer-rules
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

Maven Enforcer Rules
Maven Enforcer Rules
Project URL

Project URL

https://github.com/qoomon/maven-enforcer-rules
Source Code Management

Source Code Management

https://github.com/qoomon/maven-enforcer-rules.git

Download maven-enforcer-rules

How to add to project

<!-- https://jarcasting.com/artifacts/com.qoomon/maven-enforcer-rules/ -->
<dependency>
    <groupId>com.qoomon</groupId>
    <artifactId>maven-enforcer-rules</artifactId>
    <version>1.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.qoomon/maven-enforcer-rules/
implementation 'com.qoomon:maven-enforcer-rules:1.0.0'
// https://jarcasting.com/artifacts/com.qoomon/maven-enforcer-rules/
implementation ("com.qoomon:maven-enforcer-rules:1.0.0")
'com.qoomon:maven-enforcer-rules:jar:1.0.0'
<dependency org="com.qoomon" name="maven-enforcer-rules" rev="1.0.0">
  <artifact name="maven-enforcer-rules" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.qoomon', module='maven-enforcer-rules', version='1.0.0')
)
libraryDependencies += "com.qoomon" % "maven-enforcer-rules" % "1.0.0"
[com.qoomon/maven-enforcer-rules "1.0.0"]

Dependencies

compile (4)

Group / Artifact Type Version
org.apache.maven : maven-plugin-api jar 3.3.9
org.apache.maven.enforcer : enforcer-api jar 1.4.1
org.eclipse.jgit : org.eclipse.jgit jar 4.5.0.201609210915-r
com.google.guava : guava jar 19.0

provided (2)

Group / Artifact Type Version
org.apache.maven : maven-core jar 3.3.9
org.apache.maven.plugin-tools : maven-plugin-annotations jar 3.5

test (4)

Group / Artifact Type Version
org.apache.maven.plugin-testing : maven-plugin-testing-harness jar 3.3.0
org.apache.maven : maven-compat jar 3.3.9
junit : junit jar 4.12
org.assertj : assertj-core jar 3.5.2

Project Modules

There are no modules declared in this project.

Install

Maven Central

Build Status

...
<build>
    <plugins>
        <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-enforcer-plugin</artifactId>
            <version>LATEST</version>
            <dependencies>
                <dependency>
                    <groupId>com.qoomon</groupId>
                    <artifactId>maven-enforcer-rules</artifactId>
                    <version>LATEST</version>
                </dependency>
            </dependencies>
            <executions>
                <execution>
                    <id>release-rules</id>
                    <goals>
                        <goal>enforce</goal>
                    </goals>
                    <configuration>
                        <rules>
                            <requireReleaseVersion/>
                            <requireReleaseDeps/>
                            <requireSemverFormat implementation="com.qoomon.maven.enforcer.rules.SemverFormatEnforcerRule">
                        </rules>
                    </configuration>
                </execution>
            </executions>
        </plugin>
    </plugins>
</build>
...

Implementations

  • semver format
    • com.qoomon.maven.enforcer.rules.SemverFormatEnforcerRule

Versions

Version
1.0.0