Maven compile mixed Java + Groovy 1.7 project, using gmaven-plugin

前端 未结 3 476
既然无缘
既然无缘 2020-12-05 04:39

As per the top two answers in: maven dependencies groovy. I\'m trying to compile a mixed Java 6 + Groovy project with Maven, using the GMaven-plugin from org.codehaus.gmaven

3条回答
  •  自闭症患者
    2020-12-05 05:06

    
    
                    org.apache.maven.plugins
                    maven-compiler-plugin
                    3.5.1
                    
                        1.7
                        1.7
                        groovy-eclipse-compiler                    
                    
    
          
            org.codehaus.groovy
            groovy-eclipse-compiler
            2.8.0-01
          
          
            org.codehaus.groovy
            groovy-eclipse-batch
            2.1.5-03
          
                 
                   
    

    See this article, it helped me to compile both java and groovy

    Groovy Java compile together

提交回复
热议问题