简体   繁体   中英

Spring Social Google - maven dependency not found

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?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM