当前位置:网站首页>POM configuration provided and test
POM configuration provided and test
2022-06-24 07:43:00 【Chen Bucheng I】
One .provided: Scope... Has been provided
provided Illustrates the dependency from JDK Or the container provides . For example, if you develop a web application , May be compiling classpath Need to be available in Servlet API To compile a servlet, But you don't want to be packing WAR Including this Servlet API; this Servlet API JAR By your application server or servlet Containers provide . Dependency of provided scope in compilation classpath ( Not runtime ) You can use . They are not transitive and will not be packaged .
<dependency> <groupId>javax.servlet.jsp</groupId> <artifactId>jsp-api</artifactId> <version>2.1</version> <scope>provided</scope> </dependency>
Two .test: Test range
test Range dependence You don't need... At normal compile and run times , They are only available during test compilation and test run phases . Not published with project .
<dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.11</version> <scope>test</scope> </dependency>
边栏推荐
- Description of module data serial number positioning area code positioning refers to GBK code
- Global and Chinese market of anion sanitary napkins 2022-2028: Research Report on technology, participants, trends, market size and share
- Tidb operator source code reading (IV) control cycle of components
- Global and Chinese market of digital fryer 2022-2028: Research Report on technology, participants, trends, market size and share
- When MFC uses the console, the project path cannot have spaces or Chinese, otherwise an error will be reported. Lnk1342 fails to save the backup copy of the binary file to be edited, etc
- 日期、时间库使用备注
- 【Django中运行scrapy框架,并将数据存入数据库】
- LeetCode 515 在每个数行中找最大值[BFS 二叉树] HERODING的LeetCode之路
- Global and Chinese market of bed former 2022-2028: Research Report on technology, participants, trends, market size and share
- Quickly set up PgSQL for serverless
猜你喜欢

Bjdctf 2020 Bar _ Babystack

光照使用的简单总结

相机标定(标定目的、原理)

Étalonnage de la caméra (objectif et principe d'étalonnage)

RDD的执行原理
![[WUSTCTF2020]alison_ likes_ jojo](/img/a9/dcc6f524772cd0b8781289cbaef63f.png)
[WUSTCTF2020]alison_ likes_ jojo

More than 60 million shovel excrement officials, can they hold a spring of domestic staple food?

Shader 常用函数

鸿蒙os开发三

(CVE-2020-11978)Airflow dag中的命令注入漏洞复现【vulhub靶场】
随机推荐
In the era of industrial Internet, there are no more centers in the real sense, and these centers just turn tangible into intangible
Quickly set up PgSQL for serverless
[wustctf2020] climb
随机数备注
阿里云全链路数据治理
Wechat cloud hosting hot issues Q & A
C escape character
Ultra wideband pulse positioning scheme, UWB precise positioning technology, wireless indoor positioning application
Climbing 10000 NASA pictures about Mars exploration, I found a secret
【008】表格数据逐行筛选,跳出for循环及跳过本次循环思路_#VBA
[equalizer] bit error rate performance comparison simulation of LS equalizer, def equalizer and LMMSE equalizer
【MySQL 使用秘籍】克隆数据表、保存查询数据至数据表以及创建临时表
LeetCode 515 在每个数行中找最大值[BFS 二叉树] HERODING的LeetCode之路
Global and Chinese market of digital fryer 2022-2028: Research Report on technology, participants, trends, market size and share
Commandes de console communes UE
A penetration test of c/s Architecture - Request encryption, decryption and test
[Lua language from bronze to king] Part 2: development environment construction +3 editor usage examples
[frame rate doubling] development and implementation of FPGA based video frame rate doubling system Verilog
鸿蒙开发四
How to realize high stability and high concurrency of live video streaming transmission and viewing?