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.

Bug 168781 - Maven support for grails projects
Summary: Maven support for grails projects
Status: NEW
Alias: None
Product: groovy
Classification: Unclassified
Component: Grails (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker with 14 votes (vote)
Assignee: Martin Janicek
Depends on:
Reported: 2009-07-19 18:58 UTC by brentryan
Modified: 2014-11-03 23:53 UTC (History)
1 user (show)

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description brentryan 2009-07-19 18:58:33 UTC
In order to develop grails projects for the enterprise, netbeans should provide support for maven & grails together so
that the developer can add dependencies to a maven pom.xml file and the netbeans grails project will recognize those
dependencies and build the grails project using the maven lifecycle instead of grails.
Comment 1 Milos Kleint 2009-07-19 20:02:56 UTC
reassigning to grails, that's where the changes need to be added
Comment 2 truemped 2009-11-25 07:13:56 UTC

I am quite new here but is there any progress? Has anyone started working on this issue?

Thanks for the update
Comment 3 cellux 2011-05-24 14:30:17 UTC
Is there a plan for fixing this issue? 

It seems to be at least somewhat better in Netbeans 7.0. In a Maven Java project with both Java/Groovy sources, when editing Groovy files the class import auto-complete throws: "unable to resolve class". Although I'm able to enter the required imports manually without problems.

Without auto-import, groovy support is quite crippled though.
Comment 4 mandrews 2012-08-13 11:23:05 UTC
This is really needed. IDE Does not recognize deps in the pom.xml. This prevents me from using the IDE for grails dev. :(  Commands need to execute mvn grails:* commands as well.
Comment 5 irotsoma 2014-11-03 23:53:31 UTC
I know this is an old issue that seems to have very little priority for the product, but I wanted to add my vote and comments.  

Could we at least have the ability to open a project that is both Grails and Maven as a Maven project?  Currently, you can only open it as Grails.  This causes problems because the project can't find dependencies and other maven projects that depend on the grails project don't find those dependencies and thus report errors. 

Also, this actually prevents our corporation from being able to use Netbeans.  It seems the only IDE that properly deals with this is the commercial version of Intellij IDEA which is quite pricey.  I'd love to be able to use Netbeans for this, and it would allow us to share our code to other teams that don't have licenses for Intellij IDEA.

Anyway, I'd love to see this reconsidered for an upcoming version.