https://github.com/windup/windup-rulesets
Windup rules and rulesets contributed by community.
https://github.com/windup/windup-rulesets
java migrations rules ruleset xml
Last synced: about 1 year ago
JSON representation
Windup rules and rulesets contributed by community.
- Host: GitHub
- URL: https://github.com/windup/windup-rulesets
- Owner: windup
- License: epl-2.0
- Created: 2014-09-11T21:51:19.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2024-08-07T10:13:29.000Z (over 1 year ago)
- Last Synced: 2025-03-25T07:51:09.536Z (about 1 year ago)
- Topics: java, migrations, rules, ruleset, xml
- Language: Java
- Homepage: http://windup.jboss.org
- Size: 141 MB
- Stars: 29
- Watchers: 8
- Forks: 74
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Windup Rulesets
===============
Rules and rulesets contributed by community.
Follow the [Get Involved](https://github.com/windup/windup/wiki/Get-Involved) in Windup wiki.
Directory structure
-----------
The `rules` module repository is organized in subdirectories:
* `rules-reviewed`: this is where you can make contribution and add new rules
* `rules-generated`: these rules are automatically generated (from the Quarkus main git repo) and you should not add new rules here
* `rules-overridden-azure`: this is where you can override existing rules (mostly the ones under `rules-reviewed`)
Testing the rules
-----------
To limit the XML-based tests (`windup.test.xml`) which are run, use `-DrunTestsMatching=...`.
The value can be any part of the test filename to match. Like, `-DrunTestsMatching=hsearch`.
By default, when executing the tests, the `href` attributes of the `` tags are also tested. This means that there is an external request to each URL.
If you want to avoid this, you can use the `-Dtest=WindupRulesTest` flag in conjunction with the `-f` flag:
```
mvn clean test -f rules -Dtest=WindupRulesTest -DrunTestsMatching=hsearch
```
Building from source
-----------
Ensure you use the provided Maven Wrapper utility to build the project, as Windup requires Maven 3.8.8:
./mvnw verify