Using Clover with the maven-bundle-plugin
This page contains instructions on how to use Clover with the maven-bundle-plugin.
The following configuration is required to ensure that the clover.jar
and any instrumented source files are ignored by the maven-bundle-plugin.
方法
Carry out the following steps.
- Make the bundle plugin process instrument the class files correctly
- Ensure the Clover artifact is not embedded in the bundle.
例
Here, we are configuring pom.xml
for the maven-bundle-plugin:
<Import-Package> <!-- Make the bundle plugin process instrumented class files correctly -->
com_*;resolution:=optional
</Import-Package>
<Embed-Dependency>artifactId=!clover</Embed-Dependency> <!-- Ensure the clover artifact is not embedded in the bundle -->
最終更新日 2009 年 4 月 23 日
Powered by Confluence and Scroll Viewport.