Skip to content
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

spring boot tests & logging overriding managed version [SPR-11071] #15698

Closed
spring-issuemaster opened this issue Nov 6, 2013 · 3 comments
Closed

Comments

@spring-issuemaster
Copy link
Collaborator

@spring-issuemaster spring-issuemaster commented Nov 6, 2013

Pete opened SPR-11071 and commented

Not sure I specified the correct spring version. I am using spring-boot version 0.5.0.M5 which loads up spring 4.0.0.M3, but there is no 0.5.0.M5 in the version drop list. Sorry if I got this wrong.

In my spring-boot pom.xml, I have the following 2 entries I lifted from the spring-boot examples.

If I remove the version from logging, then the pom complains there is no version specified for logging.

<dependency>
	<groupId>org.springframework.boot</groupId>
	<artifactId>spring-boot-starter-logging</artifactId>
	<version>0.5.0.M5</version>
</dependency>

If I leave the version number in for tests, then the pom complains I am overriding the managed version and if I remove the version, then pom complains I have not set a version for tests.

<dependency>
	<groupId>org.springframework.boot</groupId>
	<artifactId>spring-boot</artifactId>
	<version>0.5.0.M5</version>
	<classifier>tests</classifier>
</dependency>

This is the parent pom I am using, also lifted from the examples

<parent>
	<groupId>org.springframework.boot</groupId>
	<artifactId>spring-boot-starter-parent</artifactId>
	<version>0.5.0.M5</version>
</parent>

Affects: 4.0 M3

@spring-issuemaster
Copy link
Collaborator Author

@spring-issuemaster spring-issuemaster commented Nov 7, 2013

Dave Syer commented

We're not using JIRA for Spring Boot. A Github issue is fine. It might be better for the original poster to open one.

@spring-issuemaster
Copy link
Collaborator Author

@spring-issuemaster spring-issuemaster commented Nov 7, 2013

Pete commented

I have posted this in Github, so please close this.

Github #109

@spring-issuemaster
Copy link
Collaborator Author

@spring-issuemaster spring-issuemaster commented Nov 7, 2013

Sam Brannen commented

Closing this issue since it has been opened as Issue #109 in the Spring Boot GitHub repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.