-
Notifications
You must be signed in to change notification settings - Fork 543
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
[SUREFIRE-1628] fix compatibility with maven 3.0.5 #274
Conversation
Have you tried to install (i.e. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure this is the right fix.
You are bypassing dependency injection.
Why do you want this plugin to be compatible with obsolete Maven 3.0.5 ?
Can't you use a previous version ?
@rfscholte |
@eolivelli |
I won't guarantee anything. Having it available as a bean gives me the freedom to inject other beans. So far there hasn't been a reason to do so. |
@eolivelli |
I'd go the simplest route: require 3.1 for Surefire 3.x |
We do currently. Would have been nice to see this working in 3.0.5. If this
is a big issue please see to it that at least the compatibility level is
documented and implemented correctly for surefire. And maybe announce 3.0.5
as EOL. TIA Jörg
Michael Osipov <notifications@github.com> schrieb am Mo., 6. Apr. 2020,
14:02:
… I'd go the simplest route: require 3.1 for Surefire 3.x
@joergsesterhenn <https://github.com/joergsesterhenn> Do you rely on
Maven 3.0.x?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#274 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAHN6SS7DXKKATPTGYCZMLDRLHAF3ANCNFSM4LDAVNEQ>
.
|
Don't know sorry. |
Unfortunately the Maven 3.0.x is not EOF yet, see the history: |
This is one of our serious problems I have raised on dev@ some months ago. We have no please policy how long something is support officially or at best effort. 7 years old release are more than enough. @joergsesterhenn Can you tell why you still rely on it? Old product? |
@joergsesterhenn |
I think the injection point should be moved from |
@michael-o |
Totally agree with deprecating 3.0 .. in fact I would deprecate 3.1 and probably 3.2 as well |
@mosabua |
There's at least one plugin still back in 2.x somewhere, I forget which. Updating from 3.0 to 3.1 is not simple in most cases. So far I've found one plugin where it was a one-liner. Usually it requires major work on the integration tests. |
@elharo |
Maven 3.0.x is EOL |
Closing due to the project is currently based on Maven API 3.2.x. |
As advised by @rfscholte and suggested by @Tibor17 I created this pull request to fix compatibility with maven 3.0.5 by replacing injection of LocationManager with instantiation.