|
|
That is a good question. Lets look at default-architecture-rules.xml
<architecture>
<configuration>
<sources no-packages="ignore"/>
<cyclicalDependency test="true"/>
<listeners>
<include>
<listener>org.architecturerules.listeners.LoggerListener</listener>
<listener>org.architecturerules.listeners.ReportListener</listener>
</include>
</listeners>
<properties>
<property key="report.output.directory" value="target/architecture"/>
<property key="report.output.format" value="xml"/>
</properties>
</configuration>
</architecture>
Since we include the two default listeners, we should have a way to remove
those listeners. So for that reason I do believe that the answer to your
question is YES. We should be able to exclude listeners.
So this needs to be added to the XML DTD and the programmatic API.
We'll just go with
<listeners>
<include>
<listener/>
</include>
<exclude>
<listener/>
<exclude>
</listeners>
|