Repository navigation
Expand file tree
/
Copy pathmaven-help.html
More file actions
154 lines (143 loc) · 3.67 KB
/
Copy pathmaven-help.html
File metadata and controls
154 lines (143 loc) · 3.67 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
<!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 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">
download relevant jars, if not available and compile and run tests of
the system.</div>
</td>
</tr>
<tr>
<td>maven clean</td>
<td>Clean all the stuff build so far, that are 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">
run only the tests. Will do automatic compilation of 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">
Clean up and run all off line and on line 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 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">
List down all the commands available with maven</div>
</td>
</tr>
<tr>
<td>
<div align="left">
maven multiproject</div>
</td>
<td>
<div align="left">
generate this site</div>
</td>
</tr>
<tr>
<td>
<div align="left">
maven idea:multiproject</div>
</td>
<td>
<div align="left">
generate 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>It seems that maven 1.1 doesn't come bundled with the required itest
plugin and artifact plugin. Run followings to get it updated<br>
1. 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
<br>
2. maven plugin:Download -DgroupId=maven -DartifactId=maven-artifact-plugin
-Dversion=1.6</p>
<p align="left"> </p>
<p align="left"> </p>
</body>
</html>