Repository navigation
Expand file tree
/
Copy pathmaven-help.html
More file actions
157 lines (146 loc) · 3.76 KB
/
Copy pathmaven-help.html
File metadata and controls
157 lines (146 loc) · 3.76 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Quick Guide to Maven for Axis 2.0</title>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<link href="css/axis-docs.css" rel="stylesheet" type="text/css" media="all">
</head>
<body lang="en">
<h1 align="center">Quick Guide to Maven for Axis 2.0</h1>
<h2 align="left">Introduction</h2>
<p align="left"><a href="http://maven.apache.org">Maven</a> is used as the
build tool of Axis 2.0. This document will provide a quick guide on how to
use Maven with your developments.</p>
<h2 align="left">Commands</h2>
<table border="1" align="center">
<tbody>
<tr>
<th scope="col">
<div align="left">
Command</div>
</th>
<th scope="col">
<div align="left">
Description</div>
</th>
</tr>
<tr>
<td>
<div align="left">
maven</div>
</td>
<td>
<div align="left">
Downloads relevant jars if not available, and compiles and runs the
tests in the system.</div>
</td>
</tr>
<tr>
<td>maven clean</td>
<td>Cleans all the content built so far in the target folder. This will
not clean the jar repository.</td>
</tr>
<tr>
<td>
<div align="left">
maven test</div>
</td>
<td>
<div align="left">
Runs only the tests. Performs automatic compilation of the changed
sources as well. This will not run SOAP interop tests</div>
</td>
</tr>
<tr>
<td>
<div align="left">
maven clean all-tests</div>
</td>
<td>
<div align="left">
Cleans up and runs all offline and online tests</div>
</td>
</tr>
<tr>
<td>
<div align="left">
maven itest</div>
</td>
<td>
<div align="left">
To run the online-mode tests for say the modules/integration, run
"maven itest" from modules/integration</div>
</td>
</tr>
<tr>
<td>
<div align="left">
maven test itest</div>
</td>
<td>
<div align="left">
To run all the tests for say the modules/integration, run "maven test
itest" from modules/integration</div>
</td>
</tr>
<tr>
<td>
<div align="left">
maven -g</div>
</td>
<td>
<div align="left">
Lists down all the commands available with Maven.</div>
</td>
</tr>
<tr>
<td>
<div align="left">
maven multiproject</div>
</td>
<td>
<div align="left">
Generates the site.</div>
</td>
</tr>
<tr>
<td>
<div align="left">
maven idea:multiproject</div>
</td>
<td>
<div align="left">
Generates IDEA .ipr, .iml and .iws project files.</div>
</td>
</tr>
<tr>
<td>
<div align="left">
maven -Dmaven.test.skip=true</div>
</td>
<td>
<div align="left">
</div>
Builds Axis2 and skips all the tests.</td>
</tr>
</tbody>
</table>
<br>
<h2 align="left">Maven FAQ</h2>
<p><i>1. I have problems with Maven 1.1</i></p>
<p style="text-indent: 10pt">It seems that Maven 1.1 doesn't come bundled
with the required itest plug-in and artifact plug-in. Run the following to
get it updated.<br>
</p>
<ol>
<li>maven plugin:download -DgroupId=maven-itest-plugin
-DartifactId=maven-itest-plugin -Dversion=1.0
-Dmaven.repo.remote=http://www.openejb.org/maven,http://www.ibiblio.org/maven</li>
<li>maven plugin:Download -DgroupId=maven
-DartifactId=maven-artifact-plugin -Dversion=1.6</li>
</ol>
<p align="left"> </p>
<p align="left"> </p>
</body>
</html>