You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@archiva.apache.org by to...@gi-de.com on 2008/04/21 10:52:54 UTC

mvn eclipse:eclipse Cache not downloadable sources in Archiva?

Hi, 

I´m using Archiva 1.0.2.

When calling mvn eclipse:eclipse on a multimodule project, Archiva is 
always trying to download sources, which tooks a long time for checking, 
as for example:

[INFO] Using source status cache: 
S:\pdv_cms\GDCAMS\src\target\mvn-eclipse-cache.properties
Downloading: 
http://cams-build2.intern:8080/archiva/repository/internal//org/springframework/spring-core/2.0.2/spring-core-2.0.2-sources.jar
Downloading: 
http://cams-build2.intern:8080/archiva/repository/3rdParty//org/springframework/spring-core/2.0.2/spring-core-2.0.2-sources.jar
Downloading: 
http://cams-build2.intern:8080/archiva/repository/internal/org/springframework/spring-core/2.0.2/spring-core-2.0.2-sources.jar
Downloading: 
http://cams-build2.intern:8080/archiva/repository/internal//avalon-framework/avalon-framework/4.1.3/avalon-framework-4.1.3-sources.jar
Downloading: 
http://cams-build2.intern:8080/archiva/repository/3rdParty//avalon-framework/avalon-framework/4.1.3/avalon-framework-4.1.3-sources.jar
Downloading: 
http://cams-build2.intern:8080/archiva/repository/internal/avalon-framework/avalon-framework/4.1.3/avalon-framework-4.1.3-sources.jar
Downloading: 
http://cams-build2.intern:8080/archiva/repository/internal//org/springframework/spring-beans/2.0.2/spring-beans-2.0.2-sources.jar
Downloading: 
http://cams-build2.intern:8080/archiva/repository/3rdParty//org/springframework/spring-beans/2.0.2/spring-beans-2.0.2-sources.jar

I configured Archiva to "cacheFailure" at each proxy-connector - but that 
doesn´t work.

How can I speed up the call of mvn eclipse:eclipse? 
Is there any configuration available to cache the information about not 
available sources.jars ?


Thanx, Torsten




Re: mvn eclipse:eclipse Cache not downloadable sources in Archiva?

Posted by Arnaud HERITIER <ah...@gmail.com>.
There will be several enhancements for this in the next release of the
eclipse plugin (global cache of the local repository, ...).

Arnaud

