You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Barrie Treloar <ba...@gmail.com> on 2006/11/09 08:06:31 UTC
[m2] building eclipse:eclipse trunk - proxy issues?
Overall for test results for maven-eclipse-plugin r472779
Tests run: 30, Failures: 0, Errors: 22, Skipped: 0
Some example warning messages:
[ maven embedder WARNING] repository metadata for: 'artifact
org.apache.maven.plugins:maven-eclipse-plugin' could not be
retrieved from repository: central due to an error: Error transferring file
[ maven embedder INFO] Repository 'central' will be blacklisted
In AbstractEclipsePluginTestCase I can see:
this.maven = new MavenEmbedder();
this.maven.setClassLoader(
Thread.currentThread().getContextClassLoader() );
this.maven.setLogger( new MavenEmbedderConsoleLogger() );
this.maven.setLocalRepositoryDirectory( localRepositoryDir );
this.maven.setOffline( true );
this.maven.setInteractiveMode( false );
this.maven.start();
which looks like it is trying to put the MavenEmbedder in offline
mode, so why is it attempting to download files?
Has anyone else experienced this problem, or know what I need to do to
get this working?
Cheers
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: [m2] building eclipse:eclipse trunk - proxy issues?
Posted by Barrie Treloar <ba...@gmail.com>.
> The offline mode for some reason is not really 'offline' in the common
> understanding of the word. Perhaps one of the developers can clarify the
> semantics of the offline mode in a maven build?
>
> See also http://jira.codehaus.org/browse/MNG-2433
Thanks, I do vaguely remember offline mode not being truely offline.
I've tried copying my personal .settings.xml into the local repository
defined by the tests, but MavenEmbedder doesn't appear to load it up.
I haven't spent a lot of time looking into this yet. I will probably
try to see if I can programatically load the settings file. Unless
someone can offer better advise.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: [m2] building eclipse:eclipse trunk - proxy issues?
Posted by Jorg Heymans <jh...@apache.org>.
Barrie Treloar wrote:
> Overall for test results for maven-eclipse-plugin r472779
> Tests run: 30, Failures: 0, Errors: 22, Skipped: 0
>
> Some example warning messages:
> [ maven embedder WARNING] repository metadata for: 'artifact
> org.apache.maven.plugins:maven-eclipse-plugin' could not be
> retrieved from repository: central due to an error: Error transferring file
> [ maven embedder INFO] Repository 'central' will be blacklisted
>
> In AbstractEclipsePluginTestCase I can see:
>
> this.maven = new MavenEmbedder();
> this.maven.setClassLoader(
> Thread.currentThread().getContextClassLoader() );
> this.maven.setLogger( new MavenEmbedderConsoleLogger() );
> this.maven.setLocalRepositoryDirectory( localRepositoryDir );
> this.maven.setOffline( true );
> this.maven.setInteractiveMode( false );
> this.maven.start();
>
> which looks like it is trying to put the MavenEmbedder in offline
> mode, so why is it attempting to download files?
>
> Has anyone else experienced this problem, or know what I need to do to
> get this working?
>
> Cheers
The offline mode for some reason is not really 'offline' in the common
understanding of the word. Perhaps one of the developers can clarify the
semantics of the offline mode in a maven build?
See also http://jira.codehaus.org/browse/MNG-2433
Jorg
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org