Browse Source

Fetch the right jars and dependencies for the mail task

master
Jaikiran Pai 6 years ago
parent
commit
42812995d0
3 changed files with 8 additions and 6 deletions
  1. +5
    -2
      fetch.xml
  2. +1
    -1
      lib/libraries.properties
  3. +2
    -3
      manual/install.html

+ 5
- 2
fetch.xml View File

@@ -315,8 +315,11 @@ Set -Ddest=LOCATION on the command line
<target name="javamail"
description="load Java Mail"
depends="init">
<f2 project="javax.mail" archive="javax.mail-api"/>
<f2 project="javax.activation" archive="activation"/>
<!-- We only need this one dependency as per
the project doc https://javaee.github.io/javamail/#Download_JavaMail_Release
This alone should bring in all necessary dependencies (including the API
jars and the activation jars -->
<f2 project="com.sun.mail" archive="javax.mail"/>
</target>

<target name="jspc"


+ 1
- 1
lib/libraries.properties View File

@@ -51,7 +51,7 @@ jakarta-regexp.version=1.4
jasper-compiler.version=4.1.36
jasper-runtime.version=${jasper-compiler.version}
# Later versions are built with Java 7
javax.mail-api.version=1.5.6
javax.mail.version=1.5.6
jdepend.version=2.9.1
# Later versions are built with Java 7
jruby.version=1.6.8


+ 2
- 3
manual/install.html View File

@@ -920,9 +920,8 @@ these tasks available. Please refer to the <a href="#optionalTasks"> Installing
<td><a href="https://commons.apache.org/bcel/" target="_top">https://commons.apache.org/bcel/</a></td>
</tr>
<tr>
<td>javax.mail-api.jar</td>
<td><a href="Tasks/mail.html">mail</a> task with MIME encoding,
and <i>deprecated</i> <a href="Tasks/mimemail.html">mimemail</a> task</td>
<td>javax.mail.jar</td>
<td><a href="Tasks/mail.html">mail</a> task and <i>deprecated</i> <a href="Tasks/mimemail.html">mimemail</a> task</td>
<td><a href="https://javaee.github.io/javamail/"
target="_top">https://javaee.github.io/javamail/</a></td>
</tr>


Loading…
Cancel
Save