Java code which can be re-used in our different java projects.
Some modules depend on Google PubSub Emulator for running unit tests.
The emulator is not available as a Maven dependency in any public Maven repository. Options to deal with this dependency include:
<groupId>com.google.cloud</groupId>
<artifactId>pubsub-emulator</artifactId>
<version>0.1-SNAPSHOT</version>
The automatic downloading of the emulator can be deactivated in the Maven build by setting the following property:
mvn clean install -Dentur.google.pubsub.emulator.download.skip=true
A Spring property must then be set to point to a custom location for the emulator:
entur.pubsub.emulator.path=/path/to/emulator/pubsub-emulator-0.1-SNAPSHOT.jar
mvn clean install -DskipTests -Dentur.google.pubsub.emulator.download.skip=true