什么是 Maven pom 标签?
What is a maven pom tag?
我正在查看一个 Spring 示例,他们对标准 maven pom 依赖项有这样奇怪的评论:
<!-- tag::security[] -->
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<!-- end::security[] -->
那是tag::security和end::securityXML的评论?它的格式化方式看起来像是要处理它,而不是 Maven 的东西...
我正在查看一个 Spring 示例,他们对标准 maven pom 依赖项有这样奇怪的评论:
<!-- tag::security[] -->
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<!-- end::security[] -->
那是tag::security和end::securityXML的评论?它的格式化方式看起来像是要处理它,而不是 Maven 的东西...