https://github.com/phax/ph-forbidden-apis
Forbidden APIs signature for my projects
https://github.com/phax/ph-forbidden-apis
Last synced: 11 months ago
JSON representation
Forbidden APIs signature for my projects
- Host: GitHub
- URL: https://github.com/phax/ph-forbidden-apis
- Owner: phax
- License: apache-2.0
- Created: 2016-05-19T18:40:25.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2025-01-21T10:15:09.000Z (over 1 year ago)
- Last Synced: 2025-01-21T11:25:02.858Z (over 1 year ago)
- Language: Java
- Size: 103 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# ph-forbidden-apis
[Forbidden APIs](https://github.com/policeman-tools/forbidden-apis) signature for my projects.
They are mostly about style and performance and not so much about correctness.
## Usage in Maven
Put a call to the forbidden-apis plugin and add this as a signatureArtifact:
```xml
...
...
de.thetaphi
forbiddenapis
3.2
false
jdk-unsafe
jdk-deprecated
jdk-internal
jdk-non-portable
jdk-system-out
jdk-reflection
com.helger
ph-forbidden-apis
1.1.1
jar
forbidden-apis-java8.txt
**/TestClassToExclude.class
check
testCheck
...
...
```
Run the check explicitly (one of them):
```
mvn forbiddenapis:check
mvn forbiddenapis:testCheck
```
# News and Noteworthy
* v1.1.1 - 2018-03-28
* Fixed a typo in Java9 file, and added a test for reading
* v1.1.0 - 2018-03-28
* Changed filenames to `forbidden-apis-java8.txt` and `forbidden-apis-java9.txt`
* v1.0.0 - 2017-03-29
* Initial version containing `forbidden-apis.txt`
---
My personal [Coding Styleguide](https://github.com/phax/meta/blob/master/CodingStyleguide.md) |
It is appreciated if you star the GitHub project if you like it.