Spring Social Google - maven dependency not found

445 Views Asked by At

I cannot find maven dependency for spring-social-google (https://github.com/GabiAxel/spring-social-google). According to the documentation the dependency is defined like that:

<dependency>
  <groupId>org.springframework.social</groupId>
  <artifactId>spring-social-google</artifactId>
  <version>${org.springframework.social-google-version}</version>
</dependency>

However it is not present in maven repository. Can anyone confirm that?

1

There are 1 best solutions below

0
On

According to Maven repository, the latest version of spring-social-google is 1.0.0.RELEASE, as following:

<dependency>
   <groupId>org.springframework.social</groupId>
   <artifactId>spring-social-google</artifactId>
   <version>1.0.0.RELEASE</version>
</dependency>

Adding it to your POM should be enough. In your case you are using a placeholder for the version, ${org.springframework.social-google-version}.

Hence, in your POM, you should have something as following:

<properties>
   <org.springframework.social-google-version>1.0.0.RELEASE</org.springframework.social-google-version>
</properties>

Maven will replace the property value in your dependency declaration and resolve it.