官术网_书友最值得收藏!

Time for action – configuring Maven on STS

We learned how to configure Tomcat on STS. Similarly, to build our project, STS will use Maven. But we have to tell STS where Maven has been installed so that it can use the Maven installation to build our projects. Let's take a look at how we can configure Maven on STS:

  1. Open STS if it is not already open.
  2. Navigate to Window | Preferences | Maven | Installations.
  3. On the right-hand side, you can see the Add button, to locate Maven's installation.
  4. Click on the Add button and choose Maven's installed directory, as shown in the following screenshot:
    Time for action – configuring Maven on STS

    Selecting Maven's location during the Maven configuration on STS

  5. Now click on the OK button in the Preferences window and close it.
主站蜘蛛池模板: 永城市| 旌德县| 旌德县| 永靖县| 千阳县| 安仁县| 菏泽市| 龙井市| 嘉祥县| 新丰县| 正镶白旗| 阿巴嘎旗| 宾阳县| 鄂托克旗| 桃园县| 资溪县| 台湾省| 武川县| 澄迈县| 汉阴县| 榆社县| 固安县| 襄汾县| 曲沃县| 虎林市| 永嘉县| 逊克县| 五常市| 瓦房店市| 永春县| 华池县| 甘肃省| 石渠县| 康马县| 娄底市| 浦县| 定远县| 伊宁市| 东兰县| 翼城县| 渝北区|