Skip to content

Website quickstart maven example doesn't work #117

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
xylifyx2 opened this issue Nov 15, 2013 · 4 comments
Closed

Website quickstart maven example doesn't work #117

xylifyx2 opened this issue Nov 15, 2013 · 4 comments

Comments

@xylifyx2
Copy link

http://projects.spring.io/spring-boot/#quick-start

It needs the snapshots and milestone repos to work.

<repository>
        <id>spring-snapshots</id>
        <name>Spring Snapshots</name>
        <url>http://repo.spring.io/snapshot</url>
        <snapshots>
            <enabled>true</enabled>
        </snapshots>
</repository>
<repository>
        <id>spring-milestones</id>
        <name>Spring Milestones</name>
        <url>http://repo.spring.io/milestone</url>
        <snapshots>
            <enabled>false</enabled>
        </snapshots>
    </repository>
@dsyer
Copy link
Member

dsyer commented Nov 15, 2013

Some formatting problems in your issue description?

Unless I'm missing something I actually think you are wrong (because for me in a Chrome browser the snapshot repo is selected by the snapshot sample, and the milestone similarly), but maybe you didn't have JavaScript in your browser or some other such edge case that I haven't seen. What is your browser and is JavaScript enabled?

However, this highlights a different problem - the sample is incomplete without the plugin and plugin repositories.

@xylifyx2
Copy link
Author

Yes but snapshots have dependencies in The milestone repo

@dsyer
Copy link
Member

dsyer commented Nov 15, 2013

Good point, thanks. We can fix that.

dsyer pushed a commit that referenced this issue Nov 17, 2013
Even snapshots of Spring Boot depend on milestones of other projects
at the moment, so we need a custom pom.xml template to bring in the
starter parent (and in turn to declare the repository there).

Half of work for (see master for other) gh-117.
@dsyer dsyer closed this as completed in 79495e7 Nov 17, 2013
@dsyer
Copy link
Member

dsyer commented Nov 17, 2013

Fixed. The fix isn't ideal (the starter parent has to have the repository declared because the website structure doesn't allow the repository configuration to be customized). But it won't matter once we get rid of all milestone dependencies.

gigfork pushed a commit to boostrack/spring-boot that referenced this issue Apr 21, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants