As you can see in the example POM, you also need to place an additional
plugin dependency (containing the ipojo-bnd-plugin artifact's coordinates)
for the maven-bundle-plugin:

        <plugin>
          <groupId>org.apache.felix</groupId>
          <artifactId>maven-bundle-plugin</artifactId>
          <extensions>true</extensions>
          <dependencies>
            <dependency>
            <groupId>org.apache.felix</groupId>
            <artifactId>bnd-ipojo-plugin</artifactId>
            <version>1.8.4</version>
            </dependency>
          </dependencies>
        </plugin>

--G

2012/4/10 Guillaume Sauthier (Objectweb) <[email protected]>

> Nop, the Bnd "-plugin" instruction must contains the plugin classname.
> Ex:
> -plugin
> org.apache.felix.ipojo.bnd.PojoizationPlugin;metadata=${basedir}/src/main/resources/META-INF/metadata.xml;use-local-schemas=true
>
> The (optional) 'metadata' option instructs the plugin where to fin the
> metadata.xml file
> By default, it looks in the archive for a META-INF/metadata.xml file
>
> The (optional) 'use-local-schemas' property simply tells iPOJO to not
> verify XML validity against external resources but with the latest XML
> schemas included in the current version of the iPOJO manipulator
>
> Hope that helps
> --G
>
> PS here is an example:
> http://gitorious.ow2.org/ow2-shelbie/parent/blobs/master/pom.xml#line303
>
>
> 2012/4/9 Alexey Romanov <[email protected]>
>
>> How can I use iPOJO BND plugin? What instructions does it provide? Or
>> is it enough to include
>>
>> -plugin: path_to_plugin/bnd-ipojo-plugin-1.8.2.jar
>>
>> in my .bnd file?
>>
>> Yours, Alexey Romanov
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>

Reply via email to