如何在项目中包含所有tomcat默认库jar?
有没有办法在pom.xml中添加下面的tomcat依赖项并包含这些jar?
<dependency>
<groupId>org.apache.tomcat</groupId>
<artifactId>tomcat</artifactId>
<version>7.0.59</version>
<scope>provided</scope>
</dependency>
这种依赖关系不起作用:
$mvn clean install -U
...
Could not find artifact org.apache.tomcat:tomcat:jar:7.0.59 in central (http://repo1.maven.org/maven2/)
此外,网址http://repo1.maven.org/maven2/org/apache/tomcat/tomcat/7.0.59/存在,但不存在jar。