Skip to content

HavenLin/event-table-generator-maven-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

event-table-generator-maven-plugin

This plugin generates the markdown table based on the project‘s event definition, the resulting MD file can be displayed on GitHub

How to build

Prerequisites

  • Java 1.8+
  • Maven 3.3+

Sample

<plugin>
    <groupId>com.github.halin</groupId>
    <artifactId>event-table-generator-maven-plugin</artifactId>
    <version>1.0</version>
    <configuration>
        <eventClass>{fullClassPath}</eventClass>
        <idGetter>getId</idGetter>
        <messageGetter>getDescription</messageGetter>
        <outputPath>EVENTMESSAGE.md</outputPath>
    </configuration>
    <executions>
        <execution>
            <phase>compile</phase>
            <goals>
                <goal>errorCodeGen</goal>
            </goals>
        </execution>
    </executions>
</plugin>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages