question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Dependencies on sample declared without versions

See original GitHub issue

It will be cool to have each sample with the proper supported version of the library.

Current

Check https://github.com/spring-projects/spring-session/blob/2.0.2.RELEASE/samples/boot/jdbc/spring-session-sample-boot-jdbc.gradle were all the dependencies are declared like:

dependencies {
	compile project('org.springframework.boot:spring-boot-starter-web')
...
}

Desired

But the idea is to have something like:

dependencies {
	compile project('org.springframework.boot:spring-boot-starter-web:2.0.0.RELEASE')
...
}

With that declaration it will be easy to follow the project, also to reuse the samples latter.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
eleftheriascommented, Dec 9, 2021

I’m going to close this issue, as it seems to be resolved. Please comment below if you disagree and it can be reopened.

0reactions
danielgomezricocommented, Mar 26, 2018

Yeah! like that.

On Mon, Mar 26, 2018 at 10:17 AM, Vedran Pavic notifications@github.com wrote:

@caipivara https://github.com/caipivara Are you referring to sample docs like this one https://docs.spring.io/spring-session/docs/2.0.2.RELEASE/reference/html5/guides/boot-redis.html#updating-dependencies ?

The documentations is tagged together with the release, and it contains a reference of current version (see the header of page I linked above). So it should be obvious which release do we refer to in our sample docs, right?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/spring-projects/spring-session/issues/1022#issuecomment-376162196, or mute the thread https://github.com/notifications/unsubscribe-auth/AAEqPMaB6nMPGLLNQsTzmRM_oJvONq_Mks5tiOpxgaJpZM4SrcRx .

Daniel Gómez Rico

Read more comments on GitHub >

github_iconTop Results From Across the Web

Declaring Versions and Ranges - Gradle User Manual
A recommended practice for larger projects is to declare dependencies without versions and use dependency constraints for version declaration. The advantage is ...
Read more >
Declaring Dependencies - API Manual
A recommended practice for larger projects is to declare dependencies without versions and use dependency constraints for version declaration. The advantage is ...
Read more >
maven dependency without version - Stack Overflow
It is impossible for maven to work without defining versions of the artifacts. They should be defined somewhere in dependencyManagement tag ...
Read more >
Maven – Optional Dependencies and Dependency Exclusions
Optional dependencies are used when it's not possible (for whatever reason) ... A dependency is declared optional by setting the <optional> element to...
Read more >
Overriding Dependency Versions and Using Version Ranges ...
Declaring Dependencies in Maven ... In this example, our project is declaring that it needs guava library, version 31.0-jre , from the group...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found