javamail was removed from the maven repository due to licensing problems

You will need to download the correct version and add it to your repository manually.

Get it from Sun then save it to
$maven_home\repository\javamail\jars\javamail-1.2.jar

or 1.3 if you need that version


Thomas Nichols wrote:

Good day,

Trying to build CVS HEAD of Maven (OK under JDK 1.4.1, bug recorded for
JDK 1.3.0) and now CVS HEAD of a fresh (not sandbox) checkout of jelly -
problems with Jelly.

Sun JDK 1.4.1_01, Linux Mandrake 9.

maven java:jar -- builds fine

maven tags:build -- builds several taglibs fine, then breaks with

...
+----------------------------------------
| Building tag commons-jelly-tags-email
+----------------------------------------
...
import javax.mail.Session;
^
/home/thomasn/dev/jakarta-commons/jelly/jelly-tags/email/src/java/org/apache/commons/jelly/tags/email/EmailTag.java:71: package javax.mail does not exist

...
/home/thomasn/dev/jakarta-commons/jelly/jelly-tags/email/src/java/org/apache/commons/jelly/tags/email/EmailTag.java:307: cannot resolve symbol
symbol : class MessagingException location: class org.apache.commons.jelly.tags.email.EmailTag
catch (MessagingException e) {
^
38 errors

BUILD FAILED


Where do I need to add mail.jar, or is this not the problem? I don't yet
understand Maven well enough to know how to plumb it in. Any docs on
this?

Thanks,
Thomas.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to