example: pom-A.xml
currently there is no way build both bundle.jar and feature.xml in one step: karaf-maven-plugin is including all scopes, so resulting feature.xml is useless.
workaround: duplicate efforts and setup separate project
| <?xml version="1.0" encoding="UTF-8"?> | |
| <classpath> | |
| <classpathentry kind="src" output="target/classes" path="src/main/java"> | |
| <attributes> | |
| <attribute name="optional" value="true"/> | |
| <attribute name="maven.pomderived" value="true"/> | |
| </attributes> | |
| </classpathentry> | |
| <classpathentry kind="src" output="target/test-classes" path="src/test/java"> | |
| <attributes> | 
| package bench.question; | |
| public interface Comp { | |
| } |