Integrating MyBatis Generator with a Custom Mapper Plugin
Configuring MBG with Maven An example from the Mybatis-Spring project demonstrates this integration. Using the Maven plugin allows referencing Maven properties in generatorConfig.xml via the ${property} syntax. First, examine the relevant section of the pom.xml configuraton: <properties> <!...