Which version of Eclipse are you using? Sign up using Email and Password. Once the folder is added to the build path this has to be done manually -- if not done by the buildhelper-maven-plugin , Eclipse should always keep it. After that Eclipse will generate source on project clean, including after Maven -update project PaulVerest I told you it was only a partial answer but you told me to answer anyways: The m2e plugin is not much more than a "signal Eclipse to rescan" plugin.
Uploader: | Meztizilkree |
Date Added: | 1 September 2007 |
File Size: | 55.19 Mb |
Operating Systems: | Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X |
Downloads: | 67398 |
Price: | Free* [*Free Regsitration Required] |
Active 2 years, 10 months ago.
It shouldn't do that, even on hard refresh. Stack Overflow works best with JavaScript enabled. Post as a guest Name. Thanks to sergei-ivanov answer in https: Can you post your current POM?
Subscribe to RSS
How do we handle problem users? It would be super great to have it for protoc-jar-maven-plugin. Currently one needs to run mvn generate-source or mvn protobuf: Unicorn Meta Zoo 9: Maybe it could plugib an upgrade, along with m2e.
If some explanation is needed I'll be happy to provide it though. One issues added for the answer as comment. PaulVerest I told you it was only a partial answer but you told me to answer anyways: I see in the source code of the plugin that it correctly adds the generated files to the maven project, so in Eclipse, once you add it as source folder, and don't clean without re-compiling, it should still work.
I'm resigning as a moderator from all Stack Exchange sites, effective today. Asked 2 years, 11 months ago. So, in the clean builds, Eclipse will deep scan all folders to "find out" the new stuff, but in a "build" it tends to trust its alternate universe of the Maven config, which often misses generated items.
The bounty is yours anyways. Once the folder is added to the build path this has to be done manually -- if not done by the buildhelper-maven-pluginEclipse should always keep it. Stack Overflow for Teams is a private, secure spot for you and your coworkers to find and share information.
The m2e plugin is not much more than a "signal Eclipse to rescan" plugin. Or what is the same add Run configuration to invoke maven goal compile. Unfortunately the changes in the. So one need to generate and refresh project F5.
My answer builds at the same time in the same way with the same limitations, am I missing something? Sign up using Facebook.
I was able to do this in the latest Eclipse Neon it will probably work in later ones too, but I don't know for certain. S That plugin https: Also, can you answer the previous comment I left?
Which version of Eclipse are you using? Captain Man Captain Man 3, 3 3 gold badges 28 28 silver badges 57 57 bronze badges. Improving the question-asking experience.
配置 Maven 自动化构建 protobuf 代码依赖
I don't think it requires any special explanation, my solution is to simply use a different plugin than the one you are using. The goal is prrotoc new developers can get code into Eclipse, and be able to run it. Instead of using org.
No comments:
Post a Comment