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

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.
主站蜘蛛池模板: 阿坝县| 井冈山市| 金门县| 寿光市| 广丰县| 绥江县| 宁阳县| 武义县| 峨边| 麦盖提县| 伊宁市| 扶风县| 台前县| 澳门| 乐业县| 石台县| 安岳县| 玛曲县| 托里县| 屏东县| 双牌县| 子长县| 华蓥市| 新密市| 霞浦县| 改则县| 大兴区| 襄樊市| 永仁县| 德惠市| 云浮市| 栾川县| 基隆市| 龙南县| 临江市| 吴桥县| 德惠市| 白水县| 新田县| 大石桥市| 靖江市|