One of the jars is jackson core, I'm trying to upgrade from 2.4.3 to 2.7.3. It looks like the coordinates are identical.
I tried upgrading the war plugin to 3.2.0, but that didn't help. On Thu, Mar 15, 2018 at 9:07 AM, Anders Hammar <[email protected]> wrote: > Could it be that it's a different groupId for all these jackson artifacts? > That what explain why there are several different version for the same > library as Maven sees it as different coordinates. > > I would check the jars and see if there's pom in them which would anser > this. > Also, I would make sure to upgrade the war plugin to the latest version. It > could be a bug. > > /Anders > > On Thu, Mar 15, 2018 at 7:45 AM, Jonathan Yom-Tov < > [email protected]> wrote: > > > 100%, grep does not lie :-) > > > > There's also something else that's strange: as a workaround I tried to > add > > a packagingExcludes section to the pom.xml but the unwanted jars were > still > > included. > > > > > > > > On Mar 15, 2018 08:37, "Golan, Yaron" <[email protected]> wrote: > > > > > Hi Jon, > > > This scenario is very strange. > > > > > > Are you absolutely sure that the mvn dependency:tree didn't print it > out? > > > > > > > > > > > > -----Original Message----- > > > From: Jonathan Yom-Tov [mailto:[email protected]] > > > Sent: Wednesday, March 14, 2018 21:40 > > > To: [email protected] > > > Subject: old version of dependencies getting included into project > > > > > > hi, > > > > > > I have a fairly large project which compiles to a war file. I've > upgraded > > > the jackson dependency to 2.7.3 but for some reason 2.4.3 and 2.4.0 jar > > > files are included into the war file in addition to the 2.7.3 version. > I > > > ran mvn dependency:tree to figure out the reason but the old versions > > don't > > > appear there. They also don't appear in the build log. I deleted the > old > > > versions from my local maven repo. Didn't help. Any ideas on how to > > figure > > > this out? > > > > > > thanks, > > > Jon. > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [email protected] > > > For additional commands, e-mail: [email protected] > > > > > >
