xref: /aosp_15_r20/external/apache-commons-lang/src/site/xdoc/building.xml (revision 455610af95f3bf5f4bc8a9eda520f57e389a4c42)
1<?xml version="1.0"?>
2<!--
3Licensed to the Apache Software Foundation (ASF) under one or more
4contributor license agreements.  See the NOTICE file distributed with
5this work for additional information regarding copyright ownership.
6The 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
8the License.  You may obtain a copy of the License at
9
10     http://www.apache.org/licenses/LICENSE-2.0
11
12Unless required by applicable law or agreed to in writing, software
13distributed under the License is distributed on an "AS IS" BASIS,
14WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15See the License for the specific language governing permissions and
16limitations under the License.
17-->
18<document>
19 <properties>
20  <title>Building</title>
21  <author email="[email protected]">Commons Documentation Team</author>
22 </properties>
23<body>
24<!-- ================================================== -->
25<section name="Overview">
26<p>
27  Commons Lang uses <a href="https://maven.apache.org">Maven</a>.
28</p>
29<p>
30  You may also be interested in the upgrade notes:
31</p>
32<ul>
33  <li>Upgrade from 2.6 to 3.0 - <a href="upgradeto3_0.html">Lang 3.0 Release Notes</a></li>
34  <li>Upgrade from 2.5 to 2.6 - <a href="upgradeto2_6.html">Lang 2.6 Release Notes</a></li>
35  <li>Upgrade from 2.4 to 2.5 - <a href="upgradeto2_5.html">Lang 2.5 Release Notes</a></li>
36  <li>Upgrade from 2.3 to 2.4 - <a href="upgradeto2_4.html">Lang 2.4 Release Notes</a></li>
37  <li>Upgrade from 2.2 to 2.3 - <a href="upgradeto2_3.html">Lang 2.3 Release Notes</a></li>
38  <li>Upgrade from 2.1 to 2.2 - <a href="upgradeto2_2.html">Lang 2.2 Release Notes</a></li>
39  <li>Upgrade from 2.0 to 2.1 - <a href="upgradeto2_1.html">Lang 2.1 Release Notes</a></li>
40  <li>Upgrade from 1.0 to 2.0 - <a href="upgradeto2_0.html">Lang 2.0 Release Notes</a></li>
41</ul>
42</section>
43<!-- ================================================== -->
44<section name="Maven Goals">
45  <p>
46    To build a jar file, change into the root directory of Lang and run "mvn package".
47    The result will be in the "target" subdirectory.
48  </p>
49  <p>
50    To build the full website, run "mvn site".
51    The result will be in "target/site".
52    You must be online to successfully complete this target.
53  </p>
54  <p>
55    Further details can be found in the
56    <a href="https://commons.apache.org/building.html">commons build instructions</a>.
57  </p>
58</section>
59<!-- ================================================== -->
60<section name="Ant Goals">
61  <p>
62    To build a jar file, change into the root directory of Lang and run "ant jar".
63    The result will be in the "target" subdirectory.
64  </p>
65  <p>
66    To build the Javadocs, run "ant javadoc".
67    The result will be in "target/docs/api".
68  </p>
69</section>
70<!-- ================================================== -->
71</body>
72</document>
73