💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
如果为true,则MBG会将进度消息写入构建日志。建议开启,设为true。 ```xml <build> <plugins> <plugin> <groupId>org.mybatis.generator</groupId> <artifactId>mybatis-generator-maven-plugin</artifactId> <version>1.3.7</version> <configuration> <verbose>true</verbose> </configuration> <dependencies> <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> <version>8.0.19</version> </dependency> </dependencies> </plugin> </plugins> </build> ``` 值为false时,日志: ``` "C:\Program Files\Java\jdk1.8.0_221\bin\java.exe" -Dmaven.multiModuleProjectDirectory=C:\Users\zhangpn\IdeaProjects\generator -Dmaven.home=D:\Maven -Dclassworlds.conf=D:\Maven\bin\m2.conf "-Dmaven.ext.class.path=D:\JetBrains\IntelliJ IDEA 2020.1\plugins\maven\lib\maven-event-listener.jar" "-javaagent:D:\JetBrains\IntelliJ IDEA 2020.1\lib\idea_rt.jar=57249:D:\JetBrains\IntelliJ IDEA 2020.1\bin" -Dfile.encoding=UTF-8 -classpath D:\Maven\boot\plexus-classworlds-2.6.0.jar org.codehaus.classworlds.Launcher -Didea.version2020.1 -s D:\Maven\conf\settings.xml org.mybatis.generator:mybatis-generator-maven-plugin:1.3.7:generate [INFO] Scanning for projects... [INFO] [INFO] -----------------------< com.gosuncn:generator >------------------------ [INFO] Building generator 1.0 [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- mybatis-generator-maven-plugin:1.3.7:generate (default-cli) @ generator --- [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 5.993 s [INFO] Finished at: 2020-05-02T09:57:56+08:00 [INFO] ------------------------------------------------------------------------ ``` 值为true时,日志: ``` "C:\Program Files\Java\jdk1.8.0_221\bin\java.exe" -Dmaven.multiModuleProjectDirectory=C:\Users\zhangpn\IdeaProjects\generator -Dmaven.home=D:\Maven -Dclassworlds.conf=D:\Maven\bin\m2.conf "-Dmaven.ext.class.path=D:\JetBrains\IntelliJ IDEA 2020.1\plugins\maven\lib\maven-event-listener.jar" "-javaagent:D:\JetBrains\IntelliJ IDEA 2020.1\lib\idea_rt.jar=57266:D:\JetBrains\IntelliJ IDEA 2020.1\bin" -Dfile.encoding=UTF-8 -classpath D:\Maven\boot\plexus-classworlds-2.6.0.jar org.codehaus.classworlds.Launcher -Didea.version2020.1 -s D:\Maven\conf\settings.xml org.mybatis.generator:mybatis-generator-maven-plugin:1.3.7:generate [INFO] Scanning for projects... [INFO] [INFO] -----------------------< com.gosuncn:generator >------------------------ [INFO] Building generator 1.0 [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- mybatis-generator-maven-plugin:1.3.7:generate (default-cli) @ generator --- [INFO] Connecting to the Database [INFO] Introspecting table student [INFO] Generating Record class for table student [INFO] Generating Mapper Interface for table student [INFO] Generating SQL Map for table student [INFO] Saving file StudentMapper.xml [INFO] Saving file Student.java [INFO] Saving file StudentMapper.java [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2.473 s [INFO] Finished at: 2020-05-02T09:59:09+08:00 [INFO] ------------------------------------------------------------------------ ```