I am using JHipster for my web application development. I am using JHipster facebook login feature. Now I have updated my JHipster version to 4.0.7 so my facebook login is not working.Previous version of"spring-social-facebook.version" is 2.0.3.RELEASE After googling for solution I have changed it to
<spring-social-facebook.version>3.0.0.M1</spring-social-facebook.version>
But when I am executing my application by gradlew command . it's not downloading the new version files. Please help me out.Am I missing something. or there another way to update the maven dependencies
My _pom.xml file is as follows
<dependency>
<groupId>org.springframework.social</groupId>
<artifactId>spring-social-facebook</artifactId>
<version>3.0.0.M1</version>
</dependency>
Just feeling confused by your question mixing gradlew, maven and _pom.xml which is a template for JHipster to generate your project's pom.xml if using maven.
If you use gradlew, the deps versions are in gradle.properties file.
You can add the spring milestones repository
<spring-social-facebook.version>3.0.0.M3</spring-social-facebook.version>
<dependency>
<groupId>org.springframework.social</groupId>
<artifactId>spring-social-facebook</artifactId>
<version>${spring-social-facebook.version}</version>
</dependency>
<repositories>
<repository>
<id>Central</id>
<url>http://central.maven.org.maven2</url>
</repository>
<repository>
<id>String milestones</id>
<url>http://repo.spring.io/milestone/</url>
</repository>
</repositories>
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.