I see; that will really mess up the Maven classpath, because it won't be able to detect that
com.sun.mail:javax.mail:1.5.2 is a later version of javax.mail:mail:1.4.7 So if there are dependencies on both, then both will be added to the classpath. They also appear to have created copies of most of the 1.4.x javax.mail releases under com.sun.mail. What a mess! On 17 October 2014 07:24, Thomas Neidhart <thomas.neidh...@gmail.com> wrote: > On 10/17/2014 03:52 AM, Gary Gregory wrote: >> On Thu, Oct 16, 2014 at 9:15 PM, sebb <seb...@gmail.com> wrote: >> >>> On 15 October 2014 14:19, <ggreg...@apache.org> wrote: >>>> Author: ggregory >>>> Date: Wed Oct 15 13:19:50 2014 >>>> New Revision: 1632011 >>>> >>>> URL: http://svn.apache.org/r1632011 >>>> Log: >>>> Update Oracle Mail from 1.4.7 to 1.5.2. >>>> >>>> Modified: >>>> commons/proper/email/trunk/pom.xml >>>> >>>> Modified: commons/proper/email/trunk/pom.xml >>>> URL: >>> http://svn.apache.org/viewvc/commons/proper/email/trunk/pom.xml?rev=1632011&r1=1632010&r2=1632011&view=diff >>>> >>> ============================================================================== >>>> --- commons/proper/email/trunk/pom.xml (original) >>>> +++ commons/proper/email/trunk/pom.xml Wed Oct 15 13:19:50 2014 >>>> @@ -228,9 +228,9 @@ >>>> >>>> <dependencies> >>>> <dependency> >>>> - <groupId>javax.mail</groupId> >>>> - <artifactId>mail</artifactId> >>>> - <version>1.4.7</version> >>>> + <groupId>com.sun.mail</groupId> >>> >>> Huh? Is that really the groupId? >>> >> >> From the digging around I did it appears so... >> >> https://java.net/projects/javamail/sources/mercurial/content/pom.xml?rev=666 > > The changes are documented here, and the new coordinates are indeed correct: > > https://java.net/projects/javamail/pages/Home#Download_JavaMail_1.5.1_Release > >> Gary >> >> >>> If so, that will be a recipe for jar hell. >>> >> >> >> >>> >>>> + <artifactId>javax.mail</artifactId> >>>> + <version>1.5.2</version> >>>> </dependency> >>>> <!-- JAF is built-in to Java 6 --> >>>> <dependency> >>>> >>>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org >>> For additional commands, e-mail: dev-h...@commons.apache.org >>> >>> >> >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > For additional commands, e-mail: dev-h...@commons.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org