ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Archie Cobbs <arc...@dellroad.org>
Subject Re: Problem Installing With com.sun.mail jars From Sun Maven Repository
Date Fri, 21 May 2010 14:44:46 GMT
Yes... with Ivy RoundUp you have to manually download the archives (after
clicking through the licenses, etc.) and put them in a local directory as
described here<http://code.google.com/p/ivyroundup/wiki/ManuallyDownloadedSoftware>
.

-Archie

On Fri, May 21, 2010 at 9:22 AM, Gareth Collins
<gareth_collins@hotmail.com>wrote:

>
> I would but won't Ivy round up have the same license issue as ibiblio with
> redistribution of the
> Sun jars?
>
> thanks,
> Gareth
>
>
> Geoff Clitheroe-2 wrote:
> >
> > I don't think the jar you after is here there but Ivy round up is trying
> > to
> > solve this problem.  Maybe you could contrib the correct config?
> >
> > http://code.google.com/p/ivyroundup/
> >
> > Cheers,
> > Geoff
> >
> > Hey, and don't you mean _Oracle_ published a bad pom?
> >
> > On Fri, May 21, 2010 at 6:40 PM, Maarten Coene
> > <maarten_coene@yahoo.com>wrote:
> >
> >> As a workaround, maybe you can try to create a local maven repository
> and
> >> add this parent pom to it?
> >> Do you know if maven itself is capable of downloading these jars from
> >> that
> >> repository?
> >>
> >> Maarten
> >>
> >>
> >>
> >> ----- Original Message ----
> >> From: Gareth Collins <gareth_collins@hotmail.com>
> >> To: ivy-user@ant.apache.org
> >> Sent: Fri, May 21, 2010 6:04:15 AM
> >> Subject: Re: Problem Installing With com.sun.mail jars From Sun Maven
> >>  Repository
> >>
> >>
> >> No. This website just indicates that Sun jars cannot be found on ibiblio
> >> due
> >> to Sun's binary license
> >>
> >> I know this. I have already found the relevant files in Sun's Maven
> >> repository. Unfortunately,
> >> the POM files created by Sun appear to have a bug. Is there a way for me
> >> to
> >> get around the specific
> >> bug I found without having to install the files manually into my local
> >> Ivy
> >> repository (i.e. I have to create
> >> all the Ivy files by hand).
> >>
> >> thanks in advance,
> >> Gareth Collins
> >>
> >>
> >> Karolis Petrauskas wrote:
> >> >
> >> > Isn't this related to
> >> > http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html ?
> >> >
> >> > On Fri, May 21, 2010 at 2:35 AM, Gareth Collins
> >> > <gareth_collins@hotmail.com> wrote:
> >> >>
> >> >> Hello,
> >> >>
> >> >> I am trying to install the sun mail jars in a local ivy repository.
I
> >> am
> >> >> using the following resolver to connect to the repository:
> >> >>
> >> >> <ibiblio name="sun" root="http://download.java.net/maven/2"
> >> >> m2compatible="true" />
> >> >>
> >> >> The mail libraries are here:
> >> >>
> >> >> http://download.java.net/maven/2/com/sun/mail/
> >> >>
> >> >> When I try and install the mail libraries (imap,pop3 or smtp), I have
> >> >> problems. I see the following error:
> >> >>
> >> >> [ivy:install] :: problems summary ::
> >> >> [ivy:install] :::: WARNINGS
> >> >> [ivy:install]   io problem while parsing ivy file:
> >> >>
> >> http://download.java.net/maven/2/com/sun/mail/smtp/1.4.3/smtp-1.4.3.pom
> >> :
> >> >> Impossible to load parent for
> >> >>
> >>
> file:/Users/gcollins/Downloads/apache-ivy-2.1.0/src/example/build-a-ivy-repository/cache/no-namespace/com.sun.mail/smtp/ivy-1.4.3.xml.original.
> >> >> Parent=com.sun.mail#parent-distrib;1.4.3
> >> >> [ivy:install]           module not found: com.sun.mail#smtp;1.4.3
> >> >> [ivy:install]   ==== sun: tried
> >> >> [ivy:install]
> >> >>
> >>
> http://download.java.net/maven/2/com/sun/mail/parent-distrib/1.4.3/parent-distrib-1.4.3.pom
> >> >> [ivy:install]     -- artifact
> >> >> com.sun.mail#parent-distrib;1.4.3!parent-distrib.jar:
> >> >> [ivy:install]
> >> >>
> >>
> http://download.java.net/maven/2/com/sun/mail/parent-distrib/1.4.3/parent-distrib-1.4.3.jar
> >> >>
> >> >> I see that they messed up the Maven POM file (the ../parent-distrib
> >> >> directory doesn't exist ).
> >> >>
> >> >> <project xmlns="http://maven.apache.org/POM/4.0.0"
> >> >>        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> >> >>        xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> >> >>                            http://maven.apache.org/maven-v4_0_0.xsd
> ">
> >> >>    <parent>
> >> >>        <groupId>com.sun.mail</groupId>
> >> >>        <artifactId>parent-distrib</artifactId>
> >> >>        <version>1.4.3</version>
> >> >>        <relativePath>../parent-distrib/pom.xml</relativePath>
> >> >>    </parent>
> >> >>    <modelVersion>4.0.0</modelVersion>
> >> >>    <groupId>com.sun.mail</groupId>
> >> >>    <artifactId>smtp</artifactId>
> >> >>    <packaging>jar</packaging>
> >> >>    <name>JavaMail API smtp provider</name>
> >> >>
> >> >>    <properties>
> >> >>        <mail.packages.export>
> >> >>            com.sun.mail.smtp; version=${mail.version}
> >> >>        </mail.packages.export>
> >> >>    </properties>
> >> >> </project>
> >> >>
> >> >> I know this is a Sun POM bug, but is there any way I could get around
> >> >> this
> >> >> issue in Ivy (other than downloading the files one by one and
> >> generating
> >> >> my
> >> >> own ivy.xml to install locally)? I know what the right information
> >> should
> >> >> be
> >> >> (it is correct in the dsn mail module)
> >> >>
> >> >> If anyone had any suggestions, it would be a really big help.
> >> >>
> >> >> thanks in advance,
> >> >> Gareth Collins
> >> >>
> >> >> --
> >> >> View this message in context:
> >> >>
> >>
> http://old.nabble.com/Problem-Installing-With-com.sun.mail-jars-From-Sun-Maven-Repository-tp28628200p28628200.html
> >> >> Sent from the ivy-user mailing list archive at Nabble.com.
> >> >>
> >> >>
> >> >
> >> >
> >> >
> >> > --
> >> > Karolis Petrauskas
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >>
> http://old.nabble.com/Problem-Installing-With-com.sun.mail-jars-From-Sun-Maven-Repository-tp28628200p28629431.html
> >> Sent from the ivy-user mailing list archive at Nabble.com.
> >>
> >>
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/Problem-Installing-With-com.sun.mail-jars-From-Sun-Maven-Repository-tp28628200p28634506.html
> Sent from the ivy-user mailing list archive at Nabble.com.
>
>


-- 
Archie L. Cobbs

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message