It seems you got some connection pb to the repo because artifacts are there.
http://repo.mergere.com/maven2/org/apache/maven/scm/maven-scm-provider-bazaar/1.0-beta-3/
http://repo.mergere.com/maven2/org/apache/maven/scm/maven-scm-provider-local/1.0-beta-3/
http://repo.mergere.com/maven2/org/apache/maven/scm/maven-scm-provider-vss/1.0-beta-3/

Emmanuel

Sharma, Jaikumar a écrit :
I run mvn scm:validate in the folder where the test pom is located, it
gave me the following, or I had to run different command line ?

D:\Plugin_Tests>mvn scm:validate
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'scm'.
[INFO]
------------------------------------------------------------------------
----
[INFO] Building Unnamed - com.mycompany.testplugin:testmksplugin:jar:1.0
[INFO]    task-segment: [scm:validate] (aggregator-style)
[INFO]
------------------------------------------------------------------------
----
[INFO] Preparing scm:validate
[INFO] No goals needed for project - skipping
Downloading:
file:////C:\Lang\maven-2.0.4/Repository/org/apache/maven/scm/maven-scm-p
rovider-local/1.0-beta-3/maven-scm-provider-local-1.0-beta-3.pom
[WARNING] Unable to get resource from repository central
(http://repo1.maven.org/maven2)
Downloading:
file:////C:\Lang\maven-2.0.4/Repository/org/apache/maven/scm/maven-scm-p
rovider-bazaar/1.0-beta-3/maven-scm-provider-bazaar-1.0-beta-3.pom
[WARNING] Unable to get resource from repository central
(http://repo1.maven.org/maven2)
[WARNING]
        Artifact org.codehaus.plexus:plexus-utils:jar:1.1:runtime
retains local scope 'runtime' overriding broader scope 'compile'
        given by a dependency. If this is not intended, modify or remove
the local scope.

Downloading:
file:////C:\Lang\maven-2.0.4/Repository/org/apache/maven/scm/maven-scm-p
rovider-bazaar/1.0-beta-3/maven-scm-provider-bazaar-1.0-beta-3.jar
[WARNING] Unable to get resource from repository central
(http://repo1.maven.org/maven2)
Downloading:
file:////C:\Lang\maven-2.0.4/Repository/org/apache/maven/scm/maven-scm-p
rovider-vss/1.0-beta-3/maven-scm-provider-vss-1.0-beta-3.jar
[WARNING] Unable to get resource from repository central
(http://repo1.maven.org/maven2)
Downloading:
file:////C:\Lang\maven-2.0.4/Repository/org/apache/maven/scm/maven-scm-p
rovider-local/1.0-beta-3/maven-scm-provider-local-1.0-beta-3.jar
[WARNING] Unable to get resource from repository central
(http://repo1.maven.org/maven2)
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) org.apache.maven.scm:maven-scm-provider-bazaar:jar:1.0-beta-3

  Try downloading the file manually from the project website.

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

  Path to dependency:
        1)
org.apache.maven.plugins:maven-scm-plugin:maven-plugin:1.0-beta-3
        2) org.apache.maven.scm:maven-scm-provider-bazaar:jar:1.0-beta-3

2) org.apache.maven.scm:maven-scm-provider-vss:jar:1.0-beta-3

  Try downloading the file manually from the project website.

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

  Path to dependency:
        1)
org.apache.maven.plugins:maven-scm-plugin:maven-plugin:1.0-beta-3
        2) org.apache.maven.scm:maven-scm-provider-vss:jar:1.0-beta-3

3) org.apache.maven.scm:maven-scm-provider-local:jar:1.0-beta-3

  Try downloading the file manually from the project website.

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

  Path to dependency:
        1)
org.apache.maven.plugins:maven-scm-plugin:maven-plugin:1.0-beta-3
        2) org.apache.maven.scm:maven-scm-provider-local:jar:1.0-beta-3

----------
3 required artifacts are missing.

for artifact:
  org.apache.maven.plugins:maven-scm-plugin:maven-plugin:1.0-beta-3

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  apache.snapshots (http://svn.apache.org/maven-snapshot-repository)


[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 2 seconds
[INFO] Finished at: Mon Jun 05 15:40:05 GMT+05:30 2006
[INFO] Final Memory: 3M/6M
[INFO]
------------------------------------------------------------------------



-----Original Message-----
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
Sent: Monday, June 05, 2006 3:32 PM
To: scm-dev@maven.apache.org
Subject: Re: M2 : How to implement goals in SCM provider implementation
?


 >
 > Do you have some errors when you run the scm plugin?
 > <<  Do you mean, if I have the correct / running version of scm plugin
 > is installed ? if yes, then yes, I can see al the gols listed in that
using
 >
 >   command : mvn help:describe -DgroupId=org.apache.maven.plugins
 > -DartifactId=maven-scm-plugin -Dfull=true >>>

I meant when you run scm:validate with the mks provider.

 >
 > Why do you add a main method in MksScmProvider?
 > <<< It had been add to test the results of scmURL, this has to be
 > removed >>>

It would be better to implement junit tests so you'll can check the test
coverage.

 >
 > Thanks for your help!

No Problem

Emmanuel


Reply via email to