You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Keil, Werner" <we...@landg.com> on 2006/01/09 21:46:28 UTC

RE: [jira] Updated: (MNGECLIPSE-29) Plug-In does not run behind P roxy/Firewall (where M2 itself does)

Yes, both proxy and firewall.
But no problem for Maven 2 itself.

I am not sure, which bugs are Major compared to Minor, but that is up to
what
level of maturity the plug-in is supposed to reach over time ;-)


-----Original Message-----
From: Eugene Kuleshov (JIRA) [mailto:jira@codehaus.org]
Sent: 09 January 2006 20:31
To: dev@maven.apache.org
Subject: [jira] Updated: (MNGECLIPSE-29) Plug-In does not run behind
Proxy/Firewall (where M2 itself does)


     [ http://jira.codehaus.org/browse/MNGECLIPSE-29?page=all ]

Eugene Kuleshov updated MNGECLIPSE-29:
--------------------------------------

    Priority: Minor  (was: Major)

Please provide sample project to make it easier to reproduce this issue.

Do I understand correctly that you are behind firewall? 

> Plug-In does not run behind Proxy/Firewall (where M2 itself does)
> -----------------------------------------------------------------
>
>          Key: MNGECLIPSE-29
>          URL: http://jira.codehaus.org/browse/MNGECLIPSE-29
>      Project: Maven 2.x Plug-in for Eclipse
>         Type: Bug

>  Environment: Windows (probably ANY behind a Proxy or Firewall)
>     Reporter: Werner Keil
>     Assignee: Eugene Kuleshov
>     Priority: Minor

>
>
> While Maven 2 on its own runs the same goal (test) from the command line
without errors the Plug-in for Eclipse fails trying to update itself or some
other dependency:
> [DEBUG] Found 0 components to load on start
> [DEBUG] Building Maven user-level plugin registry from: 'C:\Documents and
Settings\username\.m2\plugin-registry.xml'
> [DEBUG] Building Maven global-level settings from: 'C:\Documents and
Settings\username\workspace\32\mtest\conf\settings.xml'
> [DEBUG] Building Maven user-level settings from: 'C:\Documents and
Settings\username\.m2\settings.xml'
> [DEBUG] mtest:mtest:jar:1.0.1-SNAPSHOT (selected for null)
> [DEBUG]   junit:junit:jar:3.8.1 (selected for compile)
> [INFO]
----------------------------------------------------------------------------
> [INFO] Building mtest
> [INFO]    task-segment: [test]
> [INFO]
----------------------------------------------------------------------------
> [DEBUG] maven-resources-plugin: resolved to version 2.1 from repository
central
> [DEBUG] Found 0 components to load on start
> [DEBUG] maven-compiler-plugin: resolved to version 2.0 from repository
central
> [DEBUG] Found 0 components to load on start
> [DEBUG] maven-surefire-plugin: resolved to version 2.0 from repository
central
> [DEBUG] Found 0 components to load on start
> [DEBUG] org.apache.maven.plugins:maven-resources-plugin:maven-plugin:2.1
(selected for runtime)
> [DEBUG]   commons-io:commons-io:jar:1.0 (selected for runtime)
> [DEBUG]     junit:junit:jar:3.8.1 (selected for runtime)
> [DEBUG] Skipping disabled repository snapshots
> [DEBUG] Trying repository central
> org.apache.maven.plugin.MojoExecutionException: Error configuring plugin
for execution of 'resources:resources'.
> 	at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManage
r.java:399)
> 	at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLife
cycleExecutor.java:554)
> 	at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
(DefaultLifecycleExecutor.java:508)
> 	at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifec
ycleExecutor.java:494)
> 	at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(Defa
ultLifecycleExecutor.java:307)>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> 	at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycle
Executor.java:149)
> 	at
org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:439)
> 	at
org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:383)
> 	at org.maven.ide.eclipse.Maven2Executor.main(Maven2Executor.java:71)
> Caused by: org.apache.maven.plugin.PluginConfigurationException: Error
configuring: org.apache.maven.plugins:maven-resources-plugin. Reason: Cannot
resolve plugin dependencies
> 	at
org.apache.maven.plugin.DefaultPluginManager.ensurePluginContainerIsComplete
(DefaultPluginManager.java:650)
> 	at
org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(DefaultPlugin
Manager.java:541)
> 	at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManage
r.java:394)
> 	... 8 more
> Caused by: org.apache.maven.artifact.resolver.ArtifactResolutionException:
Error transferring file
>   org.apache.maven:maven-model:2.0:jar
> from the specified remote repositories:
>   snapshots (http://snapshots.maven.codehaus.org/maven2),
>   central (http://repo1.maven.org/maven2)
> 	at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultAr
tifactResolver.java:150)
> 	at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultAr
tifactResolver.java:64)
> 	at
org.apache.maven.plugin.DefaultPluginManager.resolveCoreArtifacts(DefaultPlu
ginManager.java:682)
> 	at
org.apache.maven.plugin.DefaultPluginManager.ensurePluginContainerIsComplete
(DefaultPluginManager.java:639)
> 	... 10 more
> Caused by: org.apache.maven.wagon.TransferFailedException: Error
transferring file
> 	at
org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(Lig
htweightHttpWagon.java:85)
> 	at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:70)
> 	at
org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile(DefaultW
agonManager.java:355)
> 	at
org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWag
onManager.java:270)
> 	at
org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWag
onManager.java:232)
> 	at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultAr
tifactResolver.java:134)
> 	... 13 more
> Caused by: java.net.NoRouteToHostException: No route to host: connect
> 	at java.net.PlainSocketImpl.socketConnect(Native Method)
> 	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
> 	at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
> 	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
> 	at java.net.Socket.connect(Socket.java:507)
> 	at java.net.Socket.connect(Socket.java:457)
> 	at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
> 	at sun.net.www.http.HttpClient.openServer(HttpClient.java:365)
> 	at
sun.net.www.http.HttpClient.openServer(HttpClient.java:477)>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> 	at sun.net.www.http.HttpClient.<init>(HttpClient.java:214)
> 	at sun.net.www.http.HttpClient.New(HttpClient.java:287)
> 	at sun.net.www.http.HttpClient.New(HttpClient.java:299)
> 	at
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnecti
on.java:792)
> 	at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.j
ava:744)
> 	at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:6
69)
> 	at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection
.java:913)
> 	at
org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(Lig
htweightHttpWagon.java:71)
> 	... 18 more
> The proxy is correctly set in 'C:\Documents and
Settings\username\.m2\settings.xml', but the plug-in does not seem to load
it the same way, M2 (the Batch-launched class) does?
> Unchecking all "Update" options in the  Preferences and even setting it to
"Offline" do not change this behaviour.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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


This e-mail (and any attachments) may contain privileged and/or confidential information. If you are not the intended recipient please do not disclose, copy, distribute, disseminate or take any action in reliance on it. If you have received this message in error please reply and tell us and then delete it. Should you wish to communicate with us by e-mail we cannot guarantee the security of any data outside our own computer systems. For the protection of Legal & General's systems and staff, incoming emails will be automatically scanned.

Any information contained in this message may be subject to applicable terms and conditions and must not be construed as giving investment advice within or outside the United Kingdom.

The following companies are subsidiary companies of the Legal & General Group Plc which are authorised and regulated by the Financial Services Authority for advising and arranging the products shown: Legal & General Partnership Services Limited (insurance and mortgages), Legal & General Insurance Limited (insurance), Legal & General Assurance Society Limited 
(life assurance, pensions and investments), Legal & General Unit Trust Managers Limited and Legal & General Portfolio Management Services Limited (investments).

They are registered in England under numbers shown.
The registered office is Temple Court, 11 Queen Victoria Street, London EC4N 4TP.

Legal & General Partnership Services Limited: 5045000 Legal & General Assurance Society Limited: 166055 Legal & General (Unit Trust Managers) Limited: 1009418 Legal & General (Portfolio Management Services) Limited: 2457525 Legal & General Insurance Limited: 423930

They are registered with the Financial Services Authority under numbers shown. You can check this at www.fsa.gov.uk/register

Legal & General Partnership Services Limited: 300792 Legal & General Assurance Society Limited: 117659 Legal & General (Unit Trust Managers) Limited: 119273 Legal & General (Portfolio Management Services) Limited: 146786 Legal & General Insurance Limited: 202050


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