Skip to content

I tried the latest code, but had a version error #6

@MichaelChambers

Description

@MichaelChambers

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:

org.springframework.boot
spring-boot-legacy
1.0.0.M2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions