问题描述
在Helios/m2eclipse下,当我生成jaxb源代码时,当我执行更新项目配置"时,它们将被放置在Eclipse源代码路径上.
Under Helios/m2eclipse, when I generated jaxb sources they would be put on the Eclipse source path when I did an "Update Project Configuration".
Indigo/m2e(2011年6月22日初始发行)不会发生这种情况.我需要做些什么来解决这个问题?
This doesn't happen with Indigo/m2e (initial release of 22 June 2011). What do I need to do to fix this?
我正在使用标准的0.75版本的maven-jaxb2-plugin.
I'm using the standard maven-jaxb2-plugin, version 0.75.
推荐答案
在Eclipse中,转到安装新软件",添加软件站点: http://bitstrings.github.com/m2e-connectors-p2/releases/
In Eclipse go to "Install New Software" add the software site: http://bitstrings.github.com/m2e-connectors-p2/releases/
选择"jaxb2的m2e连接器"
Select the "m2e connector for jaxb2"
安装插件后,jaxb2插件应与新版本的m2e正确集成.
Once you get that plugin installed the jaxb2 plugin should integrate correctly with the new version of m2e.
此信息来自: https://bugs.eclipse.org/bugs /show_bug.cgi?id=350299
这篇关于如何在m2e/Indigo下将JAXB生成的源添加到Eclipse构建路径中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!