This won't help you much (because I don't already found a solution /
workaround) but I have a problem which can be linked to yours. I use an
archiva server. When I package my projects with a PC on Windows XP (mine
or one of my dev team), everything works OK but when my leader try with
it's laptop on Windows Vista, maven is not able to download artifact. I
also have the same problem with a PC on Windows Server 2003 R2.

The log of archiva says that the server has received the request but
can't perform it ... Quite strange...
I'm gonna try all the tests without antivirus / firewall / ...

David.

-----Original Message-----
From: Wayne Fay [mailto:[EMAIL PROTECTED] 
Sent: mercredi 21 novembre 2007 00:59
To: Maven Users List
Subject: Re: Artifact problem on vista


Unfortunately, you've exhausted my personal list of things to check when
Maven does not work. Based on what you've said, it seems to be something
in Vista that is causing you problems, but since I don't run Vista, I'm
not much help.

Perhaps someone else on Vista who does not have these problems will
reply with how they got it working. And if/when you solve the problem,
please do reply back with instructions for other people.

Wayne

On 11/20/07, Toby Hobson <[EMAIL PROTECTED]> wrote:
> Nope ... just a normal wifi router/firewall and my xp laptop works ok
>
> Toby
>
> ----- Original Message ----
> From: Wayne Fay <[EMAIL PROTECTED]>
> To: Maven Users List <users@maven.apache.org>
> Sent: Tuesday, 20 November, 2007 10:52:55 PM
> Subject: Re: Artifact problem on vista
>
> Are you perhaps behind an Internet proxy of some kind? If so, you must

> configure things in settings.xml. This is documented on the site 
> and/or Wiki.
>
> Wayne
>
> On 11/20/07, Toby Hobson <[EMAIL PROTECTED]> wrote:
> > ok good point Wayne! I've disabled the windows firewall and 
> > antivirus
>  but
> > i'm still having no luck:
> >
> > C:\Users\toby\workspace>mvn -DgroupId=com.test -DartifactId=test -X
>  -U
> > archetype
> > :create
> > + Error stacktraces are turned on.
> > Maven version: 2.0.7
> > Java version: 1.6.0_03
> > OS name: "windows vista" version: "6.0" arch: "x86"
> > [DEBUG] Building Maven user-level plugin registry from: 
> > 'C:\Users\toby\.m2\plugi n-registry.xml'
> > [DEBUG] Building Maven global-level plugin registry from:
'c:\Program
> > Files\Java
> > \maven-2.0.7\bin\..\conf\plugin-registry.xml'
> > [INFO] Scanning for projects...
> > [INFO] Searching repository for plugin with prefix: 'archetype'.
> > [DEBUG] Loading plugin prefixes from group: org.apache.maven.plugins
> > [INFO] org.apache.maven.plugins: checking for updates from central
> > [DEBUG] repository metadata for: 'org.apache.maven.plugins' could
not
>  be
> > found o
> > n repository: central
> > [DEBUG] Loading plugin prefixes from group: org.codehaus.mojo [INFO]

> > org.codehaus.mojo: checking for updates from central [DEBUG] 
> > repository metadata for: 'org.codehaus.mojo' could not be
>  found on
> > repos
> > itory: central
> > [INFO] artifact org.apache.maven.plugins:maven-archetype-plugin:
>  checking
> > for up
> > dates from central
> > [DEBUG] repository metadata for: 'artifact 
> > org.apache.maven.plugins:maven-archet
> > ype-plugin' could not be found on repository: central [DEBUG] 
> > maven-archetype-plugin: using locally installed snapshot [DEBUG] 
> > Artifact not found - using stub model: Unable to determine
>  the
> > latest ve
> > rsion
> >
> >   org.apache.maven.plugins:maven-archetype-plugin:pom:LATEST
> >
> >
> > [DEBUG] Using defaults for missing POM
> > org.apache.maven.plugins:maven-archetype-
> > plugin:pom:LATEST
> > [DEBUG] maven-archetype-plugin: using locally installed snapshot 
> > [DEBUG] Artifact not found - using stub model: Unable to determine
>  the
> > release v
> > ersion
> >
> >   org.apache.maven.plugins:maven-archetype-plugin:pom:RELEASE
> >
> >
> > [DEBUG] Using defaults for missing POM
> > org.apache.maven.plugins:maven-archetype-
> > plugin:pom:RELEASE
> > [INFO]
> >
>  
>
------------------------------------------------------------------------
> > [ERROR] BUILD ERROR
> > [INFO]
> >
>  
>
------------------------------------------------------------------------
> > [INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin'
>  does not
> > exi
> > st or no valid version could be found
> > [INFO]
> >
>  
>
------------------------------------------------------------------------
> > [DEBUG] Trace
> > org.apache.maven.lifecycle.LifecycleExecutionException: The plugin 
> > 'org.apache.m aven.plugins:maven-archetype-plugin' does not exist or

> > no valid
>  version
> > could be
> >  found
> >         at 
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Def
> > a
> > ultLifecycleExecutor.java:1286)
> >         at
> >
org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor
> > (DefaultLifecycleExecutor.java:1522)
> >         at
> >
org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListBy
> > AggregationNeeds(DefaultLifecycleExecutor.java:386)
> >         at
> >
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
> > fecycleExecutor.java:138)
> >         at
>  org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
> >         at
>  org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
> >         at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
>  Method)
> >         at 
> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
> > .
> > java:39)
> >         at
> >
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> > sorImpl.java:25)
> >         at java.lang.reflect.Method.invoke(Method.java:597)
> >         at
> > org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> >         at
>  org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> >         at
> > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430
> > )
> >
> >         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> > Caused by:
>  org.apache.maven.plugin.version.PluginVersionNotFoundException:
> > The p
> > lugin 'org.apache.maven.plugins:maven-archetype-plugin' does not
>  exist or no
> > val
> > id version could be found
> >         at 
> > org.apache.maven.plugin.version.DefaultPluginVersionManager.resolveP
> > l
> > uginVersion(DefaultPluginVersionManager.java:228)
> >         at
> >
org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl
> > uginVersion(DefaultPluginVersionManager.java:90)
> >         at
> >
org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPlug
> > inManager.java:166)
> >         at
> >
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa
> > ultLifecycleExecutor.java:1257)
> >         ... 14 more
> > [INFO]
> >
>  
>
------------------------------------------------------------------------
> > [INFO] Total time: 1 second
> > [INFO] Finished at: Tue Nov 20 22:41:53 GMT 2007
> > [INFO] Final Memory: 1M/4M
> > [INFO]
> >
>  
>
------------------------------------------------------------------------
> >
> > C:\Users\toby\workspace>
> >
> > ----- Original Message ----
> > From: Wayne Fay <[EMAIL PROTECTED]>
> > To: Maven Users List <users@maven.apache.org>
> > Sent: Tuesday, 20 November, 2007 10:07:03 PM
> > Subject: Re: Artifact problem on vista
> >
> > (Eclipse uses javaw.exe) != (Maven uses java.exe). It is very
>  possible
> >  that javaw.exe would be allowed while java.exe is blocked by your  
> > firewall etc software.
> >
> > I'm still not convinced you are able to download artifacts from  
> > Central. If you can dig into ~/.m2 and find some files named *.jar,
>  then I
> >  might change my mind.
> >
> > Wayne
> >
> > On 11/20/07, Toby Hobson <[EMAIL PROTECTED]> wrote:
> > > Sorry ... I mean that the JDK executable is able to pass through
>  the
> >  vista
> > > firewall, I'll try disabling AVG etc.
> > >
> > > ----- Original Message ----
> > > From: Wayne Fay <[EMAIL PROTECTED]>
> > > To: Maven Users List <users@maven.apache.org>
> > > Sent: Tuesday, 20 November, 2007 9:39:46 PM
> > > Subject: Re: Artifact problem on vista
> > >
> > > "the eclipse update works ok" -- what (exactly) do you mean? How
>  does
> > > Eclipse working == "no firewall problems"?
> > >
> > > In addition to the Vista firewall, what antivirus software are you

> > > running? A few people have posted here very frustrated by things
>  only
> > > to discover that McAfee or something similar was the root of their

> > > troubles. Disable *all* such software and try again.
> > >
> > > Also, try running with -U to force an update of artifacts from
>  repos.
> > > The final step is to rename the ~/.m2 directory to ~/.m2x (or
>  simply
> > > delete ~/.m2) and try again from scratch.
> > >
> > > Wayne
> > >
> > > On 11/20/07, Toby Hobson <[EMAIL PROTECTED]> wrote:
> > > >
> > > > It seems there are no firewall problems because the eclipse
>  update
> > >  works ok
> > > > ... also I can't even get a simple mvn archetype:create to work
> > > >
> > > > I've copied the settings.xml from maven-2.0.7\conf to my .m2
>  folder
> > >  as well
> > > > but still no luck :-(
> > > >
> > > >
> > > > Toby Hobson wrote:
> > > > >
> > > > > Hi guys,
> > > > >
> > > > > I've recently installed Maven 2.0.7 together with jdk 1.6 on
> > >  Windows Vista
> > > > > and I'm having quite a few problems. It seems maven is unable
>  to
> > >  download
> > > > > most of the artifacts I need, for example the following 
> > > > > command
> > >  doesn't
> > > > > work:
> > > > >
> > > > > C:\Users\toby\workspace>mvn -e archetype:create 
> > > > > -DgroupId=com.mycompany.app -DartifactId=my-webapp 
> > > > > -DarchetypeArtifactId=maven-archetype-webapp
> > > > >
> > > > > I get the following error:
> > > > >
> > > > > [INFO] Scanning for projects...
> > > > > [INFO] Searching repository for plugin with prefix:
>  'archetype'.
> > > > > [INFO]
> > > > >
> > >
> >
>  
>
------------------------------------------------------------------------
> > > > > [ERROR] BUILD ERROR
> > > > > [INFO]
> > > > >
> > >
> >
>  
>
------------------------------------------------------------------------
> > > > > [INFO] The plugin
> >  'org.apache.maven.plugins:maven-archetype-plugin'
> > >  does
> > > > > not exi
> > > > > st or no valid version could be found
> > > > > [INFO]
> > > > >
> > >
> >
>  
>
------------------------------------------------------------------------
> > > > > [INFO] Trace
> > > > > org.apache.maven.lifecycle.LifecycleExecutionException: The
> >  plugin
> > > > > 'org.apache.m
> > > > > aven.plugins:maven-archetype-plugin' does not exist or no 
> > > > > valid
> > >  version
> > > > > could be
> > > > >  found
> > > > >         at
> > > > >
> > >
> >
>  org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa
> > > > > ultLifecycleExecutor.java:1286)
> > > > >         at
> > > > >
> > >
> >
>  org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor
> > > > > (DefaultLifecycleExecutor.java:1522)
> > > > >         at
> > > > >
> > >
> >
>  org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListBy
> > > > > AggregationNeeds(DefaultLifecycleExecutor.java:386)
> > > > >         at
> > > > >
> > >
> >
>  org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
> > > > > fecycleExecutor.java:138)
> > > > >         at
> > >  org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
> > > > >         at
> > >  org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
> > > > >         at
>  org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
> > > > >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > >  Method)
> > > > >         at
> > > > >
> > >
> >
>  sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> > > > > java:39)
> > > > >         at
> > > > >
> > >
> >
>  sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> > > > > sorImpl.java:25)
> > > > >         at java.lang.reflect.Method.invoke(Method.java:597)
> > > > >         at
> > > > >
> >  org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> > > > >         at
> > >  org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> > > > >         at
> > > > >
> > >
> >
>  org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> > > > >
> > > > >         at
> > >  org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> > > > > Caused by:
> > >  org.apache.maven.plugin.version.PluginVersionNotFoundException:
> > > > > The p
> > > > > lugin 'org.apache.maven.plugins:maven-archetype-plugin' does
>  not
> > >  exist or
> > > > > no val
> > > > > id version could be found
> > > > >         at
> > > > >
> > >
> >
>  org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl
> > > > > uginVersion(DefaultPluginVersionManager.java:228)
> > > > >         at
> > > > >
> > >
> >
>  org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl
> > > > > uginVersion(DefaultPluginVersionManager.java:90)
> > > > >         at
> > > > >
> > >
> >
>  org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPlug
> > > > > inManager.java:166)
> > > > >         at
> > > > >
> > >
> >
>  org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa
> > > > > ultLifecycleExecutor.java:1257)
> > > > >         ... 14 more
> > > > > [INFO]
> > > > >
> > >
> >
>  
>
------------------------------------------------------------------------
> > > > > [INFO] Total time: < 1 second
> > > > > [INFO] Finished at: Tue Nov 20 14:35:53 GMT 2007 [INFO] Final 
> > > > > Memory: 1M/4M [INFO]
> > > > >
> > >
> >
>  
>
------------------------------------------------------------------------
> > > > >
> > > > > I have installed maven in c:\program files\java\maven-2.0.7
> > > > >
> > > > > I had no problems using maven with xp so i suspect the problem
> >  may
> > >  be
> > > > > something to do with vista's more restrictive permissions. Has
> > >  anyone else
> > > > > come across this problem?
> > > > >
> > > > > Thanks
> > > > >
> > > > > Toby
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > > > --
> > > > View this message in context:
> > > >
> > >
> >
> http://www.nabble.com/Artifact-problem-on-vista-tf4843900s177.html#a13
> 866146
> > > > Sent from the Maven - Users mailing list archive at Nabble.com.
> > > >
> > > >
> > > >
> >
>   
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > >
> > > >
> > >
> > >
>  ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> > >
> > >
> > >
> >
> > --------------------------------------------------------------------
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Ce message et ses pièces jointes (le "message") est destiné à l'usage
exclusif de son destinataire.
Si vous recevez ce message par erreur, merci d'en aviser immédiatement
l'expéditeur  et de le détruire ensuite. Le présent message  pouvant
être altéré à notre insu,  CALYON Crédit Agricole CIB
ne peut pas être engagé par son contenu. Tous droits réservés.

This message and/or any  attachments (the "message") is intended for
the sole use of its addressee.
If you are not the addressee, please immediately notify the sender and
then destroy the message.  As this message and/or any attachments may
have been altered without our knowledge,  its content  is not legally
binding on CALYON Crédit Agricole CIB. All rights reserved.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to