generatorConfig.xml in
<javaModelGenerator targetPackage="edu.cn.pojo" targetProject="../shopping_bean/src/main/java"></javaModelGenerator> <sqlMapGenerator targetPackage="mapper" targetProject="./src/main/resources"></sqlMapGenerator> <javaClientGenerator type="XMLMAPPER" targetPackage="edu.cn.dao" targetProject="./src/main/java"></javaClientGenerator>
Property targetPackage value of the package name and the package name may not exist, he is automatically created, the value of property targetProject project directory name, and must already exist, otherwise it will error
The home directory for the current value targetProject directory submodule
In the multi-module project maven may be utilized at the same level relative to the sub-directory switching modules, such as ../shopping_bean/src/main/java