Make sure OSGi testsuite runs on 'mvn test'

This commit is contained in:
Trustin Lee 2013-03-19 16:48:53 +09:00
parent f70babcd94
commit 2970383bac
2 changed files with 10 additions and 0 deletions

View File

@ -121,6 +121,7 @@
<artifactId>maven-failsafe-plugin</artifactId> <artifactId>maven-failsafe-plugin</artifactId>
<executions> <executions>
<execution> <execution>
<phase>test</phase>
<goals> <goals>
<goal>integration-test</goal> <goal>integration-test</goal>
<goal>verify</goal> <goal>verify</goal>

View File

@ -246,6 +246,14 @@
<plugin> <plugin>
<groupId>org.apache.felix</groupId> <groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId> <artifactId>maven-bundle-plugin</artifactId>
<executions>
<execution>
<phase>generate-test-sources</phase>
<goals>
<goal>manifest</goal>
</goals>
</execution>
</executions>
<configuration> <configuration>
<instructions> <instructions>
<Service-Component>OSGI-INF/service-component/*.xml</Service-Component> <Service-Component>OSGI-INF/service-component/*.xml</Service-Component>
@ -258,6 +266,7 @@
<artifactId>maven-failsafe-plugin</artifactId> <artifactId>maven-failsafe-plugin</artifactId>
<executions> <executions>
<execution> <execution>
<phase>test</phase>
<goals> <goals>
<goal>integration-test</goal> <goal>integration-test</goal>
<goal>verify</goal> <goal>verify</goal>