Invoking Actions other than Build and Clean & Build

后端 未结 4 1373
遥遥无期
遥遥无期 2020-12-09 19:26

I am new to NetBeans and am trying to define and run various custom goals for my Maven proj. My Maven proj uses a number of plugins; once for building the Java classes, anot

4条回答
  •  死守一世寂寞
    2020-12-09 20:07

    First go to the Project Properties > Actions and create your MVN build

    Project properties

    The above will run:

    mvn install -P initdb,initdb-qa -DskipTest=true -Dprop.name=dev
    

    Then it will become available under "Custom"

    Custom Action

提交回复
热议问题