testplugin Maven Plugin

This is a maven plugin.

License

License

GroupId

GroupId

cn.ennwifi
ArtifactId

ArtifactId

testplugin
Last Version

Last Version

0.0.7
Release Date

Release Date

Type

Type

maven-plugin
Description

Description

testplugin Maven Plugin
This is a maven plugin.
Project URL

Project URL

https://github.com/jyzhangbo/testplugin
Source Code Management

Source Code Management

https://github.com/jyzhangbo/testplugin

Download testplugin

How to add to project

<plugin>
    <groupId>cn.ennwifi</groupId>
    <artifactId>testplugin</artifactId>
    <version>0.0.7</version>
</plugin>

Dependencies

compile (8)

Group / Artifact Type Version
org.apache.maven : maven-plugin-api jar 2.0
org.codehaus.plexus : plexus-utils jar 3.0.8
org.apache.maven : maven-project jar 2.2.1
org.apache.maven : maven-model jar 2.2.1
mysql : mysql-connector-java jar 5.1.40
com.alibaba : druid jar 1.0.21
org.nutz : nutz jar 1.r.61
org.apache.velocity : velocity jar 1.7

provided (1)

Group / Artifact Type Version
org.apache.maven.plugin-tools : maven-plugin-annotations jar 3.2

Project Modules

There are no modules declared in this project.

This is a maven plugin

The version introduce

  • 0.0.1:generate the Pojo class that Nutz use, the table name is capital
  • 0.0.2:generate the Pojo class that Nutz use, the table name is the same as datasource's table
  • 0.0.7:generate the Pojo class that Nutz use, but the version only I can use

for more information,you can contact me use email

You can use it like below:

<plugin>
	<groupId>cn.ennwifi</groupId>
	<artifactId>testplugin</artifactId>
	<version>0.0.7</version>
	<executions>
		<!-- 生成数据库BEAN -->
		<execution>
			<id>genbean</id>
			<phase>generate-sources</phase>
			<goals>
				<goal>generate2</goal>
			</goals>
			<configuration>
				<path>${project.basedir}/src/main/java</path>
				<driver>com.mysql.jdbc.Driver</driver>
				<jdbcurl>jdbc:mysql://yourIp:3306/datesource</jdbcurl>
				<user>username</user>
				<pwd>password</pwd>
				<packageName>cn.ennwifi.smartpv.data.repository</packageName>
				<interfaceName>TableInfo</interfaceName>
			</configuration>
		</execution>
	</executions>
</plugin>

Versions

Version
0.0.7
0.0.4
0.0.3
0.0.2
0.0.1