欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

eclipse 中的 maven run configurations

程序员文章站 2022-03-02 22:47:55
...

eclipse 中maven

1. build

1.1 ${build_files}

Returns the set of absolute file system paths whose modification caused the current build. A list of the characters, 'a' (added), 'c' (changed), 'r' (removed), 'f' (files only), 'd' (directories only), can be supplied as an argument to limit the file list to just those types of deltas. Defaults to all deltas.

翻译: 返回文件在系统中的绝对路径,这个路径被当前的构建所修改,这里有一系列的可供操作的功能:“a” 增加,“c”改变,“r” 移除,“f” 文件,“d” 目录,这个可以作为参数列表限制文件,默认使用全部的参数。

1.2 ${build_project}

Returns the absolute file system path of the project currently being built, or the absolute file system path of the resource identified by an optional argument interpreted as a path relative to the project currently being built.

翻译: 返回当前正在构建的文件绝对路径,或者可以通过一个可选的参数解释作为相对于当前项目构建路径,描述当前资源的绝对路径

1.3 ${build_type}

Returns the type of build being performed - "incremental", "full", "auto", or "none".

翻译: 返回执行的构建类型-“增量”,“全部”,“自动”,“没有”

${eclipse_home}

The location of the base installation for the running platform, 翻译: eclipse的启动和安装位置

${selected_resource_path}

Returns the workspace relative path of the selected resource. 翻译: 返回所选资源的工作空间相对路径。

${workspace_loc}

Returns the absolute file system path of the workspace root. When an argument is specified, the absolute file system path of the resource identified by a workspace relative path is returned.

翻译: 返回当前工作空间根的绝对路径,当一个参数是制定的,这个资源的绝对路径会根据工作空间的相对路径返回

### ${workspace_project_locations} Expands to the locations of all workspace projects 扩大到所有工作项目的位置

最终选择:

 ${workspace_loc:/${selected_resource_name}}

eclipse 中的 maven run configurations

eclipse 中的 maven run configurations

转载于:https://my.oschina.net/dylw/blog/699671