5
我目前正在經歷https://spring.io/guides/gs/maven/#scratch和我剛剛發現什麼是標籤註釋在pom.xml中有用?
<dependencies>
<!-- tag::joda[] -->
<dependency>
<groupId>joda-time</groupId>
<artifactId>joda-time</artifactId>
<version>2.9.2</version>
</dependency>
<!-- end::joda[] -->
<!-- tag::junit[] -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<scope>test</scope>
</dependency>
<!-- end::junit[] -->
</dependencies>
,我不知道:
什麼是<!-- tag::joda[] -->
好?