Jenkins builds are randomly failing due to OSGi packages trying to access other packages that are in the process of starting up, due to this the builds fail.
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> <version>1.8</version> <executions> <execution> <id>sleep-for-a-while</id> <phase>pre-integration-test</phase> <configuration> <target> <sleep seconds="10" /> </target> </configuration> <goals> <goal>run</goal> </goals> </execution> </executions> </plugin>