You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by sebb <se...@gmail.com> on 2014/10/17 03:15:40 UTC
Re: svn commit: r1632011 - /commons/proper/email/trunk/pom.xml
On 15 October 2014 14:19, <gg...@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?
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-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org
Re: svn commit: r1632011 - /commons/proper/email/trunk/pom.xml
Posted by Gary Gregory <ga...@gmail.com>.
Each project that finds itself in a mess with have to do explicit
excludes... bummer
Gary
On Fri, Oct 17, 2014 at 3:37 PM, sebb <se...@gmail.com> wrote:
> 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 <th...@gmail.com>
> wrote:
> > On 10/17/2014 03:52 AM, Gary Gregory wrote:
> >> On Thu, Oct 16, 2014 at 9:15 PM, sebb <se...@gmail.com> wrote:
> >>
> >>> On 15 October 2014 14:19, <gg...@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-unsubscribe@commons.apache.org
> >>> For additional commands, e-mail: dev-help@commons.apache.org
> >>>
> >>>
> >>
> >>
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> > For additional commands, e-mail: dev-help@commons.apache.org
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>
--
E-Mail: garydgregory@gmail.com | ggregory@apache.org
Java Persistence with Hibernate, Second Edition
<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory
Re: svn commit: r1632011 - /commons/proper/email/trunk/pom.xml
Posted by sebb <se...@gmail.com>.
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 <th...@gmail.com> wrote:
> On 10/17/2014 03:52 AM, Gary Gregory wrote:
>> On Thu, Oct 16, 2014 at 9:15 PM, sebb <se...@gmail.com> wrote:
>>
>>> On 15 October 2014 14:19, <gg...@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-unsubscribe@commons.apache.org
>>> For additional commands, e-mail: dev-help@commons.apache.org
>>>
>>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org
Re: svn commit: r1632011 - /commons/proper/email/trunk/pom.xml
Posted by Thomas Neidhart <th...@gmail.com>.
On 10/17/2014 03:52 AM, Gary Gregory wrote:
> On Thu, Oct 16, 2014 at 9:15 PM, sebb <se...@gmail.com> wrote:
>
>> On 15 October 2014 14:19, <gg...@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-unsubscribe@commons.apache.org
>> For additional commands, e-mail: dev-help@commons.apache.org
>>
>>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org
Re: svn commit: r1632011 - /commons/proper/email/trunk/pom.xml
Posted by Gary Gregory <ga...@gmail.com>.
On Thu, Oct 16, 2014 at 9:15 PM, sebb <se...@gmail.com> wrote:
> On 15 October 2014 14:19, <gg...@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
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-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>
--
E-Mail: garydgregory@gmail.com | ggregory@apache.org
Java Persistence with Hibernate, Second Edition
<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory