https://github.com/irof/jig-maven-plugin
https://github.com/irof/jig-maven-plugin
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/irof/jig-maven-plugin
- Owner: irof
- License: apache-2.0
- Created: 2021-04-02T16:22:16.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2025-02-16T15:08:29.000Z (4 months ago)
- Last Synced: 2025-02-16T16:24:04.427Z (4 months ago)
- Language: Java
- Size: 138 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
jig-maven-plugin
============================================================[](https://maven-badges.herokuapp.com/maven-central/com.github.irof/jig-maven-plugin/)
[JIG](https://github.com/dddjava/jig)
# usage
## 簡易
```
mvn com.github.irof:jig-maven-plugin:jig
````pom.xml` には何も書かなくていいです。
「とりあえずパッケージ関連図を出したい」だとこんな感じです。
```
mvn clean compile com.github.irof:jig-maven-plugin:jig -D"jig.pattern.domain=.*" -D"jig.document.types=PackageRelationDiagram"
```## 通常
プラグインのバージョンとか設定を `/project/build/plugins` に追加
```pom.xml
...
...
...
com.github.irof
jig-maven-plugin
2023.9.1
.*
```
実行
```
mvn jig:jig
```## マルチモジュールプロジェクト対応
`2023.2.1.1` 以降、マルチモジュールプロジェクトに対応しています。
使用例は https://github.com/dddjava/jig-sample/tree/main/sample-maven-multi を参照してください。# 設定
|対象|configurationタグ名|プロパティ名|
|----|----|----|
|出力対象JIGドキュメント| `documentTypes` | `jig.document.types` |
|ドメインのパターン| `domainPattern` | `jig.pattern.domain` |任意。指定なしの場合はJIGのデフォルトに従う。