this is the log with a clean repository directory :

##########################################################################################
##########################################################################################
C:\works\workspaceM2\...-v1.3>mvn -X compile
+ Error stacktraces are turned on.
Maven version: 2.0.5
[DEBUG] Building Maven user-level plugin registry from: 'C:\Documents and Settin
gs\Administrator\.m2\plugin-registry.xml'
[DEBUG] Building Maven global-level plugin registry from: 'C:\devTools\maven-2.0
.5\conf\plugin-registry.xml'
[INFO] Scanning for projects...
[DEBUG] Initialising extension: org.apache.maven.wagon:wagon-webdav
[DEBUG] com:...-v1.3:jar:1.3
 (selected for null)
[DEBUG] Trying repository central
Downloading: http://localhost:8080/px-webapp-default-1.0.0-RC8/repository/public
/org/apache/maven/wagon/wagon-webdav/1.0-beta-2/wagon-webdav-1.0-beta-2.pom
[WARNING] Unable to get resource 'org.apache.maven.wagon:wagon-webdav:pom:1.0-be
ta-2' from repository central (http://repo1.maven.org/maven2)
[DEBUG] Artifact not found - using stub model: Unable to download the artifact f
rom any repository

  org.apache.maven.wagon:wagon-webdav:pom:1.0-beta-2

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)

[DEBUG] Using defaults for missing POM
 org.apache.maven.wagon:wagon-webdav:pom:1
.0-beta-2:runtime
[DEBUG]   org.apache.maven.wagon:wagon-webdav:jar:1.0-beta-2:runtime (selected f
or runtime)
[DEBUG] Trying repository central
Downloading: http://localhost:8080/px-webapp-default-1.0.0-RC8/repository/public
/org/apache/maven/wagon/wagon-webdav/1.0-beta-2/wagon-webdav-1.0-beta-2.jar
[WARNING] Unable to get resource 'org.apache.maven.wagon:wagon-webdav:jar:1.0-be
ta-2' from repository central (http://repo1.maven.org/maven2)
[DEBUG] Unable to download the artifact from any repository

Try downloading the file manually from the project website.

Then, install it using the command:
    mvn install:install-file -DgroupId=org.apache.maven.wagon -DartifactId=wagon
-webdav
 \
        -Dversion=1.0-beta-2 -Dpackaging=jar -Dfile=/path/to/file

Path to dependency:
        1) com:...-v1.3:jar:1.3
        2) org.apache.maven.wagon:wagon-webdav:jar:1.0-beta-2


  org.apache.maven.wagon:wagon-webdav:jar:1.0-beta-2

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) org.apache.maven.wagon:wagon-webdav:jar:1.0-beta-2

  Try downloading the file manually from the project website.

  Then, install it using the
 command:
      mvn install:install-file -DgroupId=org.apache.maven.wagon -DartifactId=wag
on-webdav \
          -Dversion=1.0-beta-2 -Dpackaging=jar -Dfile=/path/to/file

  Path to dependency:
        1) com:...-v1.3:jar:1.3
        2) org.apache.maven.wagon:wagon-webdav:jar:1.0-beta-2

----------
1 required artifact is missing.

for artifact:
  com:....-v1.3:jar:1.3

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)


[INFO] ------------------------------------------------------------------------
[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Missing:
----------
1)
 org.apache.maven.wagon:wagon-webdav:jar:1.0-beta-2

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.apache.maven.wagon -DartifactId=wag
on-webdav \
          -Dversion=1.0-beta-2 -Dpackaging=jar -Dfile=/path/to/file

  Path to dependency:
        1) com:TutelecOJV-v1.3:jar:1.3
        2) org.apache.maven.wagon:wagon-webdav:jar:1.0-beta-2

----------
1 required artifact is missing.

for artifact:
  com:....-v1.3:jar:1.3

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)

        at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.findExtensions(De
faultLifecycleExecutor.java:166)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:141)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:330)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
        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.artifact.resolver.MultipleArtifactsNotFoundException
: Missing:
----------
1) org.apache.maven.wagon:wagon-webdav:jar:1.0-beta-2

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn
 install:install-file -DgroupId=org.apache.maven.wagon -DartifactId=wag
on-webdav \
          -Dversion=1.0-beta-2 -Dpackaging=jar -Dfile=/path/to/file

  Path to dependency:
        1) com:....-v1.3:jar:1.3
        2) org.apache.maven.wagon:wagon-webdav:jar:1.0-beta-2

----------
1 required artifact is missing.

for artifact:
  com:....-v1.3:jar:1.3

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)

        at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTra
nsitively(DefaultArtifactResolver.java:305)
        at
 org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTra
nsitively(DefaultArtifactResolver.java:272)
        at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTra
nsitively(DefaultArtifactResolver.java:243)
        at org.apache.maven.extension.DefaultExtensionManager.addExtension(Defau
ltExtensionManager.java:85)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.findExtensions(De
faultLifecycleExecutor.java:158)
        ... 12 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Tue Apr 24 16:03:32 GMT 2007
[INFO] Final Memory: 1M/4M
[INFO]
 ------------------------------------------------------------------------

##########################################################################################
##########################################################################################

Thank you very much for your replies
(^_^)
Nawfel

----- Message d'origine ----
De : "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
À : Maven Users List <[email protected]>
Envoyé le : Mardi, 24 Avril 2007, 15h23mn 04s
Objet : Re : Re : Re : Help setup local proxy for Maven2 (Please)

Try deleting the maven-resources-plugin folder in your local repository 
and try again.

David





      
___________________________________________________________________________ 
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! 
Profitez des connaissances, des opinions et des expériences des internautes sur 
Yahoo! Questions/Réponses 
http://fr.answers.yahoo.com

Reply via email to