[英]Spring Social Google - maven dependency not found
我找不到spring-social-google( https://github.com/GabiAxel/spring-social-google )的maven依賴關系。 根據文檔,依存關系的定義如下:
<dependency>
<groupId>org.springframework.social</groupId>
<artifactId>spring-social-google</artifactId>
<version>${org.springframework.social-google-version}</version>
</dependency>
但是,它不在maven存儲庫中。 誰能確認?
根據Maven存儲庫,spring-social-google的最新版本為1.0.0.RELEASE,如下所示:
<dependency>
<groupId>org.springframework.social</groupId>
<artifactId>spring-social-google</artifactId>
<version>1.0.0.RELEASE</version>
</dependency>
將其添加到您的POM中就足夠了。 在您的情況下,您正在使用${org.springframework.social-google-version}
版本的占位符。
因此,在您的POM中,您應該具有以下內容:
<properties>
<org.springframework.social-google-version>1.0.0.RELEASE</org.springframework.social-google-version>
</properties>
Maven將替換依賴項聲明中的屬性值並對其進行解析。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.