Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] M2 Eclipse can't add javamail

javax.mail doesn't find anything.

I've added the repository to my pom.xml and the Add Dependency wizard still doesn't find it.  If I update dependencies it does download Java mail, however.





From: Chengyu Sun <csun@xxxxxxxxxxxxxx>
To: Maven Integration for Eclipse users mailing list <m2e-users@xxxxxxxxxxx>
Sent: Saturday, August 13, 2011 2:25 PM
Subject: Re: [m2e-users] M2 Eclipse can't add javamail

In the search dependencies input box, enter "javax.mail" and you
should find it.
http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html
explains more about dealing with Sun's libraries.

- Chengyu

On 8/13/2011 12:28 PM, Anders Hammar wrote:
> m2e uses indexes to find artifacts. I believe that the java.net repo
> doesn't provide an index.
>
> /Anders
>
> On Fri, Aug 12, 2011 at 21:44, Dean Schulze<dean_w_schulze@xxxxxxxxx>  wrote:
>> According to Oracle JavaMail is available is available at  java.net maven2
>> repository:
>>      http://www.oracle.com/technetwork/java/javamail/index.html
>>
>> When I try to use the M2E wizard to add this dependency it reports 0 results
>> for javamail, javax.mail, or mail.  I googled javamail and maven and found
>> the xml I had to add to the pom.xml to get javamail and I got the javamail
>> dependencies with no problem.
>> Why didn't the wizard find anything for javamail?
>>
>>
>> _______________________________________________
>> m2e-users mailing list
>> m2e-users@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/m2e-users
>>
>>
> _______________________________________________
> m2e-users mailing list
> m2e-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/m2e-users
_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users



Back to the top