You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@groovy.apache.org by Tommy Svensson <to...@natusoft.se> on 2026/07/21 12:44:46 UTC

Can't make IDEA understand that I'm wringinf compiled Groovy code and not scripts!

When I create a new maven module containing Groovy  code,  IDEA  creates this:

        ...
             <configuration>
                    <scripts>
                        <script>src/main/groovy/Main.groovy</script>
                    </scripts>
                </configuration>
        ...

I am not doing groovy scripts! I'm writing complied groovy code. 

Is there any way to make IDEA aware of this ? 

I would have also sent this to JetBrains, but found no email address to their support.


I can of course fix this manually in pom after creating a maven module , but much more prefer to being able to tell IDEA this and have it generate valid POMs for me. 

Any suggestions are apprecieated!


  
  
 Tommy Svensson
  
 tommy@natusoft.se
  
   
   
  
   
   
   
  
   




mailto:tommy@natusoft.seÖppnaKopiera