On Mon, Apr 21, 2008 at 10:56 AM, Brett Porter <br...@gmail.com> wrote:
> failure caching is only enabled for 404's in Archiva 1.1.
>
>  The best thing to do would be to add **/*-sources.jar to the black
>  list on the proxy connector so it never attempts to get any remotely.
>
>  - Brett
>
>
>
>  On 21/04/2008, torsten.reinhard@gi-de.com <to...@gi-de.com> wrote:
>  > Hi,
>  >
>  >  I´m using Archiva 1.0.2.
>  >
>  >  When calling mvn eclipse:eclipse on a multimodule project, Archiva is
>  >  always trying to download sources, which tooks a long time for checking,
>  >  as for example:
>  >
>  >  [INFO] Using source status cache:
>  >  S:\pdv_cms\GDCAMS\src\target\mvn-eclipse-cache.properties
>  >  Downloading:
>  >  http://cams-build2.intern:8080/archiva/repository/internal//org/springframework/spring-core/2.0.2/spring-core-2.0.2-sources.jar
>  >  Downloading:
>  >  http://cams-build2.intern:8080/archiva/repository/3rdParty//org/springframework/spring-core/2.0.2/spring-core-2.0.2-sources.jar
>  >  Downloading:
>  >  http://cams-build2.intern:8080/archiva/repository/internal/org/springframework/spring-core/2.0.2/spring-core-2.0.2-sources.jar
>  >  Downloading:
>  >  http://cams-build2.intern:8080/archiva/repository/internal//avalon-framework/avalon-framework/4.1.3/avalon-framework-4.1.3-sources.jar
>  >  Downloading:
>  >  http://cams-build2.intern:8080/archiva/repository/3rdParty//avalon-framework/avalon-framework/4.1.3/avalon-framework-4.1.3-sources.jar
>  >  Downloading:
>  >  http://cams-build2.intern:8080/archiva/repository/internal/avalon-framework/avalon-framework/4.1.3/avalon-framework-4.1.3-sources.jar
>  >  Downloading:
>  >  http://cams-build2.intern:8080/archiva/repository/internal//org/springframework/spring-beans/2.0.2/spring-beans-2.0.2-sources.jar
>  >  Downloading:
>  >  http://cams-build2.intern:8080/archiva/repository/3rdParty//org/springframework/spring-beans/2.0.2/spring-beans-2.0.2-sources.jar
>  >
>  >  I configured Archiva to "cacheFailure" at each proxy-connector - but that
>  >  doesn´t work.
>  >
>  >  How can I speed up the call of mvn eclipse:eclipse?
>  >  Is there any configuration available to cache the information about not
>  >  available sources.jars ?
>  >
>  >
>  >  Thanx, Torsten
>  >
>  >
>  >
>  >
>
>
>  --
>  Brett Porter
>  Blog: http://blogs.exist.com/bporter/
>



-- 
..........................................................
Arnaud HERITIER
..........................................................
OCTO Technology - aheritier AT octo DOT com
www.octo.com | blog.octo.com
..........................................................
ASF - aheritier AT apache DOT org
www.apache.org | maven.apache.org
...........................................................

Re: mvn eclipse:eclipse Cache not downloadable sources in Archiva?

Posted by Brett Porter <br...@gmail.com>.
failure caching is only enabled for 404's in Archiva 1.1.

The best thing to do would be to add **/*-sources.jar to the black
list on the proxy connector so it never attempts to get any remotely.

- Brett

On 21/04/2008, torsten.reinhard@gi-de.com <to...@gi-de.com> wrote:
> Hi,
>
>  I´m using Archiva 1.0.2.
>
>  When calling mvn eclipse:eclipse on a multimodule project, Archiva is
>  always trying to download sources, which tooks a long time for checking,
>  as for example:
>
>  [INFO] Using source status cache:
>  S:\pdv_cms\GDCAMS\src\target\mvn-eclipse-cache.properties
>  Downloading:
>  http://cams-build2.intern:8080/archiva/repository/internal//org/springframework/spring-core/2.0.2/spring-core-2.0.2-sources.jar
>  Downloading:
>  http://cams-build2.intern:8080/archiva/repository/3rdParty//org/springframework/spring-core/2.0.2/spring-core-2.0.2-sources.jar
>  Downloading:
>  http://cams-build2.intern:8080/archiva/repository/internal/org/springframework/spring-core/2.0.2/spring-core-2.0.2-sources.jar
>  Downloading:
>  http://cams-build2.intern:8080/archiva/repository/internal//avalon-framework/avalon-framework/4.1.3/avalon-framework-4.1.3-sources.jar
>  Downloading:
>  http://cams-build2.intern:8080/archiva/repository/3rdParty//avalon-framework/avalon-framework/4.1.3/avalon-framework-4.1.3-sources.jar
>  Downloading:
>  http://cams-build2.intern:8080/archiva/repository/internal/avalon-framework/avalon-framework/4.1.3/avalon-framework-4.1.3-sources.jar
>  Downloading:
>  http://cams-build2.intern:8080/archiva/repository/internal//org/springframework/spring-beans/2.0.2/spring-beans-2.0.2-sources.jar
>  Downloading:
>  http://cams-build2.intern:8080/archiva/repository/3rdParty//org/springframework/spring-beans/2.0.2/spring-beans-2.0.2-sources.jar
>
>  I configured Archiva to "cacheFailure" at each proxy-connector - but that
>  doesn´t work.
>
>  How can I speed up the call of mvn eclipse:eclipse?
>  Is there any configuration available to cache the information about not
>  available sources.jars ?
>
>
>  Thanx, Torsten
>
>
>
>


-- 
Brett Porter
Blog: http://blogs.exist.com/bporter/