This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Polyglot Maven support | ||
---|---|---|---|
Product: | projects | Reporter: | hantsy <hantsy> |
Component: | Maven | Assignee: | Jesse Glick <jglick> |
Status: | REOPENED --- | ||
Severity: | normal | CC: | wvreeven |
Priority: | P3 | ||
Version: | 8.2 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
hantsy
2010-11-05 10:18:06 UTC
It is likely that the IDE would be able to successfully read such a POM if the Polyglot support were integrated. It would not be able to *write* changes to it the way it does pom.xml, since a script is not necessarily fully declarative, so e.g. the Dependencies node would have no Add... action and all fields in the project's Properties dialog would have to be disabled. Semantic code completion in pom.groovy is also unlikely. So you would be able to open projects, and make textual edits to them - better than nothing but certainly inferior to the IDE's support for regular POMs. I think no need full implementation like pom.xml...but I think it is better to provide the following... 1. can read the script completely to resolve dependencies, plugins...etc 2. can execute target as normal maven. 3. provide code assistance in the specified "pom.groovy"(Code completion, Code generation, Error Marker, Hint). #1 and #2 are probably doable without much work (assuming Polyglot is easy to embed). #3 is likely a lot of work and I would not expect anyone to want to work on it, unless Polyglot really gets widely adopted. Have not heard any other requests for this; no plans to implement. Oh....the issue I wrote here is not a request ? Any _other_ requests. Have not heard of it in wide use in the field. Ok, I agree ur point, It is not used widely... But I remembered I created another issue for requesting Gradle support( http://netbeans.org/bugzilla/show_bug.cgi?id=191664 )? It was closed directly? It is widely used...why WANTNOT fix it. We are many years later now and polyglot is more widely used that back when this issue was first opened. Will you please reconsider adding support for 1. and 2.? To remind you: 1. can read the script completely to resolve dependencies, plugins...etc 2. can execute target as normal maven. Thanks very much in advance! Our company would also love to see maven polyglot support for Netbeans. In fact we had to switch to another ide for some projects just because Netbeans lack it. |