|
1 | 1 | <?xml version="1.0"?> |
2 | | -<!-- |
3 | | -Licensed to the Apache Software Foundation (ASF) under one or more |
4 | | -contributor license agreements. See the NOTICE file distributed with |
5 | | -this work for additional information regarding copyright ownership. |
6 | | -The ASF licenses this file to You under the Apache License, Version 2.0 |
7 | | -(the "License"); you may not use this file except in compliance with |
8 | | -the License. You may obtain a copy of the License at |
9 | | -
|
10 | | - https://www.apache.org/licenses/LICENSE-2.0 |
11 | | -
|
12 | | -Unless required by applicable law or agreed to in writing, software |
13 | | -distributed under the License is distributed on an "AS IS" BASIS, |
14 | | -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
15 | | -See the License for the specific language governing permissions and |
16 | | -limitations under the License. |
17 | | ---> |
18 | | -<document xmlns="http://maven.apache.org/XDOC/2.0" |
19 | | - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 2 | +<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional |
| 3 | + information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except |
| 4 | + in compliance with the License. You may obtain a copy of the License at https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to |
| 5 | + in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See |
| 6 | + the License for the specific language governing permissions and limitations under the License. --> |
| 7 | +<document xmlns="http://maven.apache.org/XDOC/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
20 | 8 | xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 https://maven.apache.org/xsd/xdoc-2.0.xsd"> |
21 | | - <properties> |
22 | | - <title>Building</title> |
23 | | - < author email= "[email protected]">Apache Commons Team</ author> |
24 | | - </properties> |
25 | | -<body> |
26 | | -<!-- ================================================== --> |
27 | | -<section name="Overview"> |
28 | | -<p> |
29 | | - Commons DBCP uses <a href="https://maven.apache.org">Maven</a> or |
30 | | - <a href="https://ant.apache.org">Ant</a> as a build system. |
31 | | - The maven build requires maven 2 and JDK 1.6. The Ant build works with |
32 | | - JDK 1.4, 1.5 or 1.6. |
33 | | -</p> |
34 | | -</section> |
35 | | -<!-- ================================================== --> |
36 | | -<section name="Maven Goals"> |
37 | | - <p> |
38 | | - To build a jar file, change into DBCP's root directory and run |
39 | | - <strong><code>mvn package</code></strong>. |
40 | | - The result will be in the "target" subdirectory. |
41 | | - </p> |
42 | | - <p> |
43 | | - To build the Javadocs, run <strong><code>mvn javadoc:javadoc</code></strong>. |
44 | | - The result will be in "target/site/apidocs/". |
45 | | - </p> |
46 | | - <p> |
47 | | - To build the full website, run <strong><code>mvn site</code></strong>. |
48 | | - The result will be in "target/site". |
49 | | - </p> |
50 | | -</section> |
| 9 | + <properties> |
| 10 | + <title>Building</title> |
| 11 | + < author email= "[email protected]">Apache Commons Team</ author> |
| 12 | + </properties> |
| 13 | + <body> |
| 14 | + <section name="Overview"> |
| 15 | + <p> |
| 16 | + Commons DBCP uses |
| 17 | + <a href="https://maven.apache.org">Maven</a> |
| 18 | + or |
| 19 | + <a href="https://ant.apache.org">Ant</a> |
| 20 | + as a build system. |
| 21 | + The maven build requires maven 3 and JDK 8. |
| 22 | + </p> |
| 23 | + </section> |
| 24 | + <section name="Maven Goals"> |
| 25 | + <p> |
| 26 | + To build a jar file, change into DBCP's root directory and run |
| 27 | + <strong> |
| 28 | + <code>mvn clean package</code> |
| 29 | + </strong> |
| 30 | + . |
| 31 | + The result will be in the "target" subdirectory. |
| 32 | + </p> |
| 33 | + <p> |
| 34 | + To build the Javadocs, run |
| 35 | + <strong> |
| 36 | + <code>mvn clean javadoc:javadoc</code> |
| 37 | + </strong> |
| 38 | + . |
| 39 | + The result will be in "target/site/apidocs/". |
| 40 | + </p> |
| 41 | + <p> |
| 42 | + To build the full website, run |
| 43 | + <strong> |
| 44 | + <code>mvn clean verify site</code> |
| 45 | + </strong> |
| 46 | + . |
| 47 | + The result will be in "target/site". |
| 48 | + </p> |
| 49 | + </section> |
51 | 50 |
|
52 | | -<!-- ================================================== --> |
53 | | -</body> |
| 51 | + </body> |
54 | 52 | </document> |
0 commit comments