官方自带的是ant编译、这玩意不太懂 不捣鼓了
解压下载的源码包 目录结构大致如下
java
test
bin
conf
modules
res
target
webapps
build.properties.default
build.xml
BUILDING.txt
CONTRIBUTING.md
KEYS
LICENSE
MERGE.txt
NOTICE
README.md
RELEASE-NOTES
RUNNING.txt
新建一个pom.xml
<?xml version="1.0" encoding="utf-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.tomcat</groupId>
<artifactId>Tomcat8.5</artifactId>
<name>Tomcat8.5</name>
<version>8.5</version>
<