blob: 630435197a763890ce2521b32025971561e0dd36 [file] [log] [blame]
Clement Escoffier50254022008-05-16 20:33:54 +00001<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Clement Escoffier3e0db1e2009-01-15 15:35:17 +00002<html><head>
3
4
Clement Escoffier50254022008-05-16 20:33:54 +00005
Clement Escoffier3e0db1e2009-01-15 15:35:17 +00006 <title>Apache Felix - iPOJO Maven Plug-in</title>
7 <link rel="stylesheet" href="ipojo-maven-plug-in_files/site.css" type="text/css" media="all">
8 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
9 </head><body>
10 <div class="title"><div class="logo"><a href="http://felix.apache.org/site/index.html"><img alt="Apache Felix" src="ipojo-maven-plug-in_files/logo.png" border="0"></a></div><div class="header"><a href="http://www.apache.org/"><img alt="Apache" src="ipojo-maven-plug-in_files/apache.png" border="0"></a></div></div>
11 <div class="menu">
12<ul>
13 <li><a href="http://felix.apache.org/site/news.html" title="news">news</a></li>
14 <li><a href="http://felix.apache.org/site/license.html" title="license">license</a></li>
15 <li><span class="nobr"><a href="http://felix.apache.org/site/downloads.cgi" title="Visit page outside Confluence" rel="nofollow">downloads<sup><img class="rendericon" src="ipojo-maven-plug-in_files/linkext7.gif" alt="" align="absmiddle" border="0" width="7" height="7"></sup></a></span></li>
16 <li><a href="http://felix.apache.org/site/documentation.html" title="documentation">documentation</a></li>
17 <li><a href="http://felix.apache.org/site/mailinglists.html" title="mailinglists">mailing lists</a></li>
18 <li><a href="http://felix.apache.org/site/contributing.html" title="Contributing">contributing</a></li>
19 <li><span class="nobr"><a href="http://www.apache.org/" title="Visit page outside Confluence" rel="nofollow">asf<sup><img class="rendericon" src="ipojo-maven-plug-in_files/linkext7.gif" alt="" align="absmiddle" border="0" width="7" height="7"></sup></a></span></li>
20 <li><span class="nobr"><a href="http://www.apache.org/foundation/sponsorship.html" title="Visit page outside Confluence" rel="nofollow">sponsorship<sup><img class="rendericon" src="ipojo-maven-plug-in_files/linkext7.gif" alt="" align="absmiddle" border="0" width="7" height="7"></sup></a></span></li>
21 <li><span class="nobr"><a href="http://www.apache.org/foundation/thanks.html" title="Visit page outside Confluence" rel="nofollow">sponsors<sup><img class="rendericon" src="ipojo-maven-plug-in_files/linkext7.gif" alt="" align="absmiddle" border="0" width="7" height="7"></sup></a></span>
Clement Escoffier50254022008-05-16 20:33:54 +000022<!-- ApacheCon Ad -->
Clement Escoffier3e0db1e2009-01-15 15:35:17 +000023<iframe src="ipojo-maven-plug-in_files/button.html" style="border-width: 0pt; float: left;" scrolling="no" width="135" frameborder="0" height="135"></iframe>
24<p style="height: 100px;">
25<!-- ApacheCon Ad -->
26</p></li></ul> </div>
27 <div class="main">
28<table class="sectionMacro" border="0" cellpadding="5" cellspacing="0" width="100%"><tbody><tr>
29<td class="confluenceTd" valign="top" width="80%">
30<h1><a name="iPOJOMavenPlug-in-HowtousetheiPOJOMavenPlugin"></a>How to use the iPOJO Maven Plug-in</h1>
Clement Escoffier50254022008-05-16 20:33:54 +000031
Clement Escoffier3e0db1e2009-01-15 15:35:17 +000032<p>To use the iPOJO Maven plug-in, edit the following pom.xml (replace all $xxx elements):</p>
33<div class="panel"><div class="panelContent">
34<p>&lt;project&gt;<br>
35&nbsp;&lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;<br>
36&nbsp;&lt;packaging&gt;bundle&lt;/packaging&gt; &lt;!-- Use the BND Maven plug-in --&gt;<br>
37<font color="red">&nbsp;</font> <font color="red">&lt;groupId&gt;$YOUR_GROUP_ID&lt;/groupId&gt;</font><br>
38<font color="red">&nbsp;</font><font color="red">&lt;artifactId&gt;$YOUR_ARTIFACT_ID&lt;/artifactId&gt;</font><br>
39<font color="red">&nbsp;</font> <font color="red">&lt;version&gt;$YOUR_ARTIFACT_VERSION&lt;/version&gt;</font><br>
40<font color="red">&nbsp;</font> <font color="red">&lt;name&gt;$YOUR_PROJECT_NAME&lt;/name&gt;</font></p>
Clement Escoffier50254022008-05-16 20:33:54 +000041
Clement Escoffier3e0db1e2009-01-15 15:35:17 +000042<p><font color="red">&nbsp;</font> <font color="red">&lt;dependencies&gt;</font><br>
43<font color="red">&nbsp;&nbsp;&nbsp;</font> <font color="red">$YOUR_MAVEN_DEPENDENCIES</font><br>
44<font color="red">&nbsp;</font> <font color="red">&lt;/dependencies&gt;</font></p>
Clement Escoffier50254022008-05-16 20:33:54 +000045
Clement Escoffier3e0db1e2009-01-15 15:35:17 +000046<p>&nbsp;&lt;build&gt;<br>
47&nbsp;&nbsp;&nbsp;&lt;plugins&gt;<br>
48&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;!-- BND Maven Plugin Configuration --&gt;<br>
49&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;plugin&gt;<br>
50&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;groupId&gt;org.apache.felix&lt;/groupId&gt;<br>
51&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;artifactId&gt;maven-bundle-plugin&lt;/artifactId&gt;<br>
52&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;extensions&gt;true&lt;/extensions&gt;<br>
53&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;configuration&gt;<br>
54&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;instructions&gt;<br>
55&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
56&lt;Bundle-SymbolicName&gt;${pom.artifactId}&lt;/Bundle-SymbolicName&gt;<br>
57<font color="red">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font><font color="red">&lt;Private-Package&gt;$YOUR_PRIVATE_PACKAGE&lt;/Private-Package&gt;</font><br>
58<font color="red">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font><font color="red">&lt;Export-Package&gt;$YOUR_EXPORTED_PACKAGE&lt;/Export-Package&gt;</font><br>
59&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/instructions&gt;<br>
60&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/configuration&gt;<br>
61&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/plugin&gt;<br>
62&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;!-- iPOJO Maven Plugin Configuration : nothing to do --&gt;<br>
63&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;plugin&gt;<br>
64&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;groupId&gt;org.apache.felix&lt;/groupId&gt;<br>
65&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;artifactId&gt;maven-ipojo-plugin&lt;/artifactId&gt;<br>
66&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;version&gt;1.0.0&lt;/version&gt;<br>
67&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;executions&gt;<br>
68&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;execution&gt;<br>
69&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;goals&gt;<br>
70&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
71&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;goal&gt;ipojo-bundle&lt;/goal&gt;<br>
72&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/goals&gt;<br>
73&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/execution&gt;<br>
74&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/executions&gt;<br>
75&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/plugin&gt;<br>
76&nbsp;&nbsp;&nbsp;&lt;/plugins&gt;<br>
77&nbsp;&lt;/build&gt;<br>
78&lt;/project&gt;</p>
79</div></div>
80<p>The iPOJO Maven Plug-in is generally used with the BND Maven Plug-in
81(more details here). However the two configurations are completely
82separated. So, you can use all BND Maven plug-in features. The iPOJO
83configuration section can be used as previously written without any
84changes. However it requires that your metadata file is inside the
85"src/main/resources" folder and is named "metadata.xml".</p>
Clement Escoffier50254022008-05-16 20:33:54 +000086
Clement Escoffier3e0db1e2009-01-15 15:35:17 +000087<h2><a name="iPOJOMavenPlug-in-Execution"></a>Execution</h2>
Clement Escoffier50254022008-05-16 20:33:54 +000088
Clement Escoffier3e0db1e2009-01-15 15:35:17 +000089<p>To manipulate your project, use the "<em>mvn clean install</em>" command. The output should be like:</p>
90<div class="panel"><div class="panelContent">
91<p>[INFO] Scanning for projects...<br>
92[INFO] ----------------------------------------------------------------------------<br>
93[INFO] Building Hello Client<br>
94[INFO]&nbsp;&nbsp;&nbsp;task-segment: [clean, install]<br>
95[INFO] ----------------------------------------------------------------------------<br>
96[INFO] [clean:clean]<br>
97[INFO] Deleting directory D:\clement\workspaces\iPOJO-Dev\hello.client\target<br>
98[INFO] Deleting directory D:\clement\workspaces\iPOJO-Dev\hello.client\target\classes<br>
99[INFO] Deleting directory D:\clement\workspaces\iPOJO-Dev\hello.client\target\test-classes<br>
100[INFO] Deleting directory D:\clement\workspaces\iPOJO-Dev\hello.client\target\site<br>
101[INFO] [resources:resources]<br>
102[INFO] Using default encoding to copy filtered resources.<br>
103[INFO] Copying 1 resource<br>
104[INFO] [compiler:compile]<br>
105[INFO] Compiling 1 source file to D:\clement\workspaces\iPOJO-Dev\hello.client\target\classes<br>
106[INFO] [resources:testResources]<br>
107[INFO] Using default encoding to copy filtered resources.<br>
108[INFO] Resource directory does not exist: D:\clement\workspaces\iPOJO-Dev\hello.client\src\test\resources<br>
109[INFO] [compiler:testCompile]<br>
110[INFO] No sources to compile<br>
111[INFO] [surefire:test]<br>
112[INFO] No tests to run.<br>
113[INFO] [bundle:bundle]<br>
114[INFO] [org.apache.felix.ipojo.:ipojo-bundle {execution: default}]<br>
115[INFO] Start bundle manipulation<br>
116[INFO] Metadata File : D:\clement\workspaces\iPOJO-Dev\hello.client\target\classes\metadata.xml<br>
117[INFO] Input Bundle File : D:\clement\workspaces\iPOJO-Dev\hello.client\target\hello.client-0.0.1.jar<br>
118[INFO] Bundle manipulation - SUCCESS<br>
119[INFO] [install:install]<br>
120[INFO] Installing
121D:\clement\workspaces\iPOJO-Dev\hello.client\target\hello.client-0.0.1.jar
122to
123D:\Dev\maven-repo\ipojo\example\hello.client\0.0.1\hello.client-0.0.1.jar<br>
124[INFO] ------------------------------------------------------------------------<br>
125[INFO] BUILD SUCCESSFUL<br>
126[INFO] ------------------------------------------------------------------------<br>
127[INFO] Total time: 9 seconds<br>
128[INFO] Finished at: Mon Aug 13 14:04:55 CEST 2007<br>
129[INFO] Final Memory: 6M/13M<br>
130[INFO] ------------------------------------------------------------------------</p>
131</div></div>
132<h2><a name="iPOJOMavenPlug-in-ConfigurationOptions"></a>Configuration Options</h2>
Clement Escoffier50254022008-05-16 20:33:54 +0000133
Clement Escoffier3e0db1e2009-01-15 15:35:17 +0000134<p>You can configure the localization of the iPOJO metadata file as following:</p>
135<div class="panel"><div class="panelContent">
136<p>&lt;plugin&gt;<br>
137&nbsp;&nbsp;&nbsp; &lt;groupId&gt;org.apache.felix&lt;/groupId&gt;<br>
138&nbsp;&nbsp;&nbsp; &lt;artifactId&gt;maven-ipojo-plugin&lt;/artifactId&gt;<br>
139&nbsp;&nbsp;&nbsp; &lt;version&gt;1.0.0&lt;/version&gt;<br>
140&nbsp;&nbsp;&nbsp; &lt;executions&gt;<br>
141&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;execution&gt;<br>
142&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;goals&gt;<br>
143&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;goal&gt;ipojo-bundle&lt;/goal&gt;<br>
144&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/goals&gt;<br>
145&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;configuration&gt;<br>
146&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="red">&lt;metadata&gt;ipojo/meta.xml&lt;/metadata&gt;</font><br>
147&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/configuration&gt;<br>
148&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&lt;/execution&gt;<br>
149&nbsp;&nbsp;&nbsp;&lt;/executions&gt;<br>
150&lt;/plugin&gt;</p>
151</div></div>
152<p>In the metadata element, you can specify your metadata files. This
153file must be either in the same directory than the POM file (project
154root) or in one of the resource folder of the maven project (for
155instance, "src/main/resources/ipojo/meta.xml").</p>
Clement Escoffier50254022008-05-16 20:33:54 +0000156
Clement Escoffier3e0db1e2009-01-15 15:35:17 +0000157<p>The second option allows skipping annotations processing, by using the <tt>ignoreAnnotations</tt> element:</p>
158<div class="panel"><div class="panelContent">
159<p>&lt;plugin&gt;<br>
160&nbsp;&nbsp;&nbsp; &lt;groupId&gt;org.apache.felix&lt;/groupId&gt;<br>
161&nbsp;&nbsp;&nbsp; &lt;artifactId&gt;maven-ipojo-plugin&lt;/artifactId&gt;<br>
162&nbsp;&nbsp;&nbsp; &lt;version&gt;1.0.0&lt;/version&gt;<br>
163&nbsp;&nbsp;&nbsp; &lt;executions&gt;<br>
164&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;execution&gt;<br>
165&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;goals&gt;<br>
166&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;goal&gt;ipojo-bundle&lt;/goal&gt;<br>
167&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/goals&gt;<br>
168&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;configuration&gt;<br>
169&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;<font color="red">&lt;ignoreAnnotations&gt;true&lt;/ignoreAnnotations&gt;</font><br>
170&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/configuration&gt;<br>
171&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&lt;/execution&gt;<br>
172&nbsp;&nbsp;&nbsp;&lt;/executions&gt;<br>
173&lt;/plugin&gt;</p>
174</div></div>
175
176<p>You can also ignore embedded XML-Schemas to use external ones. To do so, add the <tt>ignoreEmbeddedSchemas</tt>. If set to <tt>true</tt>, the manipulator doesn't use embedded XML-Schemas [1.1.0-SNAPSHOT]:</p>
177<div class="panel"><div class="panelContent">
178<p>&lt;plugin&gt;<br>
179&nbsp;&nbsp;&nbsp; &lt;groupId&gt;org.apache.felix&lt;/groupId&gt;<br>
180&nbsp;&nbsp;&nbsp; &lt;artifactId&gt;maven-ipojo-plugin&lt;/artifactId&gt;</p>
Clement Escoffier130ca572008-10-13 07:33:03 +0000181
182
Clement Escoffier3e0db1e2009-01-15 15:35:17 +0000183<p>&nbsp;&nbsp;&nbsp; &lt;version&gt;1.0.0&lt;/version&gt;<br>
184&nbsp;&nbsp;&nbsp; &lt;executions&gt;<br>
185&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;execution&gt;<br>
186&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;goals&gt;<br>
187&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;goal&gt;ipojo-bundle&lt;/goal&gt;<br>
188&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/goals&gt;<br>
189&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;configuration&gt;<br>
190&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;<font color="red">&lt;ignoreEmbeddedSchemas&gt;true&lt;/ignoreEmbeddedSchemas&gt;</font><br>
191&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/configuration&gt;<br>
192&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&lt;/execution&gt;<br>
193&nbsp;&nbsp;&nbsp;&lt;/executions&gt;<br>
194&lt;/plugin&gt;</p>
195</div></div>
Clement Escoffier50254022008-05-16 20:33:54 +0000196
197
Clement Escoffier3e0db1e2009-01-15 15:35:17 +0000198<h2><a name="iPOJOMavenPlug-in-GeneratetheskeletonofyouriPOJObundle"></a>Generate the skeleton of your iPOJO bundle</h2>
199<p>The maven-ipojo-plugin provides a way to generate the skeleton of
200your project. To generate this structure, just launch the following
201command:</p>
202<div class="code"><div class="codeContent">
203<pre class="code-java">mvn org.apache.maven.plugins:maven-archetype-plugin:create \
204-DarchetypeArtifactId=maven-ipojo-plugin \
205-DarchetypeGroupId=org.apache.felix \
206-DartifactId=ARTIFACT_NAME_OF_YOUR_PROJECT \
207-DgroupId=GROUP_ID_OF_YOUR_PROJECT \
208-DarchetypeVersion=VERSION_OF_YOUR_PROJECT \
209-DpackageName=PACKAGE_NAME</pre>
210</div></div>
211<p>This command generates :</p>
212<ul>
213 <li>a pom file (to fill out),</li>
214 <li>the src/main/java and src/main/resources folders,</li>
215 <li>the structure of your package name.</li>
216</ul>
Clement Escoffier50254022008-05-16 20:33:54 +0000217
218
Clement Escoffier3e0db1e2009-01-15 15:35:17 +0000219<p>The src/main/resources folder contains a metadata.xml file to fill out.</p>
220
221<p><em>Note:</em> the maven-ipojo-plugin archetype generates a pom file using the latest released version of the maven-ipojo-plugin.</p>
222
223<h2><a name="iPOJOMavenPlug-in-DescribingiPOJOconfigurationinthepomfile\Newinthe1.1.0SNAPSHOTversion\"></a>Describing iPOJO configuration in the pom file [New in the 1.1.0-SNAPSHOT version ]</h2>
224<p>It is also possible to describe iPOJO components and instances
225inside the pom file (avoiding using a externalized file). The
226configuration can be described in the <tt>metadata</tt> attribute inside a CDATA block.</p>
227<div class="code"><div class="codeContent">
228<pre class="code-xml"><span class="code-tag">&lt;plugin&gt;</span>
229 <span class="code-tag">&lt;groupId&gt;</span>org.apache.felix<span class="code-tag">&lt;/groupId&gt;</span>
230 <span class="code-tag">&lt;artifactId&gt;</span>maven-ipojo-plugin<span class="code-tag">&lt;/artifactId&gt;</span>
231 <span class="code-tag">&lt;version&gt;</span>1.1.0-SNAPSHOT<span class="code-tag">&lt;/version&gt;</span>
232 <span class="code-tag">&lt;executions&gt;</span>
233 <span class="code-tag">&lt;execution&gt;</span>
234 <span class="code-tag">&lt;goals&gt;</span>
235 <span class="code-tag">&lt;goal&gt;</span>ipojo-bundle<span class="code-tag">&lt;/goal&gt;</span>
236 <span class="code-tag">&lt;/goals&gt;</span>
237 <span class="code-tag">&lt;configuration&gt;</span>
238 <span class="code-tag">&lt;ignoreAnnotations&gt;</span>true<span class="code-tag">&lt;/ignoreAnnotations&gt;</span>
239 <span class="code-tag">&lt;metadata&gt;</span>
240 &lt;![CDATA[
241 &lt;ipojo
242 <span class="code-keyword">xmlns:xsi</span>=<span class="code-quote">"http://www.w3.org/2001/XMLSchema-instance"</span>
243 xsi:schemaLocation=<span class="code-quote">"org.apache.felix.ipojo http://felix.apache.org/ipojo/schemas/1.1.0-SNAPSHOT/core.xsd"</span>
244 xmlns=<span class="code-quote">"org.apache.felix.ipojo"</span>&gt;
245 &lt;component
246 classname=<span class="code-quote">"org.apache.felix.ipojo.test.scenarios.component.LifecycleControllerTest"</span>
247 name=<span class="code-quote">"LFC-Test"</span>&gt;
248 <span class="code-tag">&lt;provides /&gt;</span>
249 <span class="code-tag">&lt;controller field=<span class="code-quote">"m_state"</span> /&gt;</span>
250 <span class="code-tag">&lt;properties&gt;</span>
251 <span class="code-tag">&lt;property name=<span class="code-quote">"conf"</span> field=<span class="code-quote">"m_conf"</span> method=<span class="code-quote">"setConf"</span> /&gt;</span>
252 <span class="code-tag">&lt;/properties&gt;</span>
253 <span class="code-tag">&lt;/component&gt;</span>
254 &lt;component
255 classname=<span class="code-quote">"org.apache.felix.ipojo.test.scenarios.component.LifecycleControllerTest"</span>
256 name=<span class="code-quote">"LFC-Test-Immediate"</span> immediate=<span class="code-quote">"true"</span> architecture=<span class="code-quote">"true"</span>&gt;
257 <span class="code-tag">&lt;provides /&gt;</span>
258 <span class="code-tag">&lt;controller field=<span class="code-quote">"m_state"</span> /&gt;</span>
259 <span class="code-tag">&lt;properties&gt;</span>
260 <span class="code-tag">&lt;property name=<span class="code-quote">"conf"</span> field=<span class="code-quote">"m_conf"</span> method=<span class="code-quote">"setConf"</span> /&gt;</span>
261 <span class="code-tag">&lt;/properties&gt;</span>
262 <span class="code-tag">&lt;/component&gt;</span>
263 <span class="code-tag">&lt;/ipojo&gt;</span>
264 ]]&gt;
265 <span class="code-tag">&lt;/metadata&gt;</span>
266 <span class="code-tag">&lt;/configuration&gt;</span>
267 <span class="code-tag">&lt;/execution&gt;</span>
268 <span class="code-tag">&lt;/executions&gt;</span>
269<span class="code-tag">&lt;/plugin&gt;</span></pre>
270</div></div>
271</td>
272<td class="confluenceTd" valign="top" width="20%">
273<h6><a name="iPOJOMavenPlug-in-Overview"></a><b>Overview</b></h6>
274<ul>
275 <li><a href="http://felix.apache.org/site/apache-felix-ipojo.html" title="Apache Felix iPOJO">Home Page</a></li>
276 <li><a href="http://felix.apache.org/site/apache-felix-ipojo-feature-overview.html" title="Apache Felix iPOJO Feature Overview">iPOJO Feature Overview</a></li>
277 <li><a href="http://felix.apache.org/site/download.html" title="Download">Download &amp; Install </a></li>
278</ul>
Clement Escoffier50254022008-05-16 20:33:54 +0000279
280
Clement Escoffier3e0db1e2009-01-15 15:35:17 +0000281<h6><a name="iPOJOMavenPlug-in-GettingStarted"></a><b>Getting Started</b></h6>
282<ul>
283 <li><a href="http://felix.apache.org/site/ipojo-in-10-minutes.html" title="iPOJO in 10 minutes">iPOJO in 10 minutes</a></li>
284 <li><a href="http://felix.apache.org/site/how-to-use-ipojo-annotations.html" title="How to use iPOJO Annotations">How to use iPOJO Annotations</a></li>
285 <li><a href="http://felix.apache.org/site/ipojo-hello-word-maven-based-tutorial.html" title="iPOJO Hello Word (Maven-Based) tutorial">iPOJO Hello Word (Maven-Based) tutorial</a></li>
286 <li><a href="http://felix.apache.org/site/ipojo-advanced-tutorial.html" title="iPOJO Advanced Tutorial">iPOJO Advanced Tutorial</a></li>
287 <li><a href="http://felix.apache.org/site/ipojo-composition-tutorial.html" title="iPOJO Composition Tutorial">iPOJO Composition Tutorial</a></li>
288</ul>
Clement Escoffier50254022008-05-16 20:33:54 +0000289
290
Clement Escoffier3e0db1e2009-01-15 15:35:17 +0000291<h6><a name="iPOJOMavenPlug-in-UserGuide"></a><b>User Guide</b></h6>
292<ul>
293 <li><a href="http://felix.apache.org/site/describing-components.html" title="Describing components">Describing components (handler list) </a></li>
294 <li><a href="http://felix.apache.org/site/using-xml-schemas.html" title="Using XML Schemas">Using XML Schemas</a></li>
295 <li><a href="http://felix.apache.org/site/apache-felix-ipojo-testing-components.html" title="apache-felix-ipojo-testing-components">Testing components</a></li>
296 <li><a href="http://felix.apache.org/site/ipojo-advanced-topics.html" title="iPOJO Advanced Topics">Advanced Topics</a></li>
297 <li><a href="http://felix.apache.org/site/ipojo-faq.html" title="iPOJO FAQ">FAQ</a></li>
298 <li><a href="http://felix.apache.org/site/ipojo-reference-card.html" title="iPOJO-Reference-Card">iPOJO Reference Card</a></li>
299</ul>
Clement Escoffier50254022008-05-16 20:33:54 +0000300
301
Clement Escoffier3e0db1e2009-01-15 15:35:17 +0000302<h6><a name="iPOJOMavenPlug-in-Tools"></a><b>Tools</b></h6>
303<ul>
304 <li><a href="http://felix.apache.org/site/ipojo-eclipse-plug-in.html" title="iPOJO Eclipse Plug-in">iPOJO Eclipse Plug-in</a></li>
305 <li><a href="http://felix.apache.org/site/ipojo-ant-task.html" title="iPOJO Ant Task">iPOJO Ant Task</a></li>
306 <li><a href="" title="iPOJO Maven Plug-in">iPOJO Maven Plug-in</a></li>
307 <li><a href="http://felix.apache.org/site/ipojo-arch-command.html" title="iPOJO-Arch-Command">iPOJO Arch Command</a></li>
308 <li><a href="http://felix.apache.org/site/apache-felix-ipojo-junit4osgi.html" title="apache-felix-ipojo-junit4osgi">Junit4OSGi</a></li>
309 <li><a href="http://felix.apache.org/site/ipojo-concepts-overview.html" title="iPOJO Concepts Overview">iPOJO concepts overview</a></li>
310</ul>
Clement Escoffier50254022008-05-16 20:33:54 +0000311
312
Clement Escoffier3e0db1e2009-01-15 15:35:17 +0000313<h6><a name="iPOJOMavenPlug-in-DeveloperGuide"></a><b>Developer Guide</b></h6>
314<ul>
315 <li>API: <span class="nobr"><a href="http://people.apache.org/%7Eclement/ipojo/api/1.0/" title="Visit page outside Confluence" rel="nofollow">1.0<sup><img class="rendericon" src="ipojo-maven-plug-in_files/linkext7.gif" alt="" align="absmiddle" border="0" width="7" height="7"></sup></a></span></li>
316 <li><a href="http://felix.apache.org/site/how-to-write-your-own-handler.html" title="How to write your own handler">How to write your own handler</a></li>
317 <li><a href="http://felix.apache.org/site/how-to-use-ipojo-manipulation-metadata.html" title="How to use iPOJO Manipulation Metadata">How to use iPOJO Manipulation Metadata</a></li>
318 <li><a href="http://felix.apache.org/site/dive-into-the-ipojo-manipulation-depths.html" title="Dive into the iPOJO Manipulation depths">Dive into the iPOJO Manipulation depths</a></li>
319</ul>
Clement Escoffier50254022008-05-16 20:33:54 +0000320
Clement Escoffier3e0db1e2009-01-15 15:35:17 +0000321
322<h6><a name="iPOJOMavenPlug-in-Misc&amp;Contact"></a><b>Misc &amp; Contact</b></h6>
323<ul>
324 <li><a href="http://felix.apache.org/site/apache-felix-ipojo-issuestracker.html" title="apache-felix-ipojo-issuestracker">Issues Tracker</a></li>
325 <li><a href="http://felix.apache.org/site/apache-felix-ipojo-supportedvms.html" title="apache-felix-ipojo-supportedVMs">Supported JVMs</a></li>
326 <li><a href="http://felix.apache.org/site/apache-felix-ipojo-supportedosgi.html" title="apache-felix-ipojo-supportedOSGi">Supported OSGi Implementations</a></li>
327 <li><span class="nobr"><a href="http://ipojo-dark-side.blogspot.com/" title="Visit page outside Confluence" rel="nofollow">iPOJO's Dark Side Blog<sup><img class="rendericon" src="ipojo-maven-plug-in_files/linkext7.gif" alt="" align="absmiddle" border="0" width="7" height="7"></sup></a></span></li>
328 <li><a href="http://felix.apache.org/site/future-ideas.html" title="Future Ideas">Future Ideas</a></li>
329 <li><a href="http://felix.apache.org/site/contact.html" title="Contact">Contact</a></li>
330 <li><a href="http://felix.apache.org/site/related-works.html" title="Related Works">Related Works</a></li>
331 <li><a href="http://felix.apache.org/site/article-presentations.html" title="Article &amp; Presentations">Article &amp; Presentations</a></li>
332</ul>
333
334
335<hr>
336<div class="" align="center">
337<p><span class="nobr"><a href="http://cwiki.apache.org/confluence/createrssfeed.action?types=blogpost&amp;statuses=created&amp;statuses=modified&amp;spaces=FELIX&amp;labelString=iPOJO&amp;rssType=atom&amp;maxResults=10&amp;timeSpan=5&amp;publicFeed=true&amp;title=iPOJO%20Atom%20Feed" title="Stay tuned!" rel="nofollow"><img src="ipojo-maven-plug-in_files/feed-icon-32x32.png" align="absmiddle" border="0"><sup><img class="rendericon" src="ipojo-maven-plug-in_files/linkext7.gif" alt="" align="absmiddle" border="0" width="7" height="7"></sup></a></span></p></div>
338
339<script type="text/javascript">
340var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
341document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
342</script><script src="ipojo-maven-plug-in_files/ga.js" type="text/javascript"></script>
343<script type="text/javascript">
344var pageTracker = _gat._getTracker("UA-1518442-4");
345pageTracker._trackPageview();
346</script>
347</td></tr></tbody></table>
348 </div>
349 </body></html>