Maven Plugin checking several OSGi aspects of your project
Add this plugin to your plugins section to enable checking your project:
<plugin> <groupId>org.apache.felix</groupId> <artifactId>osgicheck-maven-plugin</artifactId> <version>0.0.1-SNAPSHOT</version> <executions> <execution> <id>check-bundle</id> <goals> <goal>check</goal> </goals> <configuration> <mode>[DEFAULT|STRICT|ERRORS_ONLY|OFF]</mode> <!-- config needs to be specified as a cdata section --> <config> <![CDATA[ <name_of_the_check_task> <skip>[false|true]</skip> <!-- task specific configuration --> </name_of_the_check_task> ]]> </config> </configuration> </execution> </executions> </plugin>
The following checks are performed:
The following checks are performed:
The following checks are performed: