Skip to content

Latest commit

 

History

History
39 lines (32 loc) · 1.21 KB

installation-en.md

File metadata and controls

39 lines (32 loc) · 1.21 KB

Installation

  • Import MVCI as dependency.
    Following methods are available:
    1. clone repo and mvn install
    2. Download pre-built .jar from GitHub releases
    3. 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 folder META-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.

Configuration

Home