首页 > 其他 > 详细

maven常用plugin

时间:2018-03-13 00:07:11      阅读:267      评论:0      收藏:0      [点我收藏+]

Dependency management plugin

Maven dependencies have six possible scopes: maven依赖的6个有效范围

Compile: This is the default scope. Compile dependencies are available in
the classpaths.
Provided: This scope assumes that the JDK or the environment provides
dependencies at runtime.
Runtime: Dependencies that are required at runtime and are specifed in the
runtime classpaths.
Test: Dependencies required for test compilation and execution.
System: Dependency is always available, but the JAR is provided nonetheless.
Import: Imports dependencies specifed in POM included via the
<dependencyManagement/> element.

我们在pom中可以引入dependency管理插件

 

官方提供的插件:

 https://maven.apache.org/plugins/

可以使用如下命令查看mvn关于插件的说明

mvn help:describe -Dplugin=org.apache.maven.plugins:maven-source-plugin:2.1.1 

 

 

maven常用plugin

原文:https://www.cnblogs.com/ennish/p/7954031.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!