0

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?

Damian
  • 593
  • 6
  • 27
  • Just for curiosity, is the org.springframework.social-google-version property defined in your POM? If yes, for which value? – A_Di-Matteo Dec 08 '15 at 20:40
  • of course it was. What a stupid mistake.... there was an extra ">" sign in front of the version number :( I did not read the maven error properly, I just assumed it is problem with finding the artifact in the maven repository... – Damian Dec 08 '15 at 20:59

1 Answers1

1

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.

A_Di-Matteo
  • 26,902
  • 7
  • 94
  • 128