A Maven plugin. Work in progress
Will add many features. Just wait. Thank you.
- 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>
- 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>
- Enjoy
./mvnw hexindai:newvfundio -Duserid=148407