|
60 | 60 | </dependency> |
61 | 61 | </dependencies> |
62 | 62 | </dependencyManagement> |
| 63 | + <profiles> |
| 64 | + <profile> |
| 65 | + <id>codegen</id> |
| 66 | + <build> |
| 67 | + <plugins> |
| 68 | + <plugin> |
| 69 | + <groupId>org.minbox.framework</groupId> |
| 70 | + <artifactId>api-boot-mybatis-enhance-maven-codegen</artifactId> |
| 71 | + <version>${api-boot.version}</version> |
| 72 | + <dependencies> |
| 73 | + <!--数据驱动依赖--> |
| 74 | + <dependency> |
| 75 | + <groupId>mysql</groupId> |
| 76 | + <artifactId>mysql-connector-java</artifactId> |
| 77 | + <version>5.1.47</version> |
| 78 | + </dependency> |
| 79 | + </dependencies> |
| 80 | + <executions> |
| 81 | + <execution> |
| 82 | + <goals> |
| 83 | + <goal>generator</goal> |
| 84 | + </goals> |
| 85 | + </execution> |
| 86 | + </executions> |
| 87 | + <configuration> |
| 88 | + <execute>false</execute> |
| 89 | + <dbName>knowledge</dbName> |
| 90 | + <dbUrl>jdbc:mysql://localhost:3306</dbUrl> |
| 91 | + <dbUserName>root</dbUserName> |
| 92 | + <dbPassword>123456</dbPassword> |
| 93 | + <packageName>org.minbox.framework.api.boot.sample</packageName> |
| 94 | + <tableNamePattern>kl%</tableNamePattern> |
| 95 | + </configuration> |
| 96 | + </plugin> |
| 97 | + </plugins> |
| 98 | + </build> |
| 99 | + </profile> |
| 100 | + </profiles> |
63 | 101 | <build> |
64 | 102 | <plugins> |
65 | 103 | <plugin> |
66 | 104 | <groupId>org.springframework.boot</groupId> |
67 | 105 | <artifactId>spring-boot-maven-plugin</artifactId> |
68 | 106 | <version>${spring-boot.version}</version> |
69 | 107 | </plugin> |
70 | | - <plugin> |
71 | | - <groupId>org.minbox.framework</groupId> |
72 | | - <artifactId>api-boot-mybatis-enhance-maven-codegen</artifactId> |
73 | | - <version>2.3.1.RELEASE</version> |
74 | | - <dependencies> |
75 | | - <!--数据驱动依赖--> |
76 | | - <dependency> |
77 | | - <groupId>mysql</groupId> |
78 | | - <artifactId>mysql-connector-java</artifactId> |
79 | | - <version>5.1.47</version> |
80 | | - </dependency> |
81 | | - </dependencies> |
82 | | - <executions> |
83 | | - <execution> |
84 | | - <goals> |
85 | | - <goal>generator</goal> |
86 | | - </goals> |
87 | | - </execution> |
88 | | - </executions> |
89 | | - <configuration> |
90 | | - <execute>false</execute> |
91 | | - <dbName>knowledge</dbName> |
92 | | - <dbUrl>jdbc:mysql://localhost:3306</dbUrl> |
93 | | - <dbUserName>root</dbUserName> |
94 | | - <dbPassword>123456</dbPassword> |
95 | | - <packageName>org.minbox.framework.api.boot.sample</packageName> |
96 | | - <tableNamePattern>kl%</tableNamePattern> |
97 | | - </configuration> |
98 | | - </plugin> |
99 | 108 | </plugins> |
100 | 109 | </build> |
101 | 110 | </project> |
0 commit comments