Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

27 watching

Forks

 
 

Latest commit

 

History

9 Commits

Folders and files

Repository files navigation

Hollow-api-generator-plugin

This plugin provides goal for generating hollow consumer api, that is described here

Usage

In order to use, add plugin to your pom.xml file and configure it

<plugin>
    <groupId>com.github.igorperikov</groupId>
    <artifactId>hollow-maven-plugin</artifactId>
    <version>0.1.1</version>
    <configuration>
        <packagesToScan>
            <param>org.example.package1</param>
            <param>org.example.package2</param>
        </packagesToScan>
        <apiClassName>MyApiClassName</apiClassName>
        <apiPackageName>org.example.package3.generated.api</apiPackageName>
    </configuration>
</plugin>

where:

  • packagesToScan - packages with your data classes, note that scan is recursive
  • apiClassName - class name for your api implementation
  • apiPackageName - target package in your project for api-related sources

launch task:

mvn compile hollow:generate

N.B. it is important to launch compile before hollow:generate because plugin needs .class files to generate consumer api

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

27 watching

Forks

Releases

Packages

Contributors

Languages