apache / apache/grails-intellij-plugin
IntelliJ IDEA 2016.2.5 dependency resolution problem with Grails 3 multiproject
- Dominant language
- Java
- Stars
- 17
- Forks
- 4
- Avg merge
- 5d 15h
- Merged PRs (30d)
- 4
Description
Hi,
I've have a Grails 3 multiproject (see attached files) structured as a plugin project (myplugin) and an app project (myapp).
In myplugin I set all my dependencies like external libraries and Grails third party plugin.
Everything works fine except that IntelliJ can not resolve classes contained in the third party plugins.
See TestController of myapp project in the attached files, in action detect (TestController.groovy line 19) IntelliJ can not resolve UserAgentIdentService that is a service
of plugin 'org.grails.plugins:browser-detection:3.3.0' but the code runs without errors either in IntelliJ debug either in 'grails run-app'.
Same problem in the associated view (detect.gsp) IntelliJ cannot resolve Tablib <browser:...>.
System info:
OS Linux Mint 18
IntelliJ IDEA 2016.2.5
Environment: development
App profile: web
Grails version: 3.2.3
Groovy version: 2.4.7
JVM version: 1.8.0_111
Reloading active: true
In attachement: Project files, screenshots
---
*Imported from [IDEA-164183](https://youtrack.jetbrains.com/issue/IDEA-164183) · Type: Bug · Votes: 0*
*Comments, attachments, dates and reporter are not part of the export — follow the link above for the full history.*
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the attached Grails 3 multiproject in IntelliJ IDEA and compare its project model with grails run-app. Inspect TestController.groovy line 19 and detect.gsp, where the browser-detection plugin service and taglib are unresolved. Done means IntelliJ resolves UserAgentIdentService and the taglib while runtime behavior remains unchanged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- groovy, java
- Domain
- developer-experience, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100