stormpath-sdk-java
stormpath-sdk-java copied to clipboard
Spring boot tutorial documentation bug in creating first Stormpath demo
At the start of the Spring Boot Web tutorial it links to tutorials/spring-boot and suggests creating your very first Stormpath demo application like so:
mkdir MyProject
cd MyProject
cp -r <path to Stormpath sdk>/tutorials/spring-boot/03-spring-security-refined/* .
mvn clean package
java -jar target/*.jar
However this will fail - before the mvn step you have to edit the copied pom to remove the <parent> block and change the artifact <version> from the referenced SNAPSHOT to one that is available via Maven Central, i.e. currently you'd have to change from 1.2.2-SNAPSHOT to 1.2.1.
The <parent> block is unnecessary and refers to a pom that's present in the tutorials directory but obviously not directly visible to to the copy of 03-spring-security-refined that you've created in MyProject.