当前位置:网站首页>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>
边栏推荐
- 图形技术之管线概念
- How to connect the Bluetooth headset to the computer and how to connect the win10 computer to the Bluetooth headset
- 《canvas》之第2章 直线图形
- [tips] use the deep learning toolbox of MATLAB deepnetworkdesigner to quickly design
- bjdctf_ 2020_ babystack
- 什么是CC攻击?如何判断网站是否被CC攻击? CC攻击怎么防御?
- [equalizer] bit error rate performance comparison simulation of LS equalizer, def equalizer and LMMSE equalizer
- [Lua language from bronze to king] Part 2: development environment construction +3 editor usage examples
- How to realize high stability and high concurrency of live video streaming transmission and viewing?
- Spark stage and shuffle for daily data processing
猜你喜欢

使用SystemParametersInfo访问用户界面设置

Dichotomous special training

【Vulhub靶场】】zabbix-SQL注入(CVE-2016-10134)漏洞复现
![[GUET-CTF2019]zips](/img/79/22ff5d4a3cdc3fa9e0957ccc9bad4b.png)
[GUET-CTF2019]zips

RDD basic knowledge points

get_ started_ 3dsctf_ two thousand and sixteen

Analog display of the module taking software verifies the correctness of the module taking data, and reversely converts the bin file of the lattice array to display

RDD的执行原理

Combine with (& &) logic or (||), dynamic binding and ternary operation

How to turn on win11 notebook power saving mode? How to open win11 computer power saving mode
随机推荐
[tips] use the deep learning toolbox of MATLAB deepnetworkdesigner to quickly design
Win10 build webservice
A case of bouncing around the system firewall
Counter attack from outsourcing to big factories! Android has been developed for 5 years, and after a year of dormancy, it has tried to become an offer harvester. Tencent has a fixed salary of 20*15
[pointnet] matlab simulation of 3D point cloud target classification and recognition based on pointnet
More than 60 million shovel excrement officials, can they hold a spring of domestic staple food?
Session & cookie details
Detailed explanation of C language compilation, link and operation
[understanding of opportunity -29]: Guiguzi - internal dialogue - five levels of communication with superiors
MaxCompute远程连接,上传、下载数据文件操作
Anaconda 中使用 You Get
报错“Computation failed in `stat_summary_hex()`”
A summary of the posture of bouncing and forwarding around the firewall
The seminar on "global IPv6 development and outlook 2020-2021" was held in Beijing
What is a CC attack? How to judge whether a website is attacked by CC? How to defend against CC attacks?
阿里云全链路数据治理
线程的阻塞问题
选择器(>,~,+,[])
How to delete / select an input method on your computer
Q & A on cloud development cloudbase hot issues of "Huage youyue phase I"