You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Matt Raible <ma...@raibledesigns.com> on 2003/05/29 22:05:24 UTC

JavaMail JARS

I'm sure this has come up before, so I'm hoping there's a quick and easy 
answer.  It seems that the javamail jars are not available on ibiblio, so I 
created my own repository.  There's a number of them that I would like to use:

activation.jar
imap.jar
mail.jar
mailapi.jar
pop3.jar
smtp.jar

I'm porting a project to Maven and it requires these jars, as well as ftp.jar 
(any idea where I can find this?).

It's be awesome if I could do something like the fragment below, but it only 
picks up the last one in the list, implying that I have to create 6 different 
<dependencies> - is this correct?

        <dependency>
	    <id>javamail</id>
            <jar>activation.jar</jar>
            <jar>imap.jar</jar>
            <jar>mail.jar</jar>
            <jar>mailapi.jar</jar>
            <jar>pop3.jar</jar>
            <jar>smtp.jar</jar>
	    <url>http://java.sun.com/products/javamail</url>
	</dependency>


Thanks,

Matt

-- Web: http://www.raibledesigns.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: JavaMail JARS

Posted by Joe Germuska <Jo...@Germuska.com>.
At 1:05 PM -0700 5/29/03, Matt Raible wrote:
>I'm sure this has come up before, so I'm hoping there's a quick and easy
>answer.  It seems that the javamail jars are not available on ibiblio, so I
>created my own repository.  There's a number of them that I would like to use:
>
>activation.jar
>imap.jar
>mail.jar
>mailapi.jar
>pop3.jar
>smtp.jar

The "mail.jar" in the javamail-1.3 distribution can be used in place 
of the api and provider APIs; see the README.txt file.  All you need 
is "mail.jar" and "activation.jar".  Sun licensing restrictions 
prevent these from being distributed on iBiblio, so setting up your 
own repository is indeed the easiest fix.

Technically, "activation.jar" isn't part of JavaMail, it's just used 
by it, but it's your repository, so as long as you know where to find 
it...

Joe


-- 
--
Joe Germuska            
Joe@Germuska.com  
http://blog.germuska.com    
"If nature worked that way, the universe would crash all the time." 
	--Jaron Lanier

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: JavaMail JARS

Posted by Michal Maczka <mm...@interia.pl>.
You have to have 6 entries in project.xml file - one per each dependency.

Michal

> -----Original Message-----
> From: Matt Raible [mailto:matt@raibledesigns.com]
> Sent: Thursday, May 29, 2003 10:05 PM
> To: users@maven.apache.org
> Subject: JavaMail JARS
> 
> 
> I'm sure this has come up before, so I'm hoping there's a quick and easy 
> answer.  It seems that the javamail jars are not available on 
> ibiblio, so I 
> created my own repository.  There's a number of them that I would 
> like to use:
> 
> activation.jar
> imap.jar
> mail.jar
> mailapi.jar
> pop3.jar
> smtp.jar
> 
> I'm porting a project to Maven and it requires these jars, as 
> well as ftp.jar 
> (any idea where I can find this?).
> 
> It's be awesome if I could do something like the fragment below, 
> but it only 
> picks up the last one in the list, implying that I have to create 
> 6 different 
> <dependencies> - is this correct?
> 
>         <dependency>
> 	    <id>javamail</id>
>             <jar>activation.jar</jar>
>             <jar>imap.jar</jar>
>             <jar>mail.jar</jar>
>             <jar>mailapi.jar</jar>
>             <jar>pop3.jar</jar>
>             <jar>smtp.jar</jar>
> 	    <url>http://java.sun.com/products/javamail</url>
> 	</dependency>
> 
> 
> Thanks,
> 
> Matt
> 
> -- Web: http://www.raibledesigns.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 
> ----------------------------------------------------------------------
> Bezczelnosc Ameryki? Rewanz? >>> http://link.interia.pl/f172c 
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org