為什么我添加jetty時不是plugin標簽而是dependency標簽
<!-- jetty -->
<!-- https://mvnrepository.com/artifact/org.eclipse.jetty/jetty-server -->
<dependency>
? ? <groupId>org.eclipse.jetty</groupId>
? ? <artifactId>jetty-server</artifactId>
? ? <version>9.4.12.v20180830</version>
</dependency>
我從Maven?repository網站上找的jetty是長這樣的,為什么不是plugin標簽?。?/p>
2019-05-13
就你找這串依賴的地方,上面有小標簽,有一個plugin的選項
2019-08-15
貌似我之前也這么用過,不知道是什么原理呢