Skip to content

hexindai/hexindai-maven-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hexindai Maven Plugin

Github Workflows

A Maven plugin. Work in progress

Will add many features. Just wait. Thank you.

How to use?

  1. Add this plugin to you pom.xml
<build>
    <plugins>
        <plugin>
            <groupId>com.github.hexindai.maven.plugins</groupId>
            <artifactId>hexindai-maven-plugin</artifactId>
            <version>0.0.1</version>
            <configuration>
                <properties>
                    <property>
                        <name>tableNamePrefix</name>
                        <value>New_V_FundIO_</value>
                    </property>
                    <property>
                        <name>shardingCount</name>
                        <value>512</value>
                    </property>
                    <property>
                        <name>seed</name>
                        <value>12341234</value>
                    </property>
                    <property>
                        <name>numOfNodesPerTable</name>
                        <value>5</value>
                    </property>
                </properties>
            </configuration>
        </plugin>
    </plugins>
</build>
  1. Run this plugin
./mvnw com.github.hexindai.maven.plugins:hexindai-maven-plugin:0.0.1:newvfundio -Duserid=148407

This command is too long. Like short? Add the following to your ~/.m2/settings.xml file.

 <pluginGroups>
+    <pluginGroup>com.github.hexindai.maven.plugins</pluginGroup>
 </pluginGroups>
  1. Enjoy
./mvnw hexindai:newvfundio -Duserid=148407