Eclipse安装好m2e插件,使用Maven构建项目后,启动web项目就行就非常简单了,如下所示。

操作步骤:

1、右键你的项目 -> Run As -> Run Configurations…
这里写图片描述

2、双击左侧的Maven Build,会出现一个New_configuration

这里写图片描述

3、配置Maven Build中的参数,如jetty
这里写图片描述

4、VM配置信息:-Xms512m -Xmx512m -XX:MaxNewSize=128m -XX:MaxPermSize=128m
这里写图片描述

5、Apply并Run即可。首次执行按如上设置,以后执行按如下图操作启动即可:
这里写图片描述

GitHub 加速计划 / ma / maven
36
0
下载
Maven: Apache Maven是一个开源的项目管理和构建工具,主要用于Java项目。适合需要自动化项目构建和依赖管理的开发者。特点包括约定优于配置、易于使用和社区驱动。
最近提交(Master分支:16 天前 )
7872c6d8 Changes: * update Mimir to latest 0.8.1 version * update infusers as well * cache changes (see below) Cache strategy changes: * initial build: it is snowballing one cache when build is not about PR * full (rebuild itself + site with itself) and its build: it is snowballing cache differentiated by OS/JDK when build is not about PR Current problems: on unchanged POM (ie. new IT added), the dependencies ITs pull from Central will be cached by Mimir, but due "cache hit" the new cache will not get stored. Hence, Mimir caching was basically lost. Also, there was a mixup of caches from PRs and main branches. Finally, matrix jobs were competing for cache store. 1 天前
c999cff6 Accept ONLY documented forms of them. Fixes #10210 2 天前
Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