Skip to content

Commit 86d41f4

Browse files
author
Stephen Colebourne
committed
Update website removing dependency on commons-build
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/cli/trunk@394574 13f79535-47bb-0310-9956-ffa450edef68
1 parent fe4b545 commit 86d41f4

12 files changed

Lines changed: 364 additions & 191 deletions

maven.xml

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
Copyright 2002-2004 The Apache Software Foundation.
2+
Copyright 2002-2006 The Apache Software Foundation.
33
44
Licensed under the Apache License, Version 2.0 (the "License");
55
you may not use this file except in compliance with the License.
@@ -15,23 +15,6 @@ limitations under the License.
1515
-->
1616
<project default="jar:jar">
1717

18-
<!-- ================================================================== -->
19-
<!-- START : C O M M O N S - B U I L D -->
20-
<!-- ================================================================== -->
21-
<!-- Required: Look and Feel for documentation within distributions -->
22-
<!-- ================================================================== -->
23-
<postGoal name="xdoc:copy-resources">
24-
<copy todir="${basedir}/target/docs/style/" failonerror="false">
25-
<fileset dir="${basedir}/../commons-build/xdocs/style">
26-
<include name='**/*'/>
27-
<exclude name='**/CVS/**'/>
28-
</fileset>
29-
</copy>
30-
</postGoal>
31-
<!-- ================================================================== -->
32-
<!-- END: C O M M O N S - B U I L D -->
33-
<!-- ================================================================== -->
34-
3518
<!-- Ensures that the conf directory and NOTICE.txt are included in the
3619
source distro.
3720
-->

project.properties

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,13 @@ maven.jarResources.basedir=${basedir}/src/java
1616
maven.checkstyle.properties=
1717
maven.checkstyle.format=sun
1818

19-
maven.xdoc.jsl=../commons-build/commons-site.jsl
2019
maven.xdoc.date=left
2120
maven.xdoc.version=${pom.currentVersion}
2221
maven.xdoc.developmentProcessUrl=http://jakarta.apache.org/commons/charter.html
2322
maven.xdoc.poweredby.image=maven-feather.png
2423

2524
maven.javadoc.links=http://java.sun.com/j2se/1.4/docs/api/
26-
maven.javadoc.stylesheet=${basedir}/style.css
25+
#maven.javadoc.stylesheet=${basedir}/style.css
2726

2827
# Jar Manifest and Additional Attributes
2928
maven.jar.manifest=${basedir}/src/conf/MANIFEST.MF

project.xml

Lines changed: 35 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
3-
Copyright 2001-2004 The Apache Software Foundation
3+
Copyright 2001-2006 The Apache Software Foundation
44
55
Licensed under the Apache License, Version 2.0 (the "License");
66
you may not use this file except in compliance with the License.
@@ -25,26 +25,34 @@
2525
Commons CLI provides a simple API for presenting, proecessing and
2626
validating a command line interface.
2727
</description>
28-
<logo>/images/logo.jpg</logo>
28+
<logo>/images/logo.png</logo>
2929

30-
<url>http://jakarta.apache.org/commons/${pom.artifactId.substring(8)}/</url>
30+
<url>http://jakarta.apache.org/commons/cli/</url>
3131
<package>org.apache.commons</package>
3232

3333
<organization>
3434
<name>Apache Software Foundation</name>
3535
<url>http://www.apache.org</url>
36-
<logo>http://jakarta.apache.org/images/jakarta-logo.gif</logo>
36+
<logo>http://jakarta.apache.org/images/original-jakarta-logo.gif</logo>
3737
</organization>
3838

39+
<licenses>
40+
<license>
41+
<name>The Apache Software License, Version 2.0</name>
42+
<url>/LICENSE.txt</url>
43+
<distribution>repo</distribution>
44+
</license>
45+
</licenses>
46+
3947
<gumpRepositoryId>jakarta</gumpRepositoryId>
4048
<issueTrackingUrl>http://issues.apache.org/bugzilla/</issueTrackingUrl>
41-
<siteAddress>jakarta.apache.org</siteAddress>
42-
<siteDirectory>/www/jakarta.apache.org/commons/${pom.artifactId.substring(8)}/</siteDirectory>
43-
<distributionDirectory>/www/jakarta.apache.org/builds/jakarta-commons/${pom.artifactId.substring(8)}/</distributionDirectory>
49+
<siteAddress>people.apache.org</siteAddress>
50+
<siteDirectory>/www/jakarta.apache.org/commons/cli/</siteDirectory>
51+
<distributionDirectory>/www/jakarta.apache.org/builds/jakarta-commons/cli/</distributionDirectory>
4452

4553
<repository>
46-
<connection>scm:svn:http://svn.apache.org/repos/asf/jakarta/commons/proper/${pom.artifactId.substring(8)}/trunk</connection>
47-
<url>http://svn.apache.org/repos/asf/jakarta/commons/proper/${pom.artifactId.substring(8)}/trunk</url>
54+
<connection>scm:svn:http://svn.apache.org/repos/asf/jakarta/commons/proper/cli/trunk</connection>
55+
<url>http://svn.apache.org/repos/asf/jakarta/commons/proper/cli/trunk</url>
4856
</repository>
4957

5058
<mailingLists>
@@ -136,13 +144,25 @@
136144
<groupId>junit</groupId>
137145
<artifactId>junit</artifactId>
138146
<version>3.8.1</version>
147+
<properties>
148+
<scope>test</scope>
149+
<comment>
150+
Required only for testing.
151+
</comment>
152+
</properties>
139153
</dependency>
140154

141155
<!-- used for unit tests -->
142156
<dependency>
143157
<groupId>jdepend</groupId>
144158
<artifactId>jdepend</artifactId>
145159
<version>2.5</version>
160+
<properties>
161+
<scope>test</scope>
162+
<comment>
163+
Required only for testing.
164+
</comment>
165+
</properties>
146166
</dependency>
147167

148168
</dependencies>
@@ -173,22 +193,22 @@
173193
</build>
174194

175195
<reports>
196+
<!--report>maven-developer-activity-plugin</report-->
197+
<!--report>maven-file-activity-plugin</report-->
198+
<!--report>maven-changelog-plugin</report-->
199+
<!--report>maven-changes-plugin</report-->
176200
<report>maven-jdepend-plugin</report>
177201
<report>maven-checkstyle-plugin</report>
178-
<report>maven-changelog-plugin</report>
179-
<report>maven-changes-plugin</report>
180-
<report>maven-developer-activity-plugin</report>
181-
<report>maven-file-activity-plugin</report>
182202
<report>maven-javadoc-plugin</report>
183203
<report>maven-jdepend-plugin</report>
184204
<report>maven-junit-report-plugin</report>
185205
<report>maven-jxr-plugin</report>
186206
<report>maven-license-plugin</report>
187207
<report>maven-tasklist-plugin</report>
188208
<report>maven-pmd-plugin</report>
189-
<report>maven-simian-plugin</report>
209+
<!--report>maven-simian-plugin</report>
190210
<report>maven-faq-plugin</report>
191-
<report>maven-jcoverage-plugin</report>
211+
<report>maven-jcoverage-plugin</report-->
192212
<!--report>maven-tasks-plugin</report-->
193213
<!--report>maven-findbugs-plugin</report-->
194214
</reports>

xdocs/building.xml

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
<?xml version="1.0"?>
2+
<!--
3+
Copyright 2006 The Apache Software Foundation.
4+
5+
Licensed under the Apache License, Version 2.0 (the "License");
6+
you may not use this file except in compliance with the License.
7+
You may obtain a copy of the License at
8+
9+
http://www.apache.org/licenses/LICENSE-2.0
10+
11+
Unless required by applicable law or agreed to in writing, software
12+
distributed under the License is distributed on an "AS IS" BASIS,
13+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
See the License for the specific iouage governing permissions and
15+
limitations under the License.
16+
-->
17+
<document>
18+
<properties>
19+
<title>Building</title>
20+
<author email="commons-dev@jakarta.apache.org">Commons Documentation Team</author>
21+
</properties>
22+
<body>
23+
<!-- ================================================== -->
24+
<section name="Building Commons CLI">
25+
<p>
26+
Commons CLI uses <a href="http://maven.apache.org">Maven</a> as its
27+
primary build system.
28+
</p>
29+
<p>
30+
You may also be interested in the release notes:<br />
31+
<a href="release_1_0.html">Release 1.0</a><br />
32+
</p>
33+
</section>
34+
<!-- ================================================== -->
35+
<!--<section name="Ant Goals">
36+
<p>
37+
To build a jar file, change into Collection's root directory and run "ant jar".
38+
The result will be in the "build" subdirectory.
39+
</p>
40+
<p>
41+
To build the Javadocs, run "ant javadoc".
42+
The result will be in "build/docs/apidocs".
43+
</p>
44+
</section>-->
45+
<!-- ================================================== -->
46+
<!--<section name="Maven Goals">
47+
<p>
48+
To build the Javadocs, change into Collection's root directory and run "maven javadoc".
49+
The result will be in "target/docs/apidocs".
50+
</p>
51+
<p>
52+
To build the full website, run "maven site".
53+
The result will be in "target/docs".
54+
</p>
55+
</section>-->
56+
<!-- ================================================== -->
57+
<section name="Versions and Branches">
58+
<p>
59+
There are various active versions and branches of commons CLI:
60+
</p>
61+
<table>
62+
<tr>
63+
<th>Name</th>
64+
<th>Description</th>
65+
</tr>
66+
<tr>
67+
<td><code>CLI_1_0</code></td>
68+
<td>Released CLI v1.0</td>
69+
</tr>
70+
<tr>
71+
<td><code>CLI_1_0_BETA_1</code></td>
72+
<td>First beta release of CLI 1.0.</td>
73+
</tr>
74+
<tr>
75+
<td><code>CLI_2_DEV_BRANCH</code></td>
76+
<td>Development branch for jkeyes's CLI 2 code</td>
77+
</tr>
78+
<tr>
79+
<td><code>RESEARCH_CLI_2_ROXSPRING</code></td>
80+
<td>Development branch for roxspring's CLI 2 code</td>
81+
</tr>
82+
</table>
83+
</section>
84+
<!-- ================================================== -->
85+
</body>
86+
</document>

xdocs/cvs-usage.xml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
<?xml version="1.0"?>
2+
<!--
3+
Copyright 2006 The Apache Software Foundation.
4+
5+
Licensed under the Apache License, Version 2.0 (the "License");
6+
you may not use this file except in compliance with the License.
7+
You may obtain a copy of the License at
8+
9+
http://www.apache.org/licenses/LICENSE-2.0
10+
11+
Unless required by applicable law or agreed to in writing, software
12+
distributed under the License is distributed on an "AS IS" BASIS,
13+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
See the License for the specific iouage governing permissions and
15+
limitations under the License.
16+
-->
17+
<document>
18+
<properties>
19+
<title>Source repository</title>
20+
<author email="commons-dev@jakarta.apache.org">Commons Documentation Team</author>
21+
</properties>
22+
<body>
23+
<!-- ================================================== -->
24+
<section name="Source repository">
25+
<p>
26+
Jakarta Commons CLI is hosted on the Apache
27+
<a href="http://subversion.tigris.org/">subversion</a> repository.
28+
</p>
29+
<p>
30+
The project URL is:<br />
31+
<code>http://svn.apache.org/repos/asf/jakarta/commons/proper/cli/trunk</code>
32+
</p>
33+
<p>
34+
The best way to view the repository is via the
35+
<a href="http://svn.apache.org/viewcvs.cgi/jakarta/commons/proper/cli/trunk/">subversion viewer</a>.
36+
</p>
37+
<p>
38+
The alternative is to use the
39+
<a href="http://svn.apache.org/repos/asf/jakarta/commons/proper/cli/trunk/">native subversion</a> display.
40+
</p>
41+
</section>
42+
<!-- ================================================== -->
43+
</body>
44+
</document>

xdocs/index.xml

Lines changed: 58 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,67 @@
1717
<document>
1818

1919
<properties>
20-
<title>Introduction</title>
20+
<title>Home</title>
2121
<author email="commons-dev@jakarta.apache.org">commons-dev</author>
2222
</properties>
2323

2424
<body>
25-
<section name="Jakarta Commons CLI">
26-
<p>
27-
The Jakarta Commons CLI library provides an API for processing command
28-
line interfaces.
29-
</p>
30-
<p>
25+
<!-- ================================================== -->
26+
<section name="Commons CLI">
27+
<p>
28+
The Jakarta Commons CLI library provides an API for processing command line interfaces.
29+
It was formed by the merger of ideas and code from three different libraries -
30+
Werken, Avalon and Optz.
31+
</p>
32+
</section>
33+
<!-- ================================================== -->
34+
<section name="Documentation">
35+
<p>
36+
A full <a href="introduction.html">User's Guide</a> is available
37+
as are various <a href="maven-reports.html">project reports</a>.
38+
</p>
39+
<p>
40+
The JavaDoc API documents are available online:
41+
</p>
42+
<ul>
43+
<li>The <a href="api-release/index.html">current release 1.0</a></li>
44+
<!--li>The <a href="api-n/index.html">previous version n</a></li-->
45+
<li>The <a href="apidocs/index.html">latest SVN</a></li>
46+
</ul>
47+
<p>
48+
The <a href="cvs-usage.html">subversion repository</a> can be
49+
<a href="http://svn.apache.org/viewcvs.cgi/jakarta/commons/proper/cli/trunk/">browsed</a>.
50+
</p>
51+
</section>
52+
<!-- ================================================== -->
53+
<section name="Releases">
54+
<p>
55+
The latest version is v1.0. -
56+
<a href="http://jakarta.apache.org/site/downloads/downloads_commons-cli.cgi">Download now!</a><br />
57+
The <a href="release_1_0.html">release notes</a> are also available.
58+
</p>
59+
<p>
60+
For previous releases, see the <a href="http://archive.apache.org/dist/jakarta/commons/cli/">Apache Archive</a>
61+
</p>
62+
</section>
63+
<!-- ================================================== -->
64+
<section name="Support">
65+
<p>
66+
The <a href="mail-lists.html">commons mailing lists</a> act as the main support forum.
67+
The user list is suitable for most library usage queries.
68+
The dev list is intended for the development discussion.
69+
Please remember that the lists are shared between all commons components,
70+
so prefix your email by [cli].
71+
</p>
72+
<p>
73+
Issues may be reported via <a href="issue-tracking.html">ASF Bugzilla</a>.
74+
Please remember that Bugzilla is shared between all commons components,
75+
so prefix your issue by [cli].
76+
</p>
77+
</section>
78+
<!-- ================================================== -->
79+
80+
<!-- <p>
3181
CLI1 was formed by the merger of ideas and code from three different
3282
libraries and allows most simple interfaces to be modelled. CLI1
3383
became increasingly difficult to maintain and develop further and so
@@ -97,7 +147,7 @@
97147
</tr>
98148
</table>
99149
</section>
100-
150+
-->
101151
</body>
102152

103153
</document>

0 commit comments

Comments
 (0)