You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Nate <st...@msoe.edu> on 2006/11/03 17:09:44 UTC

[M2] wagon-scm Unsupported protocol

Hello,

I'm getting the following error when I try to run site:deploy

  Unsupported protocol: 'scm'


Here are the extensions I'm using for in my build:
 <extensions>
  <extension>
   <groupId>org.apache.maven.wagon</groupId>
   <artifactId>wagon-scm</artifactId>
   <version>1.0-beta-1-SNAPSHOT</version>
  </extension>
 </extensions>

I saw a post talking about http://jira.codehaus.org/browse/MNG-2227.  I
followed the workaround of MNG-2227 and changed the order of my
repositories, but I was still unable to get past this error message.  Is
there something else I must include in the extensions list to get this
working?

Here is my latest repositories list:
  <repositories>
     <repository>
      <id>mavenSnapshots</id>
      <name>Maven Snapshots Repository</name>
      <url>http://people.apache.org/maven-snapshot-repository</url>
      <snapshots>
        <enabled>true</enabled>
      </snapshots>
      <releases />
    </repository>
    <repository>
      <id>mavenCentral</id>
      <name>Maven Main Repository</name>
      <url>http://www.ibiblio.org/maven2</url>
      <snapshots/>
      <releases />
    </repository>
    <repository>
      <id>codehausSnapshots</id>
      <name>Codehaus Snapshot Repository</name>
      <url>http://snapshots.maven.codehaus.org/maven2</url>
      <snapshots/>
      <releases />
    </repository>
  </repositories>


Thanks for the help,
-Nate


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


Re: [M2] wagon-scm Unsupported protocol

Posted by Nate <st...@msoe.edu>.
I realize I should be beat for not running with –X before posting to the
users list, but better late then never.  After running with debugging
enabled, I found the wagon-scm snapshot version used by maven was
1.0-beta-1-20060509.172247-7. However, maven cannot find a
wagon-providers-api POM with that version.  I looked in the repository
manually and didn’t find that version of the POM.

Does this matter?  What does “using stub model” mean?  Can snapshot
versions  be build separately and still work?

Here is a snippet from the debug trace:
...
[DEBUG] apache: resolved to version 2-20060311.221834-2 from repository
mavenSnapshots
[DEBUG]   org.apache.maven.wagon:wagon-scm:jar:1.0-beta-1-SNAPSHOT:runtime
(selected for runtime)
[DEBUG] Trying repository mavenSnapshots
Downloading:
http://people.apache.org/maven-snapshot-repository/org/apache/maven/wagon/wagon-provider-api/1.0-beta-1-SNAPSHOT/wagon-provider-api-1.0-beta-1-20060509.172247-7.pom
[WARNING] Unable to get resource from repository mavenSnapshots
(http://people.apache.org/maven-snapshot-repository)
[DEBUG] Trying repository mavenCentral
Downloading:
http://www.ibiblio.org/maven2/org/apache/maven/wagon/wagon-provider-api/1.0-beta-1-SNAPSHOT/wagon-provider-api-1.0-beta-1-20060509.172247-7.pom
[WARNING] Unable to get resource from repository mavenCentral
(http://www.ibiblio.org/maven2)
[DEBUG] Trying repository codehausSnapshots
Downloading:
http://snapshots.maven.codehaus.org/maven2/org/apache/maven/wagon/wagon-provider-api/1.0-beta-1-SNAPSHOT/wagon-provider-api-1.0-beta-1-20060509.172247-7.pom
[WARNING] Unable to get resource from repository codehausSnapshots
(http://snapshots.maven.codehaus.org/maven2)
[DEBUG] Skipping disabled repository central
[DEBUG] Artifact not found - using stub model: Unable to download the
artifact from any repository

  org.apache.maven.wagon:wagon-provider-api:pom:1.0-beta-1-20060509.172247-7

from the specified remote repositories:
  mavenSnapshots (http://people.apache.org/maven-snapshot-repository),
  central (http://repo1.maven.org/maven2),
  codehausSnapshots (http://snapshots.maven.codehaus.org/maven2),
  mavenCentral (http://www.ibiblio.org/maven2)

[DEBUG] Using defaults for missing POM
org.apache.maven.wagon:wagon-provider-api:pom:1.0-beta-1-SNAPSHOT:runtime
[DEBUG]    
org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-1-20060509.172247-7:runtime
(selected for runtime)
[DEBUG] Skipping disabled repository central
[DEBUG] maven-scm-api: resolved to version 1.0-20061031.134419-8 from
repository mavenSnapshots
[DEBUG] Retrieving parent-POM:
org.apache.maven.scm:maven-scm::1.0-SNAPSHOT for project:
null:maven-scm-api:jar:1.0-20061031.134419-8 from the repository.
[DEBUG]    
org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-1-20060509.172247-7:runtime
(selected for runtime)
[DEBUG] Skipping disabled repository central
...


Thanks for the help,
-Nate


> Hello,
>
> I'm getting the following error when I try to run site:deploy
>
>   Unsupported protocol: 'scm'
>
>
> Here are the extensions I'm using for in my build:
>  <extensions>
>   <extension>
>    <groupId>org.apache.maven.wagon</groupId>
>    <artifactId>wagon-scm</artifactId>
>    <version>1.0-beta-1-SNAPSHOT</version>
>   </extension>
>  </extensions>
>
> I saw a post talking about http://jira.codehaus.org/browse/MNG-2227.  I
> followed the workaround of MNG-2227 and changed the order of my
> repositories, but I was still unable to get past this error message.  Is
> there something else I must include in the extensions list to get this
> working?
>
> Here is my latest repositories list:
>   <repositories>
>      <repository>
>       <id>mavenSnapshots</id>
>       <name>Maven Snapshots Repository</name>
>       <url>http://people.apache.org/maven-snapshot-repository</url>
>       <snapshots>
>         <enabled>true</enabled>
>       </snapshots>
>       <releases />
>     </repository>
>     <repository>
>       <id>mavenCentral</id>
>       <name>Maven Main Repository</name>
>       <url>http://www.ibiblio.org/maven2</url>
>       <snapshots/>
>       <releases />
>     </repository>
>     <repository>
>       <id>codehausSnapshots</id>
>       <name>Codehaus Snapshot Repository</name>
>       <url>http://snapshots.maven.codehaus.org/maven2</url>
>       <snapshots/>
>       <releases />
>     </repository>
>   </repositories>
>
>
> Thanks for the help,
> -Nate
>
>
>



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


Re: [M2] wagon-scm Unsupported protocol

Posted by Nate <st...@msoe.edu>.
If anyone is using the wagon-scm plugin, can you help me by posting the
sections of your pom.xml that apply to this plugin?

Thanks for the help,
-Nate


>>
>> Here are the extensions I'm using for in my build:
>>  <extensions>
>>   <extension>
>>    <groupId>org.apache.maven.wagon</groupId>
>>    <artifactId>wagon-scm</artifactId>
>>    <version>1.0-beta-1-SNAPSHOT</version>
>>   </extension>
>>  </extensions>



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