Hi
this is my configuration
<executions>
<execution>
<id>generate-mysql-schemaName</id>
<phase>generate-sources</phase>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<jdbc>
<driver>${driverName}</driver>
<url>${url}</url>
<user>${user}</user>
<password>${password}</password>
</jdbc>
<generator>
<database>
<includes>.*</includes>
<excludes>SQL [
SELECT GROUP_CONCAT(table_schema,'.', table_name,'|')
FROM information_schema.views;
<!--
SELECT CONCAT(table_schema,'.', table_name,'|')
FROM information_schema.views
SELECT CONCAT(table_schema,'.', table_name,'|')
FROM information_schema.tables;
SELECT GROUP_CONCAT(table_schema,'.', table_name,'|')
FROM information_schema.tables;
-->
</excludes>
<inputSchema>inputSchema</inputSchema>
</database>
<target>
<packageName>com.inputSchema</packageName>
<directory>${someDir}</directory>
</target>
<generate>
<sources>true</sources>
<sourcesOnViews>false</sourcesOnViews>
</generate>
</generator>
</configuration>
</execution>
</executions>