- Import MVCI as dependency.
Following methods are available:clone repo
andmvn install
- Download pre-built .jar from GitHub releases
- Use GitHub Maven Packages
<repositories> <repository> <id>github</id> <url>https://maven.pkg.github.com/FirokOtaku/MVCIntrospector</url> </repository> </repositories> <dependencies> <dependency> <groupId>firok.spring</groupId> <artifactId>mvci</artifactId> <version>{VERSION}</version> </dependency> </dependencies>
You need to config authentication to use GitHub Maven Packages
- create file
javax.annotation.processing.Processor
at folderMETA-INF/services/
with following content:firok.spring.mvci.MVCIntrospectProcessor
After that, enable APT in your develop environment.
Create JavaBean(s) marked with @BeanIntrospective
for database table(s)
and re-build project.
Then you could see the effects.