当前位置:网站首页>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>
边栏推荐
- [wustctf2020] climb
- How to select a third-party software testing company? 2022 ranking of domestic software testing institutions
- 图形技术之管线概念
- Climbing 10000 NASA pictures about Mars exploration, I found a secret
- What is a CC attack? How to judge whether a website is attacked by CC? How to defend against CC attacks?
- 只显示两行,超出部分省略号显示
- 6000多万铲屎官,捧得出一个国产主粮的春天吗?
- In the era of industrial Internet, there are no more centers in the real sense, and these centers just turn tangible into intangible
- [tips] use the deep learning toolbox of MATLAB deepnetworkdesigner to quickly design
- Several misunderstandings of VPN
猜你喜欢

get_ started_ 3dsctf_ two thousand and sixteen
![[GUET-CTF2019]zips](/img/79/22ff5d4a3cdc3fa9e0957ccc9bad4b.png)
[GUET-CTF2019]zips

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

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

Dichotomous special training

爬虫基础B1——Scrapy(B站学习笔记)

Bjdctf 2020 Bar _ Babystack

相機標定(標定目的、原理)

光照使用的简单总结
![[OGeek2019]babyrop](/img/74/5f93dcee9ea5a562a7fba5c17aab76.png)
[OGeek2019]babyrop
随机推荐
Detailed explanation of C language compilation, link and operation
线程的支持
Global and Chinese market of anion sanitary napkins 2022-2028: Research Report on technology, participants, trends, market size and share
The seminar on "global IPv6 development and outlook 2020-2021" was held in Beijing
Bjdctf 2020 Bar _ Babystack
Reconfiguration of nebula integration testing framework based on BDD theory (Part 2)
Pyhton crawls to Adu (Li Yifeng) Weibo comments
线程的阻塞问题
Detailed explanation of PHP data serialization test example
【MySQL 使用秘籍】克隆数据表、保存查询数据至数据表以及创建临时表
A case of bouncing around the system firewall
New ways to play web security [6] preventing repeated use of graphic verification codes
Several misunderstandings of VPN
UE常用控制臺命令
jarvisoj_ level2
屏幕截图推荐—Snipaste
Black box and white box models for interpretable AI
Combine with (& &) logic or (||), dynamic binding and ternary operation
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
RDD的执行原理