BlueVibes Spring (bv-spring) is a part of BlueVibes platform with the main goal of speeding up the back-end development of BlueVibes applications.
The bv-spring consists of the following modules. You may include only one or several modules. Modules are:
Pre-configured spring security starter for BlueVibes applications. It enhances the BlueVibes applications with token based authentication.
Starter for a bv-micro-service. Provides the minimal set of libraries and Spring beans that are needed for creating and running the BlueVibes application.
Starter that provides all testing capabilities to BlueVibes applications.
Not meant to be included as dependency, only used internally. Provides common features that are used in all other BlueVibes modules.
Not meant to be included as dependency, only used internally.
First step is enabling bv-spring dependency management in your pom file. This does not add dependencies, but makes sure that the versions are consistent.
<dependencyManagement> <dependencies> <dependency> <groupId>io.bluevibes</groupId> <artifactId>bv-spring</artifactId> <version>0.8.0</version> <scope>import</scope> <type>pom</type> </dependency> </dependencies> </dependencyManagement>
To actually add a security module for example:
<dependency> <groupId>io.bluevibes</groupId> <artifactId>bv-security</artifactId> </dependency>