Maven Dependency for org.springframework.security.oauth, spring-security-oauth2 version 2.1.6.RELEASE

In this section developers will find the maven dependency for org.springframework.security.oauth, spring-security-oauth2 version 2.1.6.RELEASE.. Learn to use spring-security-oauth2 version 2.1.6.RELEASE dependency with Maven, Gradle, SBT, Ivy, Grape, Leiningen and Buildr build tools

Maven Dependency for org.springframework.security.oauth, spring-security-oauth2 version 2.1.6.RELEASE

In this section developers will find the maven dependency for org.springframework.security.oauth, spring-security-oauth2 version 2.1.6.RELEASE.. Learn to use spring-security-oauth2 version 2.1.6.RELEASE dependency with Maven, Gradle, SBT, Ivy, Grape, Leiningen and Buildr build tools.

In this section we will see the dependency code that can be added to Maven, Gradle, SBT, Ivy, Grape, Leiningen and Buildr  based project in order to get spring-security-oauth2 version 2.1.6.RELEASE dependency in the project.

The spring-security-oauth2 version 2.1.6.RELEASE is released on DATE and its available on the remote repositories such as maven central repositories, which can be used used by developer in their projects. They just have to add the dependency code of spring-security-oauth2 version 2.1.6.RELEASE given here.

How to use spring-security-oauth2 version 2.1.6.RELEASE in Java Maven project?

Java project using maven can easily download spring-security-oauth2 version 2.1.6.RELEASE dependency in your project once you add this dependency in your project.  You can add following code in your pom.xml file to get spring-security-oauth2 version 2.1.6.RELEASE version maven dependency in your project.

<dependency>
	<groupId>spring-security-oauth2</groupId>
	<artifactId>spring-security-oauth2</artifactId>
	<version>2.1.6.RELEASE</version>
</dependency>

Above dependency code will download the necessary jar files along with all the dependent packages if any from the remote repositions in your project and you will be able to use the  spring-security-oauth2 version 2.1.6.RELEASE in your project. Maven makes it very easy to quickly download  spring-security-oauth2 dependency packages of specified version e.g. version 2.1.6.RELEASE in this case.

How to check spring-security-oauth2 version 2.1.6.RELEASE library dependencies?

Maven comes with the handy command for finding the dependent libraries in maven based Java projects and this will help us in getting the dependencies tree of spring-security-oauth2 version 2.1.6.RELEASE. To check the dependency of spring-security-oauth2 version 2.1.6.RELEASE you can run following maven command into your project:

mvn dependency:tree

Above command gives the list of all the dependent libraries. In case of spring-security-oauth2 version 2.1.6.RELEASE following is the dependency tree:

DEPENDENCY TREE

Here is the screen shot of the command:

IMAGE_DEPENDENCY TREE

How to use spring-security-oauth2 version 2.1.6.RELEASE with Gradle, SBT, Ivy, Grape, Leiningen and Buildr?

The spring-security-oauth2  can also be used with the other build tools such as Gradle, SBT, Ivy, Grape, Leiningen and Buildr. Let's see the dependency code to be added in the project using these build tools.

Gradle

Here is the Gradle dependency for spring-security-oauth2 version 2.1.6.RELEASE:

implementation group: 'spring-security-oauth2', name: 'spring-security-oauth2', version: '2.1.6.RELEASE'

SBT

Here is the SBT dependency for spring-security-oauth2 version 2.1.6.RELEASE:

libraryDependencies += "spring-security-oauth2" % "spring-security-oauth2" % "2.1.6.RELEASE"

Ivy

Here is the Ivy dependency for spring-security-oauth2 version 2.1.6.RELEASE:

<dependency org="spring-security-oauth2" name="spring-security-oauth2" rev="2.1.6.RELEASE"/>  

Grape

Here is the Gradle dependency for spring-security-oauth2 version 2.1.6.RELEASE:

 @Grapes(
	@Grab(group='spring-security-oauth2', module='spring-security-oauth2', version='2.1.6.RELEASE')
)

Leiningen

Here is the Leiningen dependency for spring-security-oauth2 version 2.1.6.RELEASE:

[spring-security-oauth2/spring-security-oauth2 "2.1.6.RELEASE"]

Buildr

Here is the Buildr dependency for spring-security-oauth2 version 2.1.6.RELEASE:

'spring-security-oauth2:spring-security-oauth2:jar:2.1.6.RELEASE'

In this section we have explored spring-security-oauth2 version 2.1.6.RELEASE dependency and learned how to use this dependency in Java projects.

Categories