How to use the iPOJO Maven Plug-inTo use the iPOJO Maven plug-in, edit the following pom.xml (replace all $xxx elements): <project> <dependencies> <!-- To download automatically the iPOJO Maven Plugin --> <build> The iPOJO Maven Plug-in is generally used with the BND Maven Plug-in (more details here). However the two configurations are completely separated. So, you can use all BND Maven plug-in features. The iPOJO configuration section can be used as previously written without any changes. However it requires that your metadata file is inside the "src/main/resources" folder and is named "metadata.xml". ExecutionTo manipulate your project, use the "mvn clean install" command. The output should be like: [INFO] Scanning for projects... Configuration OptionsYou can configure the localization of the iPOJO metadata file as following: <plugin> In the metadata element, you can specify your metadata files. This file must be either in the same directory than the POM file (project root) or in one of the resource folder of the maven project (for instance, "src/main/resources/ipojo/meta.xml"). The second option allows skipping annotations processing, by using the "ignoreAnnotations" element: <plugin> |
OverviewGetting StartedUser GuideToolsDeveloper GuideMisc & Contact
|