- 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ò)對(duì)齊
- 物聯(lián)網(wǎng)工程規(guī)劃技術(shù)
- 工業(yè)控制網(wǎng)絡(luò)安全技術(shù)與實(shí)踐
- Oracle SOA Suite 11g Performance Tuning Cookbook
- Mastering TypeScript 3
- 中國(guó)互聯(lián)網(wǎng)發(fā)展報(bào)告2018
- 5G技術(shù)與標(biāo)準(zhǔn)
- 物聯(lián)網(wǎng)場(chǎng)景設(shè)計(jì)與開(kāi)發(fā)(初級(jí))
- 人人都該都懂的互聯(lián)網(wǎng)思維
- 高級(jí)網(wǎng)絡(luò)技術(shù)
- 5G時(shí)代的大數(shù)據(jù)技術(shù)架構(gòu)和關(guān)鍵技術(shù)詳解
- 云工廠(chǎng):開(kāi)啟中國(guó)制造云時(shí)代
- 全聯(lián)網(wǎng)標(biāo)識(shí)服務(wù)
- Hands-On Docker for Microservices with Python
- 深入理解計(jì)算機(jī)網(wǎng)絡(luò)