blob: fc411e0a6be89491112717ee92d5b26639cac1f3 (
plain)
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
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Apache Tuscany Composite Plugin - </title>
<style type="text/css" media="all">
@import url("./css/maven-base.css");
@import url("./css/maven-theme.css");
@import url("./css/site.css");
</style>
<link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
</head>
<body class="composite">
<div id="banner">
<span id="bannerLeft">
Apache Tuscany Composite Plugin
</span>
<div class="clear">
<hr/>
</div>
</div>
<div id="breadcrumbs">
<div class="xleft">
Last Published: 03/02/2007
</div>
<div class="xright">
</div>
<div class="clear">
<hr/>
</div>
</div>
<div id="leftColumn">
<div id="navcolumn">
<h5>Overview</h5>
<ul>
<li class="none">
<a href="index.html">Introduction</a>
</li>
<li class="none">
<a href="plugin-info.html">Goals</a>
</li>
<li class="none">
<strong>Usage</strong>
</li>
</ul>
<a href="http://maven.apache.org/" title="Built by Maven" id="poweredBy">
<img alt="Built by Maven" src="./images/logos/maven-feather.png"></img>
</a>
</div>
</div>
<div id="bodyColumn">
<div id="contentBox">
<div class="section"><h2>Usage</h2><p>The <tt>tuscany-composite-plugin</tt> can be used to package and integration-test an SCA composite. It is associated with artifacts with a type of <tt>composite</tt> and is activated by including it in the <tt>build</tt> section of your pom:</p><div class="source"><pre> <packaging>composite</packaging>
...
<build>
<plugins>
<plugin>
<groupId>org.apache.tuscany</groupId>
<artifactId>tuscany-composite-plugin</artifactId>
<extensions>true</extensions>
</plugin>
</plugins>
</build></pre></div><p>The build lifecycle for the project is the same as for normal Java jar artifacts with default support for compiling Java code, processing resources, building and running unit tests. The plugin also associates the <a href="../tuscany-itest-plugin/index.html"><tt>tuscany-itest-plugin</tt></a> with the integration-test phase of the build for testing the composite itself.</p></div>
</div>
</div>
<div class="clear">
<hr/>
</div>
<div id="footer">
<div class="xright">©
2007
Apache Software Foundation
</div>
<div class="clear">
<hr/>
</div>
</div>
</body>
</html>
|