9 Star 19 Fork 11

abel533 / mybatis-generator-core

 / 详情

你好如何构建mybatis-generator-core源码

待办的
创建于  
2015-05-25 16:53

我下载了mybatis-generator源码,无论是maven plugins插件 maven eclipse:eclipse 无法成功,eclipse 插件工程导入eclipse也报错。 我主要是想修改源代码使其支持vm模板,不知道你是否构建过源码。谢谢

评论 (4)

把parent项目下载到本地构建之后在试试。

<parent>
    <groupId>org.mybatis</groupId>
    <artifactId>mybatis-parent</artifactId>
    <version>24</version>
  </parent>  

改成这样就可以了。
但是eclipse插件那个项目还是不行,我再研究研究.

补充,搞定了。core项目中.project 文件中有

<linkedResources>
		<link>
			<name>src</name>
			<type>2</type>
			<locationURI>MYBATIS_GENERATOR_SOURCE</locationURI>
		</link>
	</linkedResources>

配置MYBATIS_GENERATOR_SOURCE 链接到maven项目的core就可以了

你们是如何构建的?我也构建的时候遇到了问题,generator/core这个我都不知怎么构建成功

登录 后才可以发表评论

状态
负责人
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
参与者(4)
8363 free 1578914558 299901 cfw 1578919650 115705 hbwhypw 1614060433
Java
1
https://gitee.com/free/mybatis-generator-core.git
git@gitee.com:free/mybatis-generator-core.git
free
mybatis-generator-core
mybatis-generator-core

搜索帮助