Hi,

We  use maven BND Plugin to generate OSGi bundles from regular jars. We use it 
like this:

                                                <plugin>
                                                                
<groupId>org.apache.felix</groupId>
                                                                
<artifactId>maven-bundle-plugin</artifactId>
                                                                <configuration>
                                                                                
<instructions>
                                                                                
                <Export-Package>com.mycompany.*</Export-Package>
                                                                                
</instructions>
                                                                </configuration>
                                                                <executions>
                                                                                
<execution>
                                                                                
                <id>bundle-manifest</id>
                                                                                
                <phase>process-classes</phase>
                                                                                
                <goals>
                                                                                
                                <goal>manifest</goal>
                                                                                
                </goals>
                                                                                
</execution>
                                                                </executions>
                                                </plugin>

As you can see this plugin is in process-classes phase. I've another plugin 
execution happening at a later phase (verify) and it is trying to read the 
property $(maven-symbolicname) generated by bundle plugin. At least, that's 
what the documentation says - 
http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html

But, when I read that property I always get null. Does this property work for 
anyone? Any ideas on what I'm missing here?

Thanks,

- Raja.

Reply via email to