Skip to content

Component Dependency Matrix

Adrian Papari edited this page Jun 1, 2014 · 14 revisions

What it does

Generates an html report describing the relationship between systems, managers and components.

Example

Shaman's Weirding Game: Component Dependency Matrix

Usage

As a maven plugin

<build>
    <plugins>
        <plugin>
            <groupId>net.onedaybeard.artemis</groupId>
            <artifactId>artemis-odb-maven-plugin</artifactId>
            <version>${artemis.odb.version}</version>
            <executions>
                <execution>
                    <goals>
                        <goal>matrix</goal>
                    </goals>
                </execution>
            </executions>
        </plugin>
    <plugins>
<build>

From the command line

$ java -jar artemis-odb-matrix-0.6.0-cli.jar --help
Usage: artemis-odb-matrix [options]
  Options:
  * -c, --cless-folder
       Root class folder
    -h, --help
       Displays this help message.
       Default: false
    -l, --label
       Project name.
       Default: Unknown artemis project
    -o, --output
       Save to file
       Default: matrix.html
$ java -jar artemis-odb-matrix-0.5.1-SNAPSHOT-cli.jar \
    -l "Naturally Selected 2D" \
    -c ~/opt/dev/git/naturally-selected-2d/core/build/classes/ \
    -o ~/opt/dev/git/junkdog.github.io/matrix-ns2d.html 

Clone this wiki locally