I successfully did mvn install on ...legacy, which ended with:
[INFO] Installing C:\Java\examples_workspaces\spring\spring-boot-legacy\pom.xml
to C:\Users\michael.chambers.m2\repository\org\springframework\boot\spring-boot
-legacy\1.0.0.M2\spring-boot-legacy-1.0.0.M2.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
Then I tried mvn install on the ...gae.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:26 min
[INFO] Finished at: 2014-10-04T22:56:43-04:00
[INFO] Final Memory: 10M/263M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project gae-demo: Could not resolve dependenci
es for project org.demo:gae-demo:war:0.0.1-SNAPSHOT: Could not find artifact org
.springframework.boot:spring-boot-legacy:jar:1.1.0.BUILD-SNAPSHOT in spring-snap
shots (http://repo.spring.io/snapshot) -> [Help 1]
I noticed it was looking for legacy 1.1.0.BUILD-SNAPSHOT, but the prior one was installed as 1.0.0.M2.
mvn install worked after I changed the ...gae pom to have:
The README states you should install locally spring-boot-legacy.
Then, ensure the version you built locally is the version you use in your pom.xml file
I successfully did mvn install on ...legacy, which ended with: [INFO] Installing C:\Java\examples_workspaces\spring\spring-boot-legacy\pom.xml to C:\Users\michael.chambers.m2\repository\org\springframework\boot\spring-boot -legacy\1.0.0.M2\spring-boot-legacy-1.0.0.M2.pom [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS
Then I tried mvn install on the ...gae.
[INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 02:26 min [INFO] Finished at: 2014-10-04T22:56:43-04:00 [INFO] Final Memory: 10M/263M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project gae-demo: Could not resolve dependenci es for project org.demo:gae-demo:war:0.0.1-SNAPSHOT: Could not find artifact org .springframework.boot:spring-boot-legacy:jar:1.1.0.BUILD-SNAPSHOT in spring-snap shots (http://repo.spring.io/snapshot) -> [Help 1]
I noticed it was looking for legacy 1.1.0.BUILD-SNAPSHOT, but the prior one was installed as 1.0.0.M2.
mvn install worked after I changed the ...gae pom to have: