27 在Maven中使用【Mavenized】

来源:互联网 发布:关家垴战斗 知乎 编辑:程序博客网 时间:2024/06/05 09:48

在Maven中使用Tomcat库【Apache Tomcat - Using Tomcat libraries with Maven

目录【Table of Contents
  • 在Maven中使用Tomcat库【Using Tomcat libraries With Maven
    1. Tomcat快照【Tomcat Snapshots
    2. Tomcat发布【Tomcat Releases
在Maven中使用Tomcat库【Using Tomcat libraries With Maven
Tomcat快照【Tomcat Snapshots
Tomcat快照位于Apache Shapshot Repository中。官方URL是:
Tomcat snapshots are located in the Apache Snapshot Repository. The official URL is
http://people.apache.org/repo/m2-snapshot-repository/org/apache/tomcat/

当发生改变并且Tomcat团队任务新的快照是有用的时候才会发布。
Snapshots are done periodically, not on a regular basis, but when changes happen and the Tomcat team deems a new snapshot might useful.
Tomcat发布【Tomcat Releases
每次发布,一定是一个alpha、beta或者正式版本,会放出许多JAR到Tomcat's Staging Respository里面。地址是:
At every release, be it alpha, beta or stable, we will publish the JARs to Tomcat's Staging Repository. The URL for this is
http://tomcat.apache.org/dev/dist/m2-repository/org/apache/tomcat/
.

有些时候,这个地址将同步到ASF的主库地址。
At some point, this URL will change over to ASF's main repository that synchronizes with IBiblio.
当这种情况发生时,所有的发布版本都将被移走,在Tomcat库里面还会保留一下,但不会再有新的发布到staging repository中。
When that happens, all releases will be moved over, and this repository will stick around for a while, but no new releases will be published to the staging repository.