Eclipse使用Maven jetty:run命令启动web项目
maven
Maven: Apache Maven是一个开源的项目管理和构建工具,主要用于Java项目。适合需要自动化项目构建和依赖管理的开发者。特点包括约定优于配置、易于使用和社区驱动。
项目地址:https://gitcode.com/gh_mirrors/ma/maven

·
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即可。首次执行按如上设置,以后执行按如下图操作启动即可:




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 天前
更多推荐
所有评论(0)