Just use the Maven wrapper. Honestly all this can be avoided.
Delany

On Fri, 1 Oct 2021 at 10:42, Fred Cooke <[email protected]> wrote:

> Gidday Tamas,
>
> Yeah, I'm not surprised. I don't install maven on my personal machines with
> Brew, I grab and expand the tarball and have a system of symlinks to switch
> around easily from old to new etc (I have some crappy old projects I still
> need to build with old JDK and old Maven).
>
> But at work, Mac. With corporate spyware, no less. And Brew is how we get
> OpenSSL, Git, Maven, OpenJDK, and Branchout (a great tool a friend of mine
> wrote that I've been contributing to as much as I can, not perfect yet, but
> pretty good depending on your style/needs).
>
> My hope was that I could set a [email protected] dependency in Branchout's brew
> project to avoid 3.8.2, however I saw it wasn't there, but ancient stuff
> WAS there, and thought "sweet, I'll just contribute it", but nope, not so
> fast :-D What's amazing to me is that they wouldn't accept a legit 3.6 but
> have 3.5, 3.3, and 3.2 - all great versions back in their day, but all
> obsolete outside of say super old fashioned slow adopting banks or
> whatever. That's mind blowing. I'd do a PR to remove the older ones, but
> someone might be using them, and I couldn't live with myself, however the
> inconsistency totally bothers me :-D
>
> Always game to "try latest" but when it's work, continuity and stability
> are needed, and Brew certainly doesn't provide that. If 3.8.3 is a fizzer
> [1] I'll add a "tap" of 3.8.1 to Branchout side by side with the branchout
> formula files and depend directly on that. Then it'll be stable. But that
> seems like a lot of work for something that could be supported out of the
> box especially considering formulae are text files and no hosting is
> required...
>
> Wasn't aware of sdkman, but I don't decide what dozens of mac users use.
> Used to be fink, then it was ports, now it's brew, it's probably not the
> last project to try to fill the voids apple leaves. :-)
>
> To be fair, it's worked well up until now, just 3.8.2 didn't cut the
> mustard for us, but I'm sure along the way there were flaws in the 3.6
> series that were deal breakers for others while they were fine for us. Such
> is life :-)
>
> Cheers,
>
> Fred.
>
> [1] Firework where only the fuse burns (fizzes) leaving you wondering if
> it's about to blow, ruining the excitement, and causing a gap in the fun
> while you wait until it's probably safe to pick up :-D
>
> On Fri, 1 Oct 2021 at 19:04, Tamás Cservenák <[email protected]> wrote:
>
> > Howdy,
> >
> > I was chased away from Brew many times with the words "it's not a version
> > manager" :)
> >
> > Yes, Brew is a tool that helps you install stuff, but it really focus on
> > "latest", and does not have a notion of package "version", they solve it
> > (correct me if I'm wrong), by doing some trickeries around formulas (so
> > X.0.1 and X.0.2 are actually TWO formulas).
> >
> > In short, I don\t want to be smartxss, but:
> > - are you sure Brew is the tool you want to provision Maven?
> > - Are you aware of SDKMAN (https://sdkman.io/) for example, that is able
> > to
> > do exactly what you need, out of the box?
> >
> > But in general, I am completely aligned with Karl, try latest (as you
> > noticed, soon 3.8.3)
> >
> > HTH
> > Tamas
> >
> >
> >
> > On Fri, Oct 1, 2021 at 12:41 AM Fred Cooke <[email protected]> wrote:
> >
> > > Hey Karl,
> > >
> > > Thank you very much for your response and for all your work over the
> > years!
> > > :-)
> > >
> > > Now that I'm awake and not desperate to go to bed, I found the issue
> > > reported by someone else, but NOT on maven:
> > > https://issues.apache.org/jira/browse/MINVOKER-283
> > >
> > > However the comment from Michael Osipov suggests that it probably has
> > been
> > > identified in Maven and is likely included with 3.8.3 which (awesome to
> > > hear) is coming out very soon.
> > >
> > > Thanks to everyone who jumped on the ticket. I'll add my 2c there in a
> > > minute - it's already closed (harsh) but a bit of follow up is
> necessary.
> > >
> > > To be clear, I wasn't complaining about Maven, I've been using it since
> > > 2.0.4 or maybe earlier and have always been a huge fan. It's a hairy
> > beast
> > > and progress necessitates making calls to break things sometimes. I
> don't
> > > know if that's what this is, or if it's just a regression because
> hairy,
> > > but either way, it's normal for software to have various issues over
> > > various versions through its lifetime. The issue is that Brew has a
> very
> > > narrow view of "use only the latest" which is never practical. Such
> > > impractical views are regularly the work of Apple and deciphels thereof
> > but
> > > you won't find that in Debian where you can get stuff from WAY back IF
> > you
> > > need it. Same for ubu and I imagine same for most distros. I mean, look
> > at
> > > maven central, you need something from 2005? No problem. Brew: You need
> > > something from LAST WEEK - absolutely not! :-D Hilarious.
> > >
> > > Cheers,
> > >
> > > Fred.
> > >
> > > On Fri, 1 Oct 2021 at 09:11, Karl Heinz Marbaise <[email protected]>
> > > wrote:
> > >
> > > > Hi,
> > > >
> > > > On 30.09.21 15:49, Fred Cooke wrote:
> > > > > Hi all,
> > > > >
> > > > > We've hit an issue with maven 3.8.2 which a lot of our clients use
> on
> > > > macs
> > > > > through Brew and although brew supports the latest 3.8, 3.5, 3.3,
> 3.2
> > > > > versions it does not support 3.8.1 which doesn't have the
> regression
> > > and
> > > > > does not have 3.6 which was also fine for our purposes.
> > > > >
> > > > > I'm not sure if the issue we've got has been reported (not by me at
> > > > least)
> > > > > and I can certainly get that information, but it'd be helpful if
> > > someone
> > > > > like Robert of Stephen could chime in on this PR:
> > > > >
> > > > > https://github.com/Homebrew/homebrew-core/pull/86192 < Put 3.6.3
> > back
> > > in
> > > > > Brew on mac as an option.
> > > >
> > > > First It would be very helpful to know about what you are talking?
> Have
> > > > you created an JIRA issue for it? Have you checked the JIRA for it if
> > > > one already exist?
> > > >
> > > > Furthermore If someone has an issue with a particular Maven version
> > than
> > > > use the most recent one of that's not possible go down one
> > > > version...that's it...
> > > >
> > > > Most important here is to report such things. If we don't know
> anything
> > > > how could we know and even more important how could we fix it..
> > > >
> > > > Another thing is why should one of our devs get into a homebrew
> parts?
> > > > Also as Michael already wrote...
> > > >
> > > >  > The general approach is that every new version supersedes old
> > > > version. There is no old minor version support.
> > > >
> > > >  > Forget anything before 3.5.4 or even 3.6.3. If 3.8.3 proves to be
> > > > regression-free, forget 3.6.3 as
> > > >
> > > > Always use the most recent one...
> > > >
> > > > Kind regards
> > > > Karl Heinz Marbaise
> > > >
> > > > >
> > > > > I don't mind if in support or against my comments and intent, just
> > keen
> > > > to
> > > > > see a resolution for ~50 developers :-D
> > > > >
> > > > > Regards,
> > > > >
> > > > > Fred (3am, off to bed!)
> > > > >
> > > >
> > >
> >
>

Reply via email to