Skip to content

Execute rule on the aggregator ('pom' packaging) #64

Description

@skylartd

Summary

There is archunit test(Layering testing) that need to perform on 'pom' packaging but the default behavior of the plugin is skip 'pom' packaging by default.

Type of Issue

It is a :

  • bug
  • request
  • question regarding the documentation

Motivation

I want to perform Archunit Layer Check using the plugin on many of our projects.

Current Behavior

The plugin will skip 'pom' packaging by default

Expected Behavior

The plugin configuration should provide a way to execute archunit check on 'pom' packaging and all its sub-module projects instead of just skipping it.
For example we can provide a configuration in the applyOn like this.

<configurableRule>
    <rule>com.test.LayerTest</rule>
    <applyOn>
        <!-- can be "true" or "false" -->
        <aggregator>true</aggregator>
    </applyOn>

    <checks>
        <check>LAYER_CHECK</check>
    </checks>
</configurableRule>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions