- Building RESTful Web Services with Spring 5(Second Edition)
- Raja CSP Raman Ludovic Dewailly
- 95字
- 2021-06-30 19:13:25
Viewing a POM file after creating a project
Once we have created a project, we can see the pom.xml file in our project folder. It will have all the basic details, such as groupId, name, and so on. Also, you can see the default Junit dependency under the dependencies configuration part:
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.packtpub.restapp</groupId>
<artifactId>ticket-management</artifactId>
<packaging>jar</packaging>
<version>1.0-SNAPSHOT</version>
<name>ticket-management</name>
<url>http://maven.apache.org</url>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>
Maven artifacts belong to a group (typically com.organization.product), and must have a unique identifier.
In the preceding POM file, the SNAPSHOT suffix in version tells Maven that this project is still in development.
推薦閱讀
- 網(wǎng)絡(luò)協(xié)議工程
- 物聯(lián)網(wǎng)網(wǎng)絡(luò)安全及應(yīng)用
- 正在爆發(fā)的互聯(lián)網(wǎng)革命
- 射頻通信系統(tǒng)
- Mastering TypeScript 3
- 物聯(lián)網(wǎng)之霧:基于霧計(jì)算的智能硬件快速反應(yīng)與安全控制
- Mastering Dart
- WordPress Web Application Development
- Learning Windows 8 Game Development
- 一本書(shū)讀懂物聯(lián)網(wǎng)
- 云計(jì)算技術(shù)與標(biāo)準(zhǔn)化
- 全聯(lián)網(wǎng)標(biāo)識(shí)服務(wù)
- Guide to NoSQL with Azure Cosmos DB
- 物聯(lián)網(wǎng),So Easy!
- 智能物聯(lián)安防視頻技術(shù)基礎(chǔ)與應(yīng)用