SchmidRules Maven Plugin

Maven Plugin for Schmidrules Easy Application Architecture

License

License

Categories

Categories

Maven Build Tools
GroupId

GroupId

org.schmidrules
ArtifactId

ArtifactId

schmidrules-maven-plugin
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

maven-plugin
Description

Description

SchmidRules Maven Plugin
Maven Plugin for Schmidrules Easy Application Architecture
Source Code Management

Source Code Management

http://github.com/schmidrules/schmidrules-maven-plugin/tree/master

Download schmidrules-maven-plugin

How to add to project

<plugin>
    <groupId>org.schmidrules</groupId>
    <artifactId>schmidrules-maven-plugin</artifactId>
    <version>1.0.0</version>
</plugin>

Dependencies

compile (8)

Group / Artifact Type Version
org.apache.maven : maven-plugin-api jar 2.2.1
org.apache.maven : maven-artifact jar 2.2.1
org.apache.maven : maven-project jar 2.2.1
org.apache.maven : maven-model jar 2.2.1
org.apache.maven : maven-core jar 2.0.9
org.codehaus.plexus : plexus-component-annotations jar 1.7
log4j : log4j jar 1.2.16
org.schmidrules : schmidrules jar 1.0.0

provided (1)

Group / Artifact Type Version
org.apache.maven.plugin-tools : maven-plugin-annotations jar 3.4

test (1)

Group / Artifact Type Version
junit : junit jar 4.11

Project Modules

There are no modules declared in this project.

schmidrules-maven-plugin

Maven plugin for schmidrules

Project status

This project has been created, because we had an internal need to simply describe our application architecture, enforce it by having a build breaker in our CI pipeline and create a visualization based on the architecture descriptor file. At the time of the creation ArchUnit was not available or at least not publicly available. In the meantime, ArchUnit has become an actively maintained, sophisticated solution to test the application architecture and we recommend using it for new Java applications instead of schmidrules.

Usage

  1. create src/main/config/schmid-rules.xml
  2. mvn org.schmidrules:schmidrules-maven-plugin:assert

Or include the plugin in the Maven build via pom.xml.

<plugins>
  <plugin>
    <groupId>org.schmidrules</groupId>
    <artifactId>schmidrules‐maven‐plugin</artifactId>
    <version>1.0.0</version>
    <executions>
      <execution>
        <phase>process‐sources</phase>
        <goals>
          <goal>assert</goal>
        </goals>
      </execution>
    </executions>
  </plugin>
</plugins>

The assert will produce a build failure if the defined application architecture in the XML file does not match the real architecture of the application.

org.schmidrules
Easy Application Architecture

Versions

Version
1.0.0