6 Replies Last post: Jan 11, 2012 8:59 PM by Anton Makeev  
michael dikman Newbie 25 posts since
Dec 27, 2011
Currently Being Moderated

Jan 10, 2012 7:24 PM

groovy project from maven pom

Hi,

I am importing a maven project that has java files under src/main/java and groovy files under src/main/groovy

Only the java files are recognized as source files in Intellij and the groovy files are not.

 

Is there a way to fix that in the pom some how?

 

Thanks

Peter Gromov Apprentice 850 posts since
Sep 12, 2002
Currently Being Moderated
Jan 10, 2012 11:15 PM in response to: michael dikman
Re: groovy project from maven pom

Which IDEA version are you using?

Peter Gromov Apprentice 850 posts since
Sep 12, 2002
Currently Being Moderated
Jan 10, 2012 11:20 PM in response to: michael dikman
Re: groovy project from maven pom

How exactly do you import the project, which actions do you invoke for that?

Anton Makeev JetBrains 1,291 posts since
Dec 19, 2006
Currently Being Moderated
Jan 11, 2012 8:59 PM in response to: michael dikman
Re: groovy project from maven pom

As the groovy sources ar configured by the plugin (build-helper-maven-plugin) they are not imported automatically.

Please use 'Generate Sources and Update Folders' action as desribed here: http://wiki.jetbrains.net/intellij/Maven_FAQ.

More Like This

  • Retrieving data ...