no easy way to figure generated source roots for a project
----------------------------------------------------------
Key: MNG-1450
URL: http://jira.codehaus.org/browse/MNG-1450
Project: Maven 2
Type: Bug
Components: maven-embedder
Reporter: Milos Kleint
in m1, I used 2 properties to figure out the source roots for generated
sources. That's necessary to make code completion work properly in IDE
integration. It didn't work when you had cleaned project, but whenever there
was something built it worked.
with m2 it's more limiting. Not only need the generated sources be present you
to get these roots you basically need to run at least part of the build. That's
a performance bottleneck, it has to be run whenever the IDE is opened, or when
the pom file changes.
At least it would be nice if one could figure if there is a plugin in the
lifecycle that generates some sources. Otherwise one has to be defensive and do
it for all projects, unnecessary.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]