You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by bu...@apache.org on 2007/11/27 23:04:03 UTC

DO NOT REPLY [Bug 43304] - [PATCH] Maven POM dependencies

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43304>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43304


dennisl@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dennisl@apache.org




------- Additional Comments From dennisl@apache.org  2007-11-27 14:04 -------
The javax.mail dependency should not be marked as provided. Provided means that
the dependency will always be provided by the target environment.

An example to highlight why it would be wrong to mark it as provided. Say you
have a command line application that uses log4j for logging. The user of the
application decides to add an SMTPAppender to send email if something goes
fataly wrong. Now the user needs to take action to make this work. He or she
needs to copy the javamail jar into the classpath of the application. In other
words: javax.mail is not provided by the target environment.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org