Skip to content

Commit d81da90

Browse files
committed
fix: run bnd-resolver before running the integration tests
1 parent accfecb commit d81da90

1 file changed

Lines changed: 14 additions & 6 deletions

File tree

  • kura/tools/kura-addon-archetype/src/main/resources/archetype-resources/tests/__package__.test

kura/tools/kura-addon-archetype/src/main/resources/archetype-resources/tests/__package__.test/pom.xml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -89,13 +89,21 @@
8989
<plugin>
9090
<groupId>biz.aQute.bnd</groupId>
9191
<artifactId>bnd-resolver-maven-plugin</artifactId>
92-
<configuration>
93-
<bndruns>
94-
<bndrun>integration-test.bndrun</bndrun>
95-
</bndruns>
96-
</configuration>
92+
<executions>
93+
<execution>
94+
<id>osgi-integration-resolving</id>
95+
<phase>pre-integration-test</phase>
96+
<goals>
97+
<goal>resolve</goal>
98+
</goals>
99+
<configuration>
100+
<bndruns>
101+
<bndrun>integration-test.bndrun</bndrun>
102+
</bndruns>
103+
</configuration>
104+
</execution>
105+
</executions>
97106
</plugin>
98-
99107
</plugins>
100108
</build>
101109
</project>

0 commit comments

Comments
 (0)