You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ivy-user@ant.apache.org by Marc Logemann <li...@logemann.org> on 2009/03/11 16:47:24 UTC

ivy doesnt reflect distributionManagement in POM ?

Hi,

on the way diagnosing missing deps on spring-context module, i found  
out that this bea component is located at http://ftpna2.bea.com/pub/downloads/commonj/commonj-twm.jar 
, nevertheless ivy tries to download from http://repo1.maven.org/maven2/com/bea/wlplatform/commonj-twm/1.1/commonj-twm-1.1.jar 
. Is this correct?


---- snip the relevant POM -----


<project>
   <modelVersion>4.0.0</modelVersion>
   <groupId>com.bea.wlplatform</groupId>
   <artifactId>commonj-twm</artifactId>
   <version>1.1</version>
   <name>Timer and Work Manager for Application Servers</name>
   <url>http://dev2dev.bea.com/wlplatform/commonj/twm.html</url>
   <distributionManagement>
     <downloadUrl>http://ftpna2.bea.com/pub/downloads/commonj/commonj-twm.jar 
</downloadUrl>
   </distributionManagement>
</project>



---
regards
Marc Logemann
http://www.logemann.org
http://www.logentis.de





Re: ivy doesnt reflect distributionManagement in POM ?

Posted by Gilles Scokart <gs...@gmail.com>.
The problem with the distribution managment section is that it can point to
any kind of URL, including web page.  The original purpose for this (at
least that was my understanding at that time) was to allow click through
distribution of a library.  As the purpose is to force the user to download
it manually, we don't do it automatically, even if in this specific case it
could be possible.

I think there is a jira ticket about that with a longer discussion.

Gilles Scokart


2009/3/11 Marc Logemann <li...@logemann.org>

> Hi,
>
> on the way diagnosing missing deps on spring-context module, i found out
> that this bea component is located at
> http://ftpna2.bea.com/pub/downloads/commonj/commonj-twm.jar, nevertheless
> ivy tries to download from
> http://repo1.maven.org/maven2/com/bea/wlplatform/commonj-twm/1.1/commonj-twm-1.1.jar.
> Is this correct?
>
>
> ---- snip the relevant POM -----
>
>
> <project>
>  <modelVersion>4.0.0</modelVersion>
>  <groupId>com.bea.wlplatform</groupId>
>  <artifactId>commonj-twm</artifactId>
>  <version>1.1</version>
>  <name>Timer and Work Manager for Application Servers</name>
>  <url>http://dev2dev.bea.com/wlplatform/commonj/twm.html</url>
>  <distributionManagement>
>    <downloadUrl>
> http://ftpna2.bea.com/pub/downloads/commonj/commonj-twm.jar</downloadUrl>
>  </distributionManagement>
> </project>
>
>
>
> ---
> regards
> Marc Logemann
> http://www.logemann.org
> http://www.logentis.de
>
>
>
>
>