Getting a source error building Groovy project with Maven

前端 未结 2 1472
无人及你
无人及你 2021-01-23 15:35

I am trying to build my first groovy project with maven but I am getting the following error from maven.. its somettype of source error but Idont understand why I am getting it.

2条回答
  •  鱼传尺愫
    2021-01-23 16:06

    You will have to define project and bind to mavenProject if you are using script rather than inline.

    def project = ${project}; // this will bind to the Maven Project property.
    

    likewise

    def session = ${session} //will bind to MavenSession
    

    Source - Look for custom properties

提交回复
热议问题