-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support m2e/Eclipse integration #25
Comments
Sounds like an interesting addition. Unfortuntely I have no idea how to do this. If you send a pull request with this functionality, I'd gladly merge it in. |
Hi @candrews In my case, the jspc-maven-plugin is using in CI, to ensure they are not jspc error, and package all jspc in final WAR. But in development i'm not using it, because Tomcat Handle it directly. So I never tell to eclipse to run this plugin. Maybe you have different cases Other thing : you need m2e to "execute" the plugin or to "ignore" the plugin? I think it's execute, but I ask. And you need incremental using too ? Because if it's true, they are some work to do in jspc-maven-plugin, because we need to add BuildContext support directly in the code. Regards |
I'm also using this plugin as a key part of the CI strategy. However, I'm finding it useful for developers, and I think having it be able to report errors in Eclipse (ex, when a change is made to a JSP that is invalid then having it report that error in Eclipse's "Problems" view, just like if an illegal change is made to Java source code) would be really great. Ideally, incremental would be supported, which would require changes to jspc-maven-plugin. I haven't dug in to see how exactly to do it, but using |
Support incremental builds as well as Eclipse compatible error reporting See https://wiki.eclipse.org/M2E_compatible_maven_plugins Closes: leonardehrenfried#25
It would be nice if jspc-maven-plugin included m2e support.
See https://wiki.eclipse.org/M2E_compatible_maven_plugins
Adding such support would eliminate having to manually add m2e configuration to the pom for every project that uses jspc-maven-plugin and would speed up development by only causing Eclipse to refresh files that are changed by the plugin.
The text was updated successfully, but these errors were encountered: