Quantcast

Wagon-SCM, and Mercurial... Help?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Wagon-SCM, and Mercurial... Help?

Cliff Hill
*I am hoping I am getting to the right people here... Anyway, here's the
situation: Attempting to set up Maven to be able to deploy a site to a
mercurial repository on Google Code, which from what I have read, should be
done through the wagon-scm plugin, which in turn relies upon the maven-scm
plugin. Pertinent components of my pom are:*
*
*
 ...
<distributionManagement>
 ...
<site>
 <id>googlecode</id>
<name>gwt-syntaxhighlighter Site</name>
 <url>scm:hg:https://site.gwt-syntaxhighlighter.googlecode.com/hg</url>
 </site>
...
 </distributionManagement>

 ...

 <properties>
...
 <wagonVersion>1.0-beta-7</wagonVersion>
 <scmVersion>1.4</scmVersion>
</properties>

 ...

<build>
 ,,,

 <!-- For scm deployment -->
<extensions>
 <extension>
<groupId>org.apache.maven.wagon</groupId>
 <artifactId>wagon-scm</artifactId>
<version>${wagonVersion}</version>
 </extension>
<extension>
 <groupId>org.apache.maven.scm</groupId>
 <artifactId>maven-scm-manager-plexus</artifactId>
 <version>${scmVersion}</version>
</extension>
 <extension>
<groupId>org.apache.maven.scm</groupId>
 <artifactId>maven-scm-provider-hg</artifactId>
 <version>${scmVersion}</version>
</extension>
 </extensions>

 <plugins>
...

<plugin>
 <groupId>org.apache.maven.plugins</groupId>
 <artifactId>maven-site-plugin</artifactId>
 <version>2.2</version>
</plugin>

...

<plugin>
 <groupId>org.apache.maven.plugins</groupId>
 <artifactId>maven-scm-plugin</artifactId>
 <version>${scmVersion}</version>
</plugin>

...

<plugin>
 <groupId>org.apache.maven.plugins</groupId>
 <artifactId>maven-release-plugin</artifactId>
 <version>2.1</version>
<configuration>
 <releaseProfiles>release</releaseProfiles>
 </configuration>
</plugin>
 </plugins>
</build>
 ...
*
*
*When I attempt "mvn site:deploy", I get the following output:*
*
*

> Apache Maven 3.0 (r1004208; 2010-10-04 04:50:56-0700)

Java version: 1.6.0_22

Java home: E:\PortableApps\CommonFiles\JDK6\jre

Default locale: en_US, platform encoding: Cp1252

OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"

[INFO] Error stacktraces are turned on.

[DEBUG] Reading user settings from E:\.m2\settings.xml

[DEBUG] Reading global settings from
> E:\PortableApps\CommonFiles\apache-maven-3.0\conf\settings.xml

[DEBUG] Using local repository at E:\.m2\repository

[DEBUG] Failed to decrypt password for server sonatype-nexus-snapshots:
> org.sonatype.plexus.components.sec.dispatcher.SecDispatcherException:
> java.io.FileNotFoundException: C:\Documents and
> Settings\cliffhill\.m2\settings-security.xml (The system cannot find the
> path specified)

 org.sonatype.plexus.components.sec.dispatcher.SecDispatcherException:
> org.sonatype.plexus.components.sec.dispatcher.SecDispatcherException:
> java.io.FileNotFoundException: C:\Documents and
> Settings\cliffhill\.m2\settings-security.xml (The system cannot find the
> path specified)

 at
> org.sonatype.plexus.components.sec.dispatcher.DefaultSecDispatcher.decrypt(DefaultSecDispatcher.java:121)

at
> org.apache.maven.settings.crypto.DefaultSettingsDecrypter.decrypt(DefaultSettingsDecrypter.java:106)

at
> org.apache.maven.settings.crypto.DefaultSettingsDecrypter.decrypt(DefaultSettingsDecrypter.java:62)

at org.apache.maven.DefaultMaven.newRepositorySession(DefaultMaven.java:367)

at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:202)

at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:151)

at org.apache.maven.cli.MavenCli.execute(MavenCli.java:445)

at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:168)

at org.apache.maven.cli.MavenCli.main(MavenCli.java:132)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)

at
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)

at
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)

at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)

Caused by:
> org.sonatype.plexus.components.sec.dispatcher.SecDispatcherException:
> java.io.FileNotFoundException: C:\Documents and
> Settings\cliffhill\.m2\settings-security.xml (The system cannot find the
> path specified)

 at
> org.sonatype.plexus.components.sec.dispatcher.SecUtil.read(SecUtil.java:69)

at
> org.sonatype.plexus.components.sec.dispatcher.DefaultSecDispatcher.getSec(DefaultSecDispatcher.java:206)

at
> org.sonatype.plexus.components.sec.dispatcher.DefaultSecDispatcher.decrypt(DefaultSecDispatcher.java:90)

... 16 more

Caused by: java.io.FileNotFoundException: C:\Documents and
> Settings\cliffhill\.m2\settings-security.xml (The system cannot find the
> path specified)

at java.io.FileInputStream.open(Native Method)

at java.io.FileInputStream.<init>(FileInputStream.java:106)

at
> org.sonatype.plexus.components.sec.dispatcher.SecUtil.toStream(SecUtil.java:100)

at
> org.sonatype.plexus.components.sec.dispatcher.SecUtil.read(SecUtil.java:56)

... 18 more

[DEBUG] Failed to decrypt password for server sonatype-nexus-staging:
> org.sonatype.plexus.components.sec.dispatcher.SecDispatcherException:
> java.io.FileNotFoundException: C:\Documents and
> Settings\cliffhill\.m2\settings-security.xml (The system cannot find the
> path specified)

 org.sonatype.plexus.components.sec.dispatcher.SecDispatcherException:
> org.sonatype.plexus.components.sec.dispatcher.SecDispatcherException:
> java.io.FileNotFoundException: C:\Documents and
> Settings\cliffhill\.m2\settings-security.xml (The system cannot find the
> path specified)

 at
> org.sonatype.plexus.components.sec.dispatcher.DefaultSecDispatcher.decrypt(DefaultSecDispatcher.java:121)

at
> org.apache.maven.settings.crypto.DefaultSettingsDecrypter.decrypt(DefaultSettingsDecrypter.java:106)

at
> org.apache.maven.settings.crypto.DefaultSettingsDecrypter.decrypt(DefaultSettingsDecrypter.java:62)

at org.apache.maven.DefaultMaven.newRepositorySession(DefaultMaven.java:367)

at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:202)

at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:151)

at org.apache.maven.cli.MavenCli.execute(MavenCli.java:445)

at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:168)

at org.apache.maven.cli.MavenCli.main(MavenCli.java:132)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)

at
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)

at
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)

at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)

Caused by:
> org.sonatype.plexus.components.sec.dispatcher.SecDispatcherException:
> java.io.FileNotFoundException: C:\Documents and
> Settings\cliffhill\.m2\settings-security.xml (The system cannot find the
> path specified)

 at
> org.sonatype.plexus.components.sec.dispatcher.SecUtil.read(SecUtil.java:69)

at
> org.sonatype.plexus.components.sec.dispatcher.DefaultSecDispatcher.getSec(DefaultSecDispatcher.java:206)

at
> org.sonatype.plexus.components.sec.dispatcher.DefaultSecDispatcher.decrypt(DefaultSecDispatcher.java:90)

... 16 more

Caused by: java.io.FileNotFoundException: C:\Documents and
> Settings\cliffhill\.m2\settings-security.xml (The system cannot find the
> path specified)

at java.io.FileInputStream.open(Native Method)

at java.io.FileInputStream.<init>(FileInputStream.java:106)

at
> org.sonatype.plexus.components.sec.dispatcher.SecUtil.toStream(SecUtil.java:100)

at
> org.sonatype.plexus.components.sec.dispatcher.SecUtil.read(SecUtil.java:56)

... 18 more

[DEBUG] Failed to decrypt password for server googlecode:
> org.sonatype.plexus.components.sec.dispatcher.SecDispatcherException:
> java.io.FileNotFoundException: C:\Documents and
> Settings\cliffhill\.m2\settings-security.xml (The system cannot find the
> path specified)

 org.sonatype.plexus.components.sec.dispatcher.SecDispatcherException:
> org.sonatype.plexus.components.sec.dispatcher.SecDispatcherException:
> java.io.FileNotFoundException: C:\Documents and
> Settings\cliffhill\.m2\settings-security.xml (The system cannot find the
> path specified)

 at
> org.sonatype.plexus.components.sec.dispatcher.DefaultSecDispatcher.decrypt(DefaultSecDispatcher.java:121)

at
> org.apache.maven.settings.crypto.DefaultSettingsDecrypter.decrypt(DefaultSettingsDecrypter.java:106)

at
> org.apache.maven.settings.crypto.DefaultSettingsDecrypter.decrypt(DefaultSettingsDecrypter.java:62)

at org.apache.maven.DefaultMaven.newRepositorySession(DefaultMaven.java:367)

at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:202)

at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:151)

at org.apache.maven.cli.MavenCli.execute(MavenCli.java:445)

at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:168)

at org.apache.maven.cli.MavenCli.main(MavenCli.java:132)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)

at
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)

at
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)

at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)

Caused by:
> org.sonatype.plexus.components.sec.dispatcher.SecDispatcherException:
> java.io.FileNotFoundException: C:\Documents and
> Settings\cliffhill\.m2\settings-security.xml (The system cannot find the
> path specified)

 at
> org.sonatype.plexus.components.sec.dispatcher.SecUtil.read(SecUtil.java:69)

at
> org.sonatype.plexus.components.sec.dispatcher.DefaultSecDispatcher.getSec(DefaultSecDispatcher.java:206)

at
> org.sonatype.plexus.components.sec.dispatcher.DefaultSecDispatcher.decrypt(DefaultSecDispatcher.java:90)

... 16 more

Caused by: java.io.FileNotFoundException: C:\Documents and
> Settings\cliffhill\.m2\settings-security.xml (The system cannot find the
> path specified)

at java.io.FileInputStream.open(Native Method)

at java.io.FileInputStream.<init>(FileInputStream.java:106)

at
> org.sonatype.plexus.components.sec.dispatcher.SecUtil.toStream(SecUtil.java:100)

at
> org.sonatype.plexus.components.sec.dispatcher.SecUtil.read(SecUtil.java:56)

... 18 more

[INFO] Scanning for projects...

[DEBUG] org.apache.maven.wagon:wagon-scm:jar:1.0-beta-7:

[DEBUG]    org.apache.maven.scm:maven-scm-api:jar:1.0:compile

[DEBUG]       org.codehaus.plexus:plexus-utils:jar:1.4.2:compile (version
> managed from 1.1)

[DEBUG]    org.apache.maven.scm:maven-scm-manager-plexus:jar:1.0:runtime

[DEBUG]
> org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9:test (scope
> managed from compile)

[DEBUG]          junit:junit:jar:3.8.1:test

[DEBUG]          classworlds:classworlds:jar:1.1-alpha-2:test

[DEBUG]    org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-7:compile

[DEBUG] Created new class realm
> extension>org.apache.maven.wagon:wagon-scm:1.0-beta-7

[DEBUG] Created new class realm maven.api

[DEBUG] Populating class realm
> extension>org.apache.maven.wagon:wagon-scm:1.0-beta-7

[DEBUG]   Included: org.apache.maven.wagon:wagon-scm:jar:1.0-beta-7

[DEBUG]   Included: org.apache.maven.scm:maven-scm-api:jar:1.0

[DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:1.4.2

[DEBUG]   Included: org.apache.maven.scm:maven-scm-manager-plexus:jar:1.0

[DEBUG] org.apache.maven.scm:maven-scm-manager-plexus:jar:1.4:

[DEBUG]
>  org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9:compile

[DEBUG]       junit:junit:jar:3.8.2:compile (version managed from 3.8.1)

[DEBUG]       classworlds:classworlds:jar:1.1-alpha-2:compile

[DEBUG]    org.apache.maven.scm:maven-scm-api:jar:1.4:compile

[DEBUG]    org.codehaus.plexus:plexus-utils:jar:1.5.6:compile

[DEBUG] Created new class realm
> extension>org.apache.maven.scm:maven-scm-manager-plexus:1.4

[DEBUG] Populating class realm
> extension>org.apache.maven.scm:maven-scm-manager-plexus:1.4

[DEBUG]   Included: org.apache.maven.scm:maven-scm-manager-plexus:jar:1.4

[DEBUG]   Included: junit:junit:jar:3.8.2

[DEBUG]   Included: org.apache.maven.scm:maven-scm-api:jar:1.4

[DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:1.5.6

[DEBUG] org.apache.maven.scm:maven-scm-provider-hg:jar:1.4:

[DEBUG]    regexp:regexp:jar:1.3:compile

[DEBUG]    org.apache.maven.scm:maven-scm-api:jar:1.4:compile

[DEBUG]    org.codehaus.plexus:plexus-utils:jar:1.5.6:compile

[DEBUG] Created new class realm
> extension>org.apache.maven.scm:maven-scm-provider-hg:1.4

[DEBUG] Populating class realm
> extension>org.apache.maven.scm:maven-scm-provider-hg:1.4

[DEBUG]   Included: org.apache.maven.scm:maven-scm-provider-hg:jar:1.4

[DEBUG]   Included: regexp:regexp:jar:1.3

[DEBUG]   Included: org.apache.maven.scm:maven-scm-api:jar:1.4

[DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:1.5.6

[DEBUG] Extension realms for project
> com.alexgorbatchev:gwt-syntaxhighlighter:jar:1.0.9-SNAPSHOT:
> [ClassRealm[extension>org.apache.maven.wagon:wagon-scm:1.0-beta-7, parent:
> ClassRealm[maven.api, parent: null]],
> ClassRealm[extension>org.apache.maven.scm:maven-scm-manager-plexus:1.4,
> parent: ClassRealm[maven.api, parent: null]],
> ClassRealm[extension>org.apache.maven.scm:maven-scm-provider-hg:1.4, parent:
> ClassRealm[maven.api, parent: null]]]

 [DEBUG] Created new class realm
> project>com.alexgorbatchev:gwt-syntaxhighlighter:1.0.9-SNAPSHOT

[DEBUG] Populating class realm
> project>com.alexgorbatchev:gwt-syntaxhighlighter:1.0.9-SNAPSHOT

[DEBUG] Looking up lifecyle mappings for packaging jar from
> ClassRealm[project>com.alexgorbatchev:gwt-syntaxhighlighter:1.0.9-SNAPSHOT,
> parent: ClassRealm[maven.api, parent: null]]

[DEBUG] Resolving plugin prefix site from [org.apache.maven.plugins,
> org.codehaus.mojo]

[DEBUG] Resolved plugin prefix site to
> org.apache.maven.plugins:maven-site-plugin from POM
> com.alexgorbatchev:gwt-syntaxhighlighter:jar:1.0.9-SNAPSHOT

[DEBUG] === REACTOR BUILD PLAN
> ================================================

[DEBUG] Project: com.alexgorbatchev:gwt-syntaxhighlighter:jar:1.0.9-SNAPSHOT

[DEBUG] Tasks:   [site:deploy]

[DEBUG] Style:   Regular

[DEBUG]
> =======================================================================

[INFO]
>

[INFO]
> ------------------------------------------------------------------------

[INFO] Building gwt-syntaxhighlighter 1.0.9-SNAPSHOT

[INFO]
> ------------------------------------------------------------------------

[DEBUG] Resolving plugin prefix site from [org.apache.maven.plugins,
> org.codehaus.mojo]

[DEBUG] Resolved plugin prefix site to
> org.apache.maven.plugins:maven-site-plugin from POM
> com.alexgorbatchev:gwt-syntaxhighlighter:jar:1.0.9-SNAPSHOT

[DEBUG] Lifecycle default -> [validate, initialize, generate-sources,
> process-sources, generate-resources, process-resources, compile,
> process-classes, generate-test-sources, process-test-sources,
> generate-test-resources, process-test-resources, test-compile,
> process-test-classes, test, prepare-package, package, pre-integration-test,
> integration-test, post-integration-test, verify, install, deploy]

 [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]

[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]

[DEBUG] === PROJECT BUILD PLAN
> ================================================

[DEBUG] Project:
> com.alexgorbatchev:gwt-syntaxhighlighter:1.0.9-SNAPSHOT

[DEBUG] Dependencies (collect): []

[DEBUG] Dependencies (resolve): []

[DEBUG]
> -----------------------------------------------------------------------

[DEBUG] Goal:          org.apache.maven.plugins:maven-site-plugin:2.2:deploy
> (default-cli)

[DEBUG] Style:         Regular

[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>

<configuration>

  <chmod default-value="true">${maven.site.chmod}</chmod>

  <chmodMode default-value="g+w,a+rX">${maven.site.chmod.mode}</chmodMode>

  <chmodOptions
> default-value="-Rf">${maven.site.chmod.options}</chmodOptions>

  <inputDirectory>E:\Documents\GoogleCode\gwt-syntaxhighlighter\target\site</inputDirectory>

  <project>${project}</project>

  <settings>${settings}</settings>

</configuration>

[DEBUG]
> =======================================================================

[INFO]

[INFO] --- maven-site-plugin:2.2:deploy (default-cli) @
> gwt-syntaxhighlighter ---

[DEBUG] org.apache.maven.plugins:maven-site-plugin:jar:2.2:

[DEBUG]    org.apache.maven.reporting:maven-reporting-api:jar:3.0:compile

[DEBUG]    org.apache.maven:maven-artifact:jar:2.0.6:compile

[DEBUG]    org.apache.maven:maven-artifact-manager:jar:2.0.6:compile

[DEBUG]       org.apache.maven:maven-repository-metadata:jar:2.0.6:compile

[DEBUG]    org.apache.maven:maven-model:jar:2.0.6:compile

[DEBUG]    org.apache.maven:maven-plugin-api:jar:2.0.6:compile

[DEBUG]    org.apache.maven:maven-project:jar:2.0.6:compile

[DEBUG]       org.apache.maven:maven-profile:jar:2.0.6:compile

[DEBUG]       org.apache.maven:maven-plugin-registry:jar:2.0.6:compile

[DEBUG]    org.apache.maven:maven-settings:jar:2.0.6:compile

[DEBUG]    org.apache.maven.doxia:doxia-module-xhtml:jar:1.1.4:compile

[DEBUG]       org.apache.maven.doxia:doxia-core:jar:1.1.4:compile

[DEBUG]          xerces:xercesImpl:jar:2.9.1:compile

[DEBUG]             xml-apis:xml-apis:jar:1.3.04:compile

[DEBUG]          org.apache.httpcomponents:httpclient:jar:4.0.2:compile

[DEBUG]             org.apache.httpcomponents:httpcore:jar:4.0.1:compile

[DEBUG]             commons-logging:commons-logging:jar:1.1.1:compile

[DEBUG]             commons-codec:commons-codec:jar:1.3:compile

[DEBUG]    org.apache.maven.doxia:doxia-sink-api:jar:1.1.4:compile

[DEBUG]    org.apache.maven.doxia:doxia-logging-api:jar:1.1.4:compile

[DEBUG]    org.apache.maven.doxia:doxia-module-apt:jar:1.1.4:runtime

[DEBUG]    org.apache.maven.doxia:doxia-module-xdoc:jar:1.1.4:compile

[DEBUG]    org.apache.maven.doxia:doxia-module-fml:jar:1.1.4:runtime

[DEBUG]    org.apache.maven.doxia:doxia-decoration-model:jar:1.1.4:compile

[DEBUG]    org.apache.maven.doxia:doxia-site-renderer:jar:1.1.4:compile

[DEBUG]       commons-collections:commons-collections:jar:3.2:compile

[DEBUG]    org.apache.maven.shared:maven-doxia-tools:jar:1.3:compile

[DEBUG]       commons-io:commons-io:jar:1.4:compile

[DEBUG]    org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-4:compile

[DEBUG]    org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-7:compile

[DEBUG]
>  org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9:compile

[DEBUG]       junit:junit:jar:3.8.1:compile

[DEBUG]       classworlds:classworlds:jar:1.1-alpha-2:compile

[DEBUG]    org.codehaus.plexus:plexus-i18n:jar:1.0-beta-7:compile

[DEBUG]    org.codehaus.plexus:plexus-velocity:jar:1.1.8:compile

[DEBUG]    org.codehaus.plexus:plexus-utils:jar:1.5.10:compile

[DEBUG]    org.apache.velocity:velocity:jar:1.5:compile

[DEBUG]       commons-lang:commons-lang:jar:2.1:compile

[DEBUG]       oro:oro:jar:2.0.8:compile

[DEBUG]    org.mortbay.jetty:jetty:jar:6.1.5:compile

[DEBUG]       org.mortbay.jetty:jetty-util:jar:6.1.5:compile

[DEBUG]       org.mortbay.jetty:servlet-api-2.5:jar:6.1.5:compile

[DEBUG] Created new class realm
> plugin>org.apache.maven.plugins:maven-site-plugin:2.2

[DEBUG] Populating class realm
> plugin>org.apache.maven.plugins:maven-site-plugin:2.2

[DEBUG]   Included: org.apache.maven.plugins:maven-site-plugin:jar:2.2

[DEBUG]   Included: org.apache.maven.reporting:maven-reporting-api:jar:3.0

[DEBUG]   Included: org.apache.maven.doxia:doxia-module-xhtml:jar:1.1.4

[DEBUG]   Included: org.apache.maven.doxia:doxia-core:jar:1.1.4

[DEBUG]   Included: xerces:xercesImpl:jar:2.9.1

[DEBUG]   Included: xml-apis:xml-apis:jar:1.3.04

[DEBUG]   Included: org.apache.httpcomponents:httpclient:jar:4.0.2

[DEBUG]   Included: org.apache.httpcomponents:httpcore:jar:4.0.1

[DEBUG]   Included: commons-logging:commons-logging:jar:1.1.1

[DEBUG]   Included: commons-codec:commons-codec:jar:1.3

[DEBUG]   Included: org.apache.maven.doxia:doxia-sink-api:jar:1.1.4

[DEBUG]   Included: org.apache.maven.doxia:doxia-logging-api:jar:1.1.4

[DEBUG]   Included: org.apache.maven.doxia:doxia-module-apt:jar:1.1.4

[DEBUG]   Included: org.apache.maven.doxia:doxia-module-xdoc:jar:1.1.4

[DEBUG]   Included: org.apache.maven.doxia:doxia-module-fml:jar:1.1.4

[DEBUG]   Included: org.apache.maven.doxia:doxia-decoration-model:jar:1.1.4

[DEBUG]   Included: org.apache.maven.doxia:doxia-site-renderer:jar:1.1.4

[DEBUG]   Included: commons-collections:commons-collections:jar:3.2

[DEBUG]   Included: org.apache.maven.shared:maven-doxia-tools:jar:1.3

[DEBUG]   Included: commons-io:commons-io:jar:1.4

[DEBUG]   Included: org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-7

[DEBUG]   Included: junit:junit:jar:3.8.1

[DEBUG]   Included: org.codehaus.plexus:plexus-i18n:jar:1.0-beta-7

[DEBUG]   Included: org.codehaus.plexus:plexus-velocity:jar:1.1.8

[DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:1.5.10

[DEBUG]   Included: org.apache.velocity:velocity:jar:1.5

[DEBUG]   Included: commons-lang:commons-lang:jar:2.1

[DEBUG]   Included: oro:oro:jar:2.0.8

[DEBUG]   Included: org.mortbay.jetty:jetty:jar:6.1.5

[DEBUG]   Included: org.mortbay.jetty:jetty-util:jar:6.1.5

[DEBUG]   Included: org.mortbay.jetty:servlet-api-2.5:jar:6.1.5

[DEBUG]   Excluded: org.apache.maven:maven-artifact:jar:2.0.6

[DEBUG]   Excluded: org.apache.maven:maven-artifact-manager:jar:2.0.6

[DEBUG]   Excluded: org.apache.maven:maven-repository-metadata:jar:2.0.6

[DEBUG]   Excluded: org.apache.maven:maven-model:jar:2.0.6

[DEBUG]   Excluded: org.apache.maven:maven-plugin-api:jar:2.0.6

[DEBUG]   Excluded: org.apache.maven:maven-project:jar:2.0.6

[DEBUG]   Excluded: org.apache.maven:maven-profile:jar:2.0.6

[DEBUG]   Excluded: org.apache.maven:maven-plugin-registry:jar:2.0.6

[DEBUG]   Excluded: org.apache.maven:maven-settings:jar:2.0.6

[DEBUG]   Excluded: org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-4

[DEBUG]   Excluded:
> org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9

[DEBUG]   Excluded: classworlds:classworlds:jar:1.1-alpha-2

[DEBUG] Configuring mojo
> org.apache.maven.plugins:maven-site-plugin:2.2:deploy from plugin realm
> ClassRealm[plugin>org.apache.maven.plugins:maven-site-plugin:2.2, parent:
> ClassRealm[project>com.alexgorbatchev:gwt-syntaxhighlighter:1.0.9-SNAPSHOT,
> parent: ClassRealm[maven.api, parent: null]]]

 [DEBUG] Configuring mojo
> 'org.apache.maven.plugins:maven-site-plugin:2.2:deploy' with basic
> configurator -->

[DEBUG]   (f) chmod = true

[DEBUG]   (f) chmodMode = g+w,a+rX

[DEBUG]   (f) chmodOptions = -Rf

[DEBUG]   (f) inputDirectory =
> E:\Documents\GoogleCode\gwt-syntaxhighlighter\target\site

[DEBUG]   (f) project = MavenProject:
> com.alexgorbatchev:gwt-syntaxhighlighter:1.0.9-SNAPSHOT @
> E:\Documents\GoogleCode\gwt-syntaxhighlighter\pom.xml

[DEBUG]   (f) settings = org.apache.maven.execution.SettingsAdapter@1f8247d

[DEBUG] -- end configuration --

[DEBUG] The site will be deployed to 'scm:hg:
> https://site.gwt-syntaxhighlighter.googlecode.com/hg'

[WARNING] No SCM providers configured.

scm:hg:https://site.gwt-syntaxhighlighter.googlecode.com/hg - Session:
> Opened

 Transfer error: org.apache.maven.scm.manager.NoSuchScmProviderException: No
> such provider: 'hg'.

scm:hg:https://site.gwt-syntaxhighlighter.googlecode.com/hg - Session:
> Disconnecting

scm:hg:https://site.gwt-syntaxhighlighter.googlecode.com/hg - Session:
> Disconnected

[INFO]
> ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO]
> ------------------------------------------------------------------------

[INFO] Total time: 1.235s

[INFO] Finished at: Mon Nov 29 15:01:02 PST 2010

[INFO] Final Memory: 4M/15M

[INFO]
> ------------------------------------------------------------------------

[ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-site-plugin:2.2:deploy (default-cli) on
> project gwt-syntaxhighlighter: Error uploading site: Error interacting with
> SCM: No such provider: 'hg'. -> [Help 1]

 org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
> goal org.apache.maven.plugins:maven-site-plugin:2.2:deploy (default-cli) on
> project gwt-syntaxhighlighter: Error uploading site

at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:203)

at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)

at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:140)

at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)

at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)

at
> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)

at
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)

at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:314)

at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:151)

at org.apache.maven.cli.MavenCli.execute(MavenCli.java:445)

at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:168)

at org.apache.maven.cli.MavenCli.main(MavenCli.java:132)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)

at
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)

at
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)

at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)

Caused by: org.apache.maven.plugin.MojoExecutionException: Error uploading
> site

at
> org.apache.maven.plugins.site.SiteDeployMojo.execute(SiteDeployMojo.java:229)

at
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:107)

at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:195)

... 19 more

Caused by: org.apache.maven.wagon.TransferFailedException: Error interacting
> with SCM: No such provider: 'hg'.

at
> org.apache.maven.wagon.providers.scm.ScmWagon.putInternal(ScmWagon.java:329)

at
> org.apache.maven.wagon.providers.scm.ScmWagon.putDirectory(ScmWagon.java:512)

at
> org.apache.maven.plugins.site.SiteDeployMojo.execute(SiteDeployMojo.java:215)

... 21 more

Caused by: org.apache.maven.scm.manager.NoSuchScmProviderException: No such
> provider: 'hg'.

at
> org.apache.maven.scm.manager.AbstractScmManager.getProviderByType(AbstractScmManager.java:155)

at
> org.apache.maven.scm.manager.AbstractScmManager.makeScmRepository(AbstractScmManager.java:183)

at
> org.apache.maven.wagon.providers.scm.ScmWagon.getScmRepository(ScmWagon.java:217)

at
> org.apache.maven.wagon.providers.scm.ScmWagon.putInternal(ScmWagon.java:275)

... 23 more

[ERROR]

[ERROR]

[ERROR] For more information about the errors and possible solutions, please
> read the following articles:

[ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

*
*
*The part that interests me is this: *
*Error interacting with SCM: No such provider: 'hg'.*
*
*
*And then near the top, this:*
*[WARNING] No SCM providers configured.*
*
*
*This is strange to me, because as far as I know, I've defined the provider
to be used in my POM. Could someone please shed some light on this for me?*
*
*
--
"I'm not responcabel fer my computer's spleling errnors" - Xlorep DarkHelm
Website: http://darkhelm.org
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Wagon-SCM, and Mercurial... Help?

Dennis Lundberg-2
Hi

Although I don't think that it's related to your problems described
here, if you are running Maven 3 you need to use Maven Site Plugin 3.
The latest version is 3.0-beta-3.

On 2010-11-30 00:16, Cliff Hill wrote:

> *I am hoping I am getting to the right people here... Anyway, here's the
> situation: Attempting to set up Maven to be able to deploy a site to a
> mercurial repository on Google Code, which from what I have read, should be
> done through the wagon-scm plugin, which in turn relies upon the maven-scm
> plugin. Pertinent components of my pom are:*
> *
> *
>  ...
> <distributionManagement>
>  ...
> <site>
>  <id>googlecode</id>
> <name>gwt-syntaxhighlighter Site</name>
>  <url>scm:hg:https://site.gwt-syntaxhighlighter.googlecode.com/hg</url>
>  </site>
> ...
>  </distributionManagement>
>
>  ...
>
>  <properties>
> ...
>  <wagonVersion>1.0-beta-7</wagonVersion>
>  <scmVersion>1.4</scmVersion>
> </properties>
>
>  ...
>
> <build>
>  ,,,
>
>  <!-- For scm deployment -->
> <extensions>
>  <extension>
> <groupId>org.apache.maven.wagon</groupId>
>  <artifactId>wagon-scm</artifactId>
> <version>${wagonVersion}</version>
>  </extension>
> <extension>
>  <groupId>org.apache.maven.scm</groupId>
>  <artifactId>maven-scm-manager-plexus</artifactId>
>  <version>${scmVersion}</version>
> </extension>
>  <extension>
> <groupId>org.apache.maven.scm</groupId>
>  <artifactId>maven-scm-provider-hg</artifactId>
>  <version>${scmVersion}</version>
> </extension>
>  </extensions>
>
>  <plugins>
> ...
>
> <plugin>
>  <groupId>org.apache.maven.plugins</groupId>
>  <artifactId>maven-site-plugin</artifactId>
>  <version>2.2</version>
> </plugin>
>
> ...
>
> <plugin>
>  <groupId>org.apache.maven.plugins</groupId>
>  <artifactId>maven-scm-plugin</artifactId>
>  <version>${scmVersion}</version>
> </plugin>
>
> ...
>
> <plugin>
>  <groupId>org.apache.maven.plugins</groupId>
>  <artifactId>maven-release-plugin</artifactId>
>  <version>2.1</version>
> <configuration>
>  <releaseProfiles>release</releaseProfiles>
>  </configuration>
> </plugin>
>  </plugins>
> </build>
>  ...
> *
> *
> *When I attempt "mvn site:deploy", I get the following output:*
> *
> *
>
>> Apache Maven 3.0 (r1004208; 2010-10-04 04:50:56-0700)
>
> Java version: 1.6.0_22
>
> Java home: E:\PortableApps\CommonFiles\JDK6\jre
>
> Default locale: en_US, platform encoding: Cp1252
>
> OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
>
> [INFO] Error stacktraces are turned on.
>
> [DEBUG] Reading user settings from E:\.m2\settings.xml
>
> [DEBUG] Reading global settings from
>> E:\PortableApps\CommonFiles\apache-maven-3.0\conf\settings.xml
>
> [DEBUG] Using local repository at E:\.m2\repository
>
> [DEBUG] Failed to decrypt password for server sonatype-nexus-snapshots:
>> org.sonatype.plexus.components.sec.dispatcher.SecDispatcherException:
>> java.io.FileNotFoundException: C:\Documents and
>> Settings\cliffhill\.m2\settings-security.xml (The system cannot find the
>> path specified)
>
>  org.sonatype.plexus.components.sec.dispatcher.SecDispatcherException:
>> org.sonatype.plexus.components.sec.dispatcher.SecDispatcherException:
>> java.io.FileNotFoundException: C:\Documents and
>> Settings\cliffhill\.m2\settings-security.xml (The system cannot find the
>> path specified)
>
>  at
>> org.sonatype.plexus.components.sec.dispatcher.DefaultSecDispatcher.decrypt(DefaultSecDispatcher.java:121)
>
> at
>> org.apache.maven.settings.crypto.DefaultSettingsDecrypter.decrypt(DefaultSettingsDecrypter.java:106)
>
> at
>> org.apache.maven.settings.crypto.DefaultSettingsDecrypter.decrypt(DefaultSettingsDecrypter.java:62)
>
> at org.apache.maven.DefaultMaven.newRepositorySession(DefaultMaven.java:367)
>
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:202)
>
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:151)
>
> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:445)
>
> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:168)
>
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:132)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>
> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:597)
>
> at
>> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
>
> at
>> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
>
> at
>> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
>
> at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
>
> Caused by:
>> org.sonatype.plexus.components.sec.dispatcher.SecDispatcherException:
>> java.io.FileNotFoundException: C:\Documents and
>> Settings\cliffhill\.m2\settings-security.xml (The system cannot find the
>> path specified)
>
>  at
>> org.sonatype.plexus.components.sec.dispatcher.SecUtil.read(SecUtil.java:69)
>
> at
>> org.sonatype.plexus.components.sec.dispatcher.DefaultSecDispatcher.getSec(DefaultSecDispatcher.java:206)
>
> at
>> org.sonatype.plexus.components.sec.dispatcher.DefaultSecDispatcher.decrypt(DefaultSecDispatcher.java:90)
>
> ... 16 more
>
> Caused by: java.io.FileNotFoundException: C:\Documents and
>> Settings\cliffhill\.m2\settings-security.xml (The system cannot find the
>> path specified)
>
> at java.io.FileInputStream.open(Native Method)
>
> at java.io.FileInputStream.<init>(FileInputStream.java:106)
>
> at
>> org.sonatype.plexus.components.sec.dispatcher.SecUtil.toStream(SecUtil.java:100)
>
> at
>> org.sonatype.plexus.components.sec.dispatcher.SecUtil.read(SecUtil.java:56)
>
> ... 18 more
>
> [DEBUG] Failed to decrypt password for server sonatype-nexus-staging:
>> org.sonatype.plexus.components.sec.dispatcher.SecDispatcherException:
>> java.io.FileNotFoundException: C:\Documents and
>> Settings\cliffhill\.m2\settings-security.xml (The system cannot find the
>> path specified)
>
>  org.sonatype.plexus.components.sec.dispatcher.SecDispatcherException:
>> org.sonatype.plexus.components.sec.dispatcher.SecDispatcherException:
>> java.io.FileNotFoundException: C:\Documents and
>> Settings\cliffhill\.m2\settings-security.xml (The system cannot find the
>> path specified)
>
>  at
>> org.sonatype.plexus.components.sec.dispatcher.DefaultSecDispatcher.decrypt(DefaultSecDispatcher.java:121)
>
> at
>> org.apache.maven.settings.crypto.DefaultSettingsDecrypter.decrypt(DefaultSettingsDecrypter.java:106)
>
> at
>> org.apache.maven.settings.crypto.DefaultSettingsDecrypter.decrypt(DefaultSettingsDecrypter.java:62)
>
> at org.apache.maven.DefaultMaven.newRepositorySession(DefaultMaven.java:367)
>
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:202)
>
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:151)
>
> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:445)
>
> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:168)
>
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:132)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>
> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:597)
>
> at
>> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
>
> at
>> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
>
> at
>> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
>
> at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
>
> Caused by:
>> org.sonatype.plexus.components.sec.dispatcher.SecDispatcherException:
>> java.io.FileNotFoundException: C:\Documents and
>> Settings\cliffhill\.m2\settings-security.xml (The system cannot find the
>> path specified)
>
>  at
>> org.sonatype.plexus.components.sec.dispatcher.SecUtil.read(SecUtil.java:69)
>
> at
>> org.sonatype.plexus.components.sec.dispatcher.DefaultSecDispatcher.getSec(DefaultSecDispatcher.java:206)
>
> at
>> org.sonatype.plexus.components.sec.dispatcher.DefaultSecDispatcher.decrypt(DefaultSecDispatcher.java:90)
>
> ... 16 more
>
> Caused by: java.io.FileNotFoundException: C:\Documents and
>> Settings\cliffhill\.m2\settings-security.xml (The system cannot find the
>> path specified)
>
> at java.io.FileInputStream.open(Native Method)
>
> at java.io.FileInputStream.<init>(FileInputStream.java:106)
>
> at
>> org.sonatype.plexus.components.sec.dispatcher.SecUtil.toStream(SecUtil.java:100)
>
> at
>> org.sonatype.plexus.components.sec.dispatcher.SecUtil.read(SecUtil.java:56)
>
> ... 18 more
>
> [DEBUG] Failed to decrypt password for server googlecode:
>> org.sonatype.plexus.components.sec.dispatcher.SecDispatcherException:
>> java.io.FileNotFoundException: C:\Documents and
>> Settings\cliffhill\.m2\settings-security.xml (The system cannot find the
>> path specified)
>
>  org.sonatype.plexus.components.sec.dispatcher.SecDispatcherException:
>> org.sonatype.plexus.components.sec.dispatcher.SecDispatcherException:
>> java.io.FileNotFoundException: C:\Documents and
>> Settings\cliffhill\.m2\settings-security.xml (The system cannot find the
>> path specified)
>
>  at
>> org.sonatype.plexus.components.sec.dispatcher.DefaultSecDispatcher.decrypt(DefaultSecDispatcher.java:121)
>
> at
>> org.apache.maven.settings.crypto.DefaultSettingsDecrypter.decrypt(DefaultSettingsDecrypter.java:106)
>
> at
>> org.apache.maven.settings.crypto.DefaultSettingsDecrypter.decrypt(DefaultSettingsDecrypter.java:62)
>
> at org.apache.maven.DefaultMaven.newRepositorySession(DefaultMaven.java:367)
>
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:202)
>
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:151)
>
> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:445)
>
> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:168)
>
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:132)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>
> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:597)
>
> at
>> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
>
> at
>> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
>
> at
>> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
>
> at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
>
> Caused by:
>> org.sonatype.plexus.components.sec.dispatcher.SecDispatcherException:
>> java.io.FileNotFoundException: C:\Documents and
>> Settings\cliffhill\.m2\settings-security.xml (The system cannot find the
>> path specified)
>
>  at
>> org.sonatype.plexus.components.sec.dispatcher.SecUtil.read(SecUtil.java:69)
>
> at
>> org.sonatype.plexus.components.sec.dispatcher.DefaultSecDispatcher.getSec(DefaultSecDispatcher.java:206)
>
> at
>> org.sonatype.plexus.components.sec.dispatcher.DefaultSecDispatcher.decrypt(DefaultSecDispatcher.java:90)
>
> ... 16 more
>
> Caused by: java.io.FileNotFoundException: C:\Documents and
>> Settings\cliffhill\.m2\settings-security.xml (The system cannot find the
>> path specified)
>
> at java.io.FileInputStream.open(Native Method)
>
> at java.io.FileInputStream.<init>(FileInputStream.java:106)
>
> at
>> org.sonatype.plexus.components.sec.dispatcher.SecUtil.toStream(SecUtil.java:100)
>
> at
>> org.sonatype.plexus.components.sec.dispatcher.SecUtil.read(SecUtil.java:56)
>
> ... 18 more
>
> [INFO] Scanning for projects...
>
> [DEBUG] org.apache.maven.wagon:wagon-scm:jar:1.0-beta-7:
>
> [DEBUG]    org.apache.maven.scm:maven-scm-api:jar:1.0:compile
>
> [DEBUG]       org.codehaus.plexus:plexus-utils:jar:1.4.2:compile (version
>> managed from 1.1)
>
> [DEBUG]    org.apache.maven.scm:maven-scm-manager-plexus:jar:1.0:runtime
>
> [DEBUG]
>> org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9:test (scope
>> managed from compile)
>
> [DEBUG]          junit:junit:jar:3.8.1:test
>
> [DEBUG]          classworlds:classworlds:jar:1.1-alpha-2:test
>
> [DEBUG]    org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-7:compile
>
> [DEBUG] Created new class realm
>> extension>org.apache.maven.wagon:wagon-scm:1.0-beta-7
>
> [DEBUG] Created new class realm maven.api
>
> [DEBUG] Populating class realm
>> extension>org.apache.maven.wagon:wagon-scm:1.0-beta-7
>
> [DEBUG]   Included: org.apache.maven.wagon:wagon-scm:jar:1.0-beta-7
>
> [DEBUG]   Included: org.apache.maven.scm:maven-scm-api:jar:1.0
>
> [DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:1.4.2
>
> [DEBUG]   Included: org.apache.maven.scm:maven-scm-manager-plexus:jar:1.0
>
> [DEBUG] org.apache.maven.scm:maven-scm-manager-plexus:jar:1.4:
>
> [DEBUG]
>>  org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9:compile
>
> [DEBUG]       junit:junit:jar:3.8.2:compile (version managed from 3.8.1)
>
> [DEBUG]       classworlds:classworlds:jar:1.1-alpha-2:compile
>
> [DEBUG]    org.apache.maven.scm:maven-scm-api:jar:1.4:compile
>
> [DEBUG]    org.codehaus.plexus:plexus-utils:jar:1.5.6:compile
>
> [DEBUG] Created new class realm
>> extension>org.apache.maven.scm:maven-scm-manager-plexus:1.4
>
> [DEBUG] Populating class realm
>> extension>org.apache.maven.scm:maven-scm-manager-plexus:1.4
>
> [DEBUG]   Included: org.apache.maven.scm:maven-scm-manager-plexus:jar:1.4
>
> [DEBUG]   Included: junit:junit:jar:3.8.2
>
> [DEBUG]   Included: org.apache.maven.scm:maven-scm-api:jar:1.4
>
> [DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:1.5.6
>
> [DEBUG] org.apache.maven.scm:maven-scm-provider-hg:jar:1.4:
>
> [DEBUG]    regexp:regexp:jar:1.3:compile
>
> [DEBUG]    org.apache.maven.scm:maven-scm-api:jar:1.4:compile
>
> [DEBUG]    org.codehaus.plexus:plexus-utils:jar:1.5.6:compile
>
> [DEBUG] Created new class realm
>> extension>org.apache.maven.scm:maven-scm-provider-hg:1.4
>
> [DEBUG] Populating class realm
>> extension>org.apache.maven.scm:maven-scm-provider-hg:1.4
>
> [DEBUG]   Included: org.apache.maven.scm:maven-scm-provider-hg:jar:1.4
>
> [DEBUG]   Included: regexp:regexp:jar:1.3
>
> [DEBUG]   Included: org.apache.maven.scm:maven-scm-api:jar:1.4
>
> [DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:1.5.6
>
> [DEBUG] Extension realms for project
>> com.alexgorbatchev:gwt-syntaxhighlighter:jar:1.0.9-SNAPSHOT:
>> [ClassRealm[extension>org.apache.maven.wagon:wagon-scm:1.0-beta-7, parent:
>> ClassRealm[maven.api, parent: null]],
>> ClassRealm[extension>org.apache.maven.scm:maven-scm-manager-plexus:1.4,
>> parent: ClassRealm[maven.api, parent: null]],
>> ClassRealm[extension>org.apache.maven.scm:maven-scm-provider-hg:1.4, parent:
>> ClassRealm[maven.api, parent: null]]]
>
>  [DEBUG] Created new class realm
>> project>com.alexgorbatchev:gwt-syntaxhighlighter:1.0.9-SNAPSHOT
>
> [DEBUG] Populating class realm
>> project>com.alexgorbatchev:gwt-syntaxhighlighter:1.0.9-SNAPSHOT
>
> [DEBUG] Looking up lifecyle mappings for packaging jar from
>> ClassRealm[project>com.alexgorbatchev:gwt-syntaxhighlighter:1.0.9-SNAPSHOT,
>> parent: ClassRealm[maven.api, parent: null]]
>
> [DEBUG] Resolving plugin prefix site from [org.apache.maven.plugins,
>> org.codehaus.mojo]
>
> [DEBUG] Resolved plugin prefix site to
>> org.apache.maven.plugins:maven-site-plugin from POM
>> com.alexgorbatchev:gwt-syntaxhighlighter:jar:1.0.9-SNAPSHOT
>
> [DEBUG] === REACTOR BUILD PLAN
>> ================================================
>
> [DEBUG] Project: com.alexgorbatchev:gwt-syntaxhighlighter:jar:1.0.9-SNAPSHOT
>
> [DEBUG] Tasks:   [site:deploy]
>
> [DEBUG] Style:   Regular
>
> [DEBUG]
>> =======================================================================
>
> [INFO]
>>
>
> [INFO]
>> ------------------------------------------------------------------------
>
> [INFO] Building gwt-syntaxhighlighter 1.0.9-SNAPSHOT
>
> [INFO]
>> ------------------------------------------------------------------------
>
> [DEBUG] Resolving plugin prefix site from [org.apache.maven.plugins,
>> org.codehaus.mojo]
>
> [DEBUG] Resolved plugin prefix site to
>> org.apache.maven.plugins:maven-site-plugin from POM
>> com.alexgorbatchev:gwt-syntaxhighlighter:jar:1.0.9-SNAPSHOT
>
> [DEBUG] Lifecycle default -> [validate, initialize, generate-sources,
>> process-sources, generate-resources, process-resources, compile,
>> process-classes, generate-test-sources, process-test-sources,
>> generate-test-resources, process-test-resources, test-compile,
>> process-test-classes, test, prepare-package, package, pre-integration-test,
>> integration-test, post-integration-test, verify, install, deploy]
>
>  [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
>
> [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
>
> [DEBUG] === PROJECT BUILD PLAN
>> ================================================
>
> [DEBUG] Project:
>> com.alexgorbatchev:gwt-syntaxhighlighter:1.0.9-SNAPSHOT
>
> [DEBUG] Dependencies (collect): []
>
> [DEBUG] Dependencies (resolve): []
>
> [DEBUG]
>> -----------------------------------------------------------------------
>
> [DEBUG] Goal:          org.apache.maven.plugins:maven-site-plugin:2.2:deploy
>> (default-cli)
>
> [DEBUG] Style:         Regular
>
> [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
>
> <configuration>
>
>   <chmod default-value="true">${maven.site.chmod}</chmod>
>
>   <chmodMode default-value="g+w,a+rX">${maven.site.chmod.mode}</chmodMode>
>
>   <chmodOptions
>> default-value="-Rf">${maven.site.chmod.options}</chmodOptions>
>
>   <inputDirectory>E:\Documents\GoogleCode\gwt-syntaxhighlighter\target\site</inputDirectory>
>
>   <project>${project}</project>
>
>   <settings>${settings}</settings>
>
> </configuration>
>
> [DEBUG]
>> =======================================================================
>
> [INFO]
>
> [INFO] --- maven-site-plugin:2.2:deploy (default-cli) @
>> gwt-syntaxhighlighter ---
>
> [DEBUG] org.apache.maven.plugins:maven-site-plugin:jar:2.2:
>
> [DEBUG]    org.apache.maven.reporting:maven-reporting-api:jar:3.0:compile
>
> [DEBUG]    org.apache.maven:maven-artifact:jar:2.0.6:compile
>
> [DEBUG]    org.apache.maven:maven-artifact-manager:jar:2.0.6:compile
>
> [DEBUG]       org.apache.maven:maven-repository-metadata:jar:2.0.6:compile
>
> [DEBUG]    org.apache.maven:maven-model:jar:2.0.6:compile
>
> [DEBUG]    org.apache.maven:maven-plugin-api:jar:2.0.6:compile
>
> [DEBUG]    org.apache.maven:maven-project:jar:2.0.6:compile
>
> [DEBUG]       org.apache.maven:maven-profile:jar:2.0.6:compile
>
> [DEBUG]       org.apache.maven:maven-plugin-registry:jar:2.0.6:compile
>
> [DEBUG]    org.apache.maven:maven-settings:jar:2.0.6:compile
>
> [DEBUG]    org.apache.maven.doxia:doxia-module-xhtml:jar:1.1.4:compile
>
> [DEBUG]       org.apache.maven.doxia:doxia-core:jar:1.1.4:compile
>
> [DEBUG]          xerces:xercesImpl:jar:2.9.1:compile
>
> [DEBUG]             xml-apis:xml-apis:jar:1.3.04:compile
>
> [DEBUG]          org.apache.httpcomponents:httpclient:jar:4.0.2:compile
>
> [DEBUG]             org.apache.httpcomponents:httpcore:jar:4.0.1:compile
>
> [DEBUG]             commons-logging:commons-logging:jar:1.1.1:compile
>
> [DEBUG]             commons-codec:commons-codec:jar:1.3:compile
>
> [DEBUG]    org.apache.maven.doxia:doxia-sink-api:jar:1.1.4:compile
>
> [DEBUG]    org.apache.maven.doxia:doxia-logging-api:jar:1.1.4:compile
>
> [DEBUG]    org.apache.maven.doxia:doxia-module-apt:jar:1.1.4:runtime
>
> [DEBUG]    org.apache.maven.doxia:doxia-module-xdoc:jar:1.1.4:compile
>
> [DEBUG]    org.apache.maven.doxia:doxia-module-fml:jar:1.1.4:runtime
>
> [DEBUG]    org.apache.maven.doxia:doxia-decoration-model:jar:1.1.4:compile
>
> [DEBUG]    org.apache.maven.doxia:doxia-site-renderer:jar:1.1.4:compile
>
> [DEBUG]       commons-collections:commons-collections:jar:3.2:compile
>
> [DEBUG]    org.apache.maven.shared:maven-doxia-tools:jar:1.3:compile
>
> [DEBUG]       commons-io:commons-io:jar:1.4:compile
>
> [DEBUG]    org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-4:compile
>
> [DEBUG]    org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-7:compile
>
> [DEBUG]
>>  org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9:compile
>
> [DEBUG]       junit:junit:jar:3.8.1:compile
>
> [DEBUG]       classworlds:classworlds:jar:1.1-alpha-2:compile
>
> [DEBUG]    org.codehaus.plexus:plexus-i18n:jar:1.0-beta-7:compile
>
> [DEBUG]    org.codehaus.plexus:plexus-velocity:jar:1.1.8:compile
>
> [DEBUG]    org.codehaus.plexus:plexus-utils:jar:1.5.10:compile
>
> [DEBUG]    org.apache.velocity:velocity:jar:1.5:compile
>
> [DEBUG]       commons-lang:commons-lang:jar:2.1:compile
>
> [DEBUG]       oro:oro:jar:2.0.8:compile
>
> [DEBUG]    org.mortbay.jetty:jetty:jar:6.1.5:compile
>
> [DEBUG]       org.mortbay.jetty:jetty-util:jar:6.1.5:compile
>
> [DEBUG]       org.mortbay.jetty:servlet-api-2.5:jar:6.1.5:compile
>
> [DEBUG] Created new class realm
>> plugin>org.apache.maven.plugins:maven-site-plugin:2.2
>
> [DEBUG] Populating class realm
>> plugin>org.apache.maven.plugins:maven-site-plugin:2.2
>
> [DEBUG]   Included: org.apache.maven.plugins:maven-site-plugin:jar:2.2
>
> [DEBUG]   Included: org.apache.maven.reporting:maven-reporting-api:jar:3.0
>
> [DEBUG]   Included: org.apache.maven.doxia:doxia-module-xhtml:jar:1.1.4
>
> [DEBUG]   Included: org.apache.maven.doxia:doxia-core:jar:1.1.4
>
> [DEBUG]   Included: xerces:xercesImpl:jar:2.9.1
>
> [DEBUG]   Included: xml-apis:xml-apis:jar:1.3.04
>
> [DEBUG]   Included: org.apache.httpcomponents:httpclient:jar:4.0.2
>
> [DEBUG]   Included: org.apache.httpcomponents:httpcore:jar:4.0.1
>
> [DEBUG]   Included: commons-logging:commons-logging:jar:1.1.1
>
> [DEBUG]   Included: commons-codec:commons-codec:jar:1.3
>
> [DEBUG]   Included: org.apache.maven.doxia:doxia-sink-api:jar:1.1.4
>
> [DEBUG]   Included: org.apache.maven.doxia:doxia-logging-api:jar:1.1.4
>
> [DEBUG]   Included: org.apache.maven.doxia:doxia-module-apt:jar:1.1.4
>
> [DEBUG]   Included: org.apache.maven.doxia:doxia-module-xdoc:jar:1.1.4
>
> [DEBUG]   Included: org.apache.maven.doxia:doxia-module-fml:jar:1.1.4
>
> [DEBUG]   Included: org.apache.maven.doxia:doxia-decoration-model:jar:1.1.4
>
> [DEBUG]   Included: org.apache.maven.doxia:doxia-site-renderer:jar:1.1.4
>
> [DEBUG]   Included: commons-collections:commons-collections:jar:3.2
>
> [DEBUG]   Included: org.apache.maven.shared:maven-doxia-tools:jar:1.3
>
> [DEBUG]   Included: commons-io:commons-io:jar:1.4
>
> [DEBUG]   Included: org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-7
>
> [DEBUG]   Included: junit:junit:jar:3.8.1
>
> [DEBUG]   Included: org.codehaus.plexus:plexus-i18n:jar:1.0-beta-7
>
> [DEBUG]   Included: org.codehaus.plexus:plexus-velocity:jar:1.1.8
>
> [DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:1.5.10
>
> [DEBUG]   Included: org.apache.velocity:velocity:jar:1.5
>
> [DEBUG]   Included: commons-lang:commons-lang:jar:2.1
>
> [DEBUG]   Included: oro:oro:jar:2.0.8
>
> [DEBUG]   Included: org.mortbay.jetty:jetty:jar:6.1.5
>
> [DEBUG]   Included: org.mortbay.jetty:jetty-util:jar:6.1.5
>
> [DEBUG]   Included: org.mortbay.jetty:servlet-api-2.5:jar:6.1.5
>
> [DEBUG]   Excluded: org.apache.maven:maven-artifact:jar:2.0.6
>
> [DEBUG]   Excluded: org.apache.maven:maven-artifact-manager:jar:2.0.6
>
> [DEBUG]   Excluded: org.apache.maven:maven-repository-metadata:jar:2.0.6
>
> [DEBUG]   Excluded: org.apache.maven:maven-model:jar:2.0.6
>
> [DEBUG]   Excluded: org.apache.maven:maven-plugin-api:jar:2.0.6
>
> [DEBUG]   Excluded: org.apache.maven:maven-project:jar:2.0.6
>
> [DEBUG]   Excluded: org.apache.maven:maven-profile:jar:2.0.6
>
> [DEBUG]   Excluded: org.apache.maven:maven-plugin-registry:jar:2.0.6
>
> [DEBUG]   Excluded: org.apache.maven:maven-settings:jar:2.0.6
>
> [DEBUG]   Excluded: org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-4
>
> [DEBUG]   Excluded:
>> org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9
>
> [DEBUG]   Excluded: classworlds:classworlds:jar:1.1-alpha-2
>
> [DEBUG] Configuring mojo
>> org.apache.maven.plugins:maven-site-plugin:2.2:deploy from plugin realm
>> ClassRealm[plugin>org.apache.maven.plugins:maven-site-plugin:2.2, parent:
>> ClassRealm[project>com.alexgorbatchev:gwt-syntaxhighlighter:1.0.9-SNAPSHOT,
>> parent: ClassRealm[maven.api, parent: null]]]
>
>  [DEBUG] Configuring mojo
>> 'org.apache.maven.plugins:maven-site-plugin:2.2:deploy' with basic
>> configurator -->
>
> [DEBUG]   (f) chmod = true
>
> [DEBUG]   (f) chmodMode = g+w,a+rX
>
> [DEBUG]   (f) chmodOptions = -Rf
>
> [DEBUG]   (f) inputDirectory =
>> E:\Documents\GoogleCode\gwt-syntaxhighlighter\target\site
>
> [DEBUG]   (f) project = MavenProject:
>> com.alexgorbatchev:gwt-syntaxhighlighter:1.0.9-SNAPSHOT @
>> E:\Documents\GoogleCode\gwt-syntaxhighlighter\pom.xml
>
> [DEBUG]   (f) settings = org.apache.maven.execution.SettingsAdapter@1f8247d
>
> [DEBUG] -- end configuration --
>
> [DEBUG] The site will be deployed to 'scm:hg:
>> https://site.gwt-syntaxhighlighter.googlecode.com/hg'
>
> [WARNING] No SCM providers configured.
>
> scm:hg:https://site.gwt-syntaxhighlighter.googlecode.com/hg - Session:
>> Opened
>
>  Transfer error: org.apache.maven.scm.manager.NoSuchScmProviderException: No
>> such provider: 'hg'.
>
> scm:hg:https://site.gwt-syntaxhighlighter.googlecode.com/hg - Session:
>> Disconnecting
>
> scm:hg:https://site.gwt-syntaxhighlighter.googlecode.com/hg - Session:
>> Disconnected
>
> [INFO]
>> ------------------------------------------------------------------------
>
> [INFO] BUILD FAILURE
>
> [INFO]
>> ------------------------------------------------------------------------
>
> [INFO] Total time: 1.235s
>
> [INFO] Finished at: Mon Nov 29 15:01:02 PST 2010
>
> [INFO] Final Memory: 4M/15M
>
> [INFO]
>> ------------------------------------------------------------------------
>
> [ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-site-plugin:2.2:deploy (default-cli) on
>> project gwt-syntaxhighlighter: Error uploading site: Error interacting with
>> SCM: No such provider: 'hg'. -> [Help 1]
>
>  org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
>> goal org.apache.maven.plugins:maven-site-plugin:2.2:deploy (default-cli) on
>> project gwt-syntaxhighlighter: Error uploading site
>
> at
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:203)
>
> at
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
>
> at
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:140)
>
> at
>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
>
> at
>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
>
> at
>> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
>
> at
>> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
>
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:314)
>
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:151)
>
> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:445)
>
> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:168)
>
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:132)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>
> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:597)
>
> at
>> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
>
> at
>> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
>
> at
>> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
>
> at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
>
> Caused by: org.apache.maven.plugin.MojoExecutionException: Error uploading
>> site
>
> at
>> org.apache.maven.plugins.site.SiteDeployMojo.execute(SiteDeployMojo.java:229)
>
> at
>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:107)
>
> at
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:195)
>
> ... 19 more
>
> Caused by: org.apache.maven.wagon.TransferFailedException: Error interacting
>> with SCM: No such provider: 'hg'.
>
> at
>> org.apache.maven.wagon.providers.scm.ScmWagon.putInternal(ScmWagon.java:329)
>
> at
>> org.apache.maven.wagon.providers.scm.ScmWagon.putDirectory(ScmWagon.java:512)
>
> at
>> org.apache.maven.plugins.site.SiteDeployMojo.execute(SiteDeployMojo.java:215)
>
> ... 21 more
>
> Caused by: org.apache.maven.scm.manager.NoSuchScmProviderException: No such
>> provider: 'hg'.
>
> at
>> org.apache.maven.scm.manager.AbstractScmManager.getProviderByType(AbstractScmManager.java:155)
>
> at
>> org.apache.maven.scm.manager.AbstractScmManager.makeScmRepository(AbstractScmManager.java:183)
>
> at
>> org.apache.maven.wagon.providers.scm.ScmWagon.getScmRepository(ScmWagon.java:217)
>
> at
>> org.apache.maven.wagon.providers.scm.ScmWagon.putInternal(ScmWagon.java:275)
>
> ... 23 more
>
> [ERROR]
>
> [ERROR]
>
> [ERROR] For more information about the errors and possible solutions, please
>> read the following articles:
>
> [ERROR] [Help 1]
>> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
>
> *
> *
> *The part that interests me is this: *
> *Error interacting with SCM: No such provider: 'hg'.*
> *
> *
> *And then near the top, this:*
> *[WARNING] No SCM providers configured.*
> *
> *
> *This is strange to me, because as far as I know, I've defined the provider
> to be used in my POM. Could someone please shed some light on this for me?*
> *
> *


--
Dennis Lundberg

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Wagon-SCM, and Mercurial... Help?

Olivier Lamy
In reply to this post by Cliff Hill
Hell,
You have added a dependency to wagon-scm in your project ?
So you have to add a dependency to your scm provider too.

In your case, it should be

    <dependency>
      <groupId>org.apache.maven.scm</groupId>
      <artifactId>maven-scm-provider-hg</artifactId>
      <!-- not sure about the version -->
      <version>1.0</version>
    </dependency>

HTH,
--
Olivier Lamy
http://twitter.com/olamy
http://www.linkedin.com/in/olamy

2010/11/30 Cliff Hill <[hidden email]>:

> *I am hoping I am getting to the right people here... Anyway, here's the
> situation: Attempting to set up Maven to be able to deploy a site to a
> mercurial repository on Google Code, which from what I have read, should be
> done through the wagon-scm plugin, which in turn relies upon the maven-scm
> plugin. Pertinent components of my pom are:*
> *
> *
>  ...
> <distributionManagement>
>  ...
> <site>
>  <id>googlecode</id>
> <name>gwt-syntaxhighlighter Site</name>
>  <url>scm:hg:https://site.gwt-syntaxhighlighter.googlecode.com/hg</url>
>  </site>
> ...
>  </distributionManagement>
>
>  ...
>
>  <properties>
> ...
>  <wagonVersion>1.0-beta-7</wagonVersion>
>  <scmVersion>1.4</scmVersion>
> </properties>
>
>  ...
>
> <build>
>  ,,,
>
>  <!-- For scm deployment -->
> <extensions>
>  <extension>
> <groupId>org.apache.maven.wagon</groupId>
>  <artifactId>wagon-scm</artifactId>
> <version>${wagonVersion}</version>
>  </extension>
> <extension>
>  <groupId>org.apache.maven.scm</groupId>
>  <artifactId>maven-scm-manager-plexus</artifactId>
>  <version>${scmVersion}</version>
> </extension>
>  <extension>
> <groupId>org.apache.maven.scm</groupId>
>  <artifactId>maven-scm-provider-hg</artifactId>
>  <version>${scmVersion}</version>
> </extension>
>  </extensions>
>
>  <plugins>
> ...
>
> <plugin>
>  <groupId>org.apache.maven.plugins</groupId>
>  <artifactId>maven-site-plugin</artifactId>
>  <version>2.2</version>
> </plugin>
>
> ...
>
> <plugin>
>  <groupId>org.apache.maven.plugins</groupId>
>  <artifactId>maven-scm-plugin</artifactId>
>  <version>${scmVersion}</version>
> </plugin>
>
> ...
>
> <plugin>
>  <groupId>org.apache.maven.plugins</groupId>
>  <artifactId>maven-release-plugin</artifactId>
>  <version>2.1</version>
> <configuration>
>  <releaseProfiles>release</releaseProfiles>
>  </configuration>
> </plugin>
>  </plugins>
> </build>
>  ...
> *
> *
> *When I attempt "mvn site:deploy", I get the following output:*
> *
> *
>
>> Apache Maven 3.0 (r1004208; 2010-10-04 04:50:56-0700)
>
> Java version: 1.6.0_22
>
> Java home: E:\PortableApps\CommonFiles\JDK6\jre
>
> Default locale: en_US, platform encoding: Cp1252
>
> OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
>
> [INFO] Error stacktraces are turned on.
>
> [DEBUG] Reading user settings from E:\.m2\settings.xml
>
> [DEBUG] Reading global settings from
>> E:\PortableApps\CommonFiles\apache-maven-3.0\conf\settings.xml
>
> [DEBUG] Using local repository at E:\.m2\repository
>
> [DEBUG] Failed to decrypt password for server sonatype-nexus-snapshots:
>> org.sonatype.plexus.components.sec.dispatcher.SecDispatcherException:
>> java.io.FileNotFoundException: C:\Documents and
>> Settings\cliffhill\.m2\settings-security.xml (The system cannot find the
>> path specified)
>
>  org.sonatype.plexus.components.sec.dispatcher.SecDispatcherException:
>> org.sonatype.plexus.components.sec.dispatcher.SecDispatcherException:
>> java.io.FileNotFoundException: C:\Documents and
>> Settings\cliffhill\.m2\settings-security.xml (The system cannot find the
>> path specified)
>
>  at
>> org.sonatype.plexus.components.sec.dispatcher.DefaultSecDispatcher.decrypt(DefaultSecDispatcher.java:121)
>
> at
>> org.apache.maven.settings.crypto.DefaultSettingsDecrypter.decrypt(DefaultSettingsDecrypter.java:106)
>
> at
>> org.apache.maven.settings.crypto.DefaultSettingsDecrypter.decrypt(DefaultSettingsDecrypter.java:62)
>
> at org.apache.maven.DefaultMaven.newRepositorySession(DefaultMaven.java:367)
>
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:202)
>
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:151)
>
> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:445)
>
> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:168)
>
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:132)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>
> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:597)
>
> at
>> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
>
> at
>> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
>
> at
>> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
>
> at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
>
> Caused by:
>> org.sonatype.plexus.components.sec.dispatcher.SecDispatcherException:
>> java.io.FileNotFoundException: C:\Documents and
>> Settings\cliffhill\.m2\settings-security.xml (The system cannot find the
>> path specified)
>
>  at
>> org.sonatype.plexus.components.sec.dispatcher.SecUtil.read(SecUtil.java:69)
>
> at
>> org.sonatype.plexus.components.sec.dispatcher.DefaultSecDispatcher.getSec(DefaultSecDispatcher.java:206)
>
> at
>> org.sonatype.plexus.components.sec.dispatcher.DefaultSecDispatcher.decrypt(DefaultSecDispatcher.java:90)
>
> ... 16 more
>
> Caused by: java.io.FileNotFoundException: C:\Documents and
>> Settings\cliffhill\.m2\settings-security.xml (The system cannot find the
>> path specified)
>
> at java.io.FileInputStream.open(Native Method)
>
> at java.io.FileInputStream.<init>(FileInputStream.java:106)
>
> at
>> org.sonatype.plexus.components.sec.dispatcher.SecUtil.toStream(SecUtil.java:100)
>
> at
>> org.sonatype.plexus.components.sec.dispatcher.SecUtil.read(SecUtil.java:56)
>
> ... 18 more
>
> [DEBUG] Failed to decrypt password for server sonatype-nexus-staging:
>> org.sonatype.plexus.components.sec.dispatcher.SecDispatcherException:
>> java.io.FileNotFoundException: C:\Documents and
>> Settings\cliffhill\.m2\settings-security.xml (The system cannot find the
>> path specified)
>
>  org.sonatype.plexus.components.sec.dispatcher.SecDispatcherException:
>> org.sonatype.plexus.components.sec.dispatcher.SecDispatcherException:
>> java.io.FileNotFoundException: C:\Documents and
>> Settings\cliffhill\.m2\settings-security.xml (The system cannot find the
>> path specified)
>
>  at
>> org.sonatype.plexus.components.sec.dispatcher.DefaultSecDispatcher.decrypt(DefaultSecDispatcher.java:121)
>
> at
>> org.apache.maven.settings.crypto.DefaultSettingsDecrypter.decrypt(DefaultSettingsDecrypter.java:106)
>
> at
>> org.apache.maven.settings.crypto.DefaultSettingsDecrypter.decrypt(DefaultSettingsDecrypter.java:62)
>
> at org.apache.maven.DefaultMaven.newRepositorySession(DefaultMaven.java:367)
>
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:202)
>
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:151)
>
> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:445)
>
> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:168)
>
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:132)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>
> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:597)
>
> at
>> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
>
> at
>> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
>
> at
>> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
>
> at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
>
> Caused by:
>> org.sonatype.plexus.components.sec.dispatcher.SecDispatcherException:
>> java.io.FileNotFoundException: C:\Documents and
>> Settings\cliffhill\.m2\settings-security.xml (The system cannot find the
>> path specified)
>
>  at
>> org.sonatype.plexus.components.sec.dispatcher.SecUtil.read(SecUtil.java:69)
>
> at
>> org.sonatype.plexus.components.sec.dispatcher.DefaultSecDispatcher.getSec(DefaultSecDispatcher.java:206)
>
> at
>> org.sonatype.plexus.components.sec.dispatcher.DefaultSecDispatcher.decrypt(DefaultSecDispatcher.java:90)
>
> ... 16 more
>
> Caused by: java.io.FileNotFoundException: C:\Documents and
>> Settings\cliffhill\.m2\settings-security.xml (The system cannot find the
>> path specified)
>
> at java.io.FileInputStream.open(Native Method)
>
> at java.io.FileInputStream.<init>(FileInputStream.java:106)
>
> at
>> org.sonatype.plexus.components.sec.dispatcher.SecUtil.toStream(SecUtil.java:100)
>
> at
>> org.sonatype.plexus.components.sec.dispatcher.SecUtil.read(SecUtil.java:56)
>
> ... 18 more
>
> [DEBUG] Failed to decrypt password for server googlecode:
>> org.sonatype.plexus.components.sec.dispatcher.SecDispatcherException:
>> java.io.FileNotFoundException: C:\Documents and
>> Settings\cliffhill\.m2\settings-security.xml (The system cannot find the
>> path specified)
>
>  org.sonatype.plexus.components.sec.dispatcher.SecDispatcherException:
>> org.sonatype.plexus.components.sec.dispatcher.SecDispatcherException:
>> java.io.FileNotFoundException: C:\Documents and
>> Settings\cliffhill\.m2\settings-security.xml (The system cannot find the
>> path specified)
>
>  at
>> org.sonatype.plexus.components.sec.dispatcher.DefaultSecDispatcher.decrypt(DefaultSecDispatcher.java:121)
>
> at
>> org.apache.maven.settings.crypto.DefaultSettingsDecrypter.decrypt(DefaultSettingsDecrypter.java:106)
>
> at
>> org.apache.maven.settings.crypto.DefaultSettingsDecrypter.decrypt(DefaultSettingsDecrypter.java:62)
>
> at org.apache.maven.DefaultMaven.newRepositorySession(DefaultMaven.java:367)
>
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:202)
>
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:151)
>
> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:445)
>
> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:168)
>
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:132)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>
> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:597)
>
> at
>> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
>
> at
>> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
>
> at
>> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
>
> at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
>
> Caused by:
>> org.sonatype.plexus.components.sec.dispatcher.SecDispatcherException:
>> java.io.FileNotFoundException: C:\Documents and
>> Settings\cliffhill\.m2\settings-security.xml (The system cannot find the
>> path specified)
>
>  at
>> org.sonatype.plexus.components.sec.dispatcher.SecUtil.read(SecUtil.java:69)
>
> at
>> org.sonatype.plexus.components.sec.dispatcher.DefaultSecDispatcher.getSec(DefaultSecDispatcher.java:206)
>
> at
>> org.sonatype.plexus.components.sec.dispatcher.DefaultSecDispatcher.decrypt(DefaultSecDispatcher.java:90)
>
> ... 16 more
>
> Caused by: java.io.FileNotFoundException: C:\Documents and
>> Settings\cliffhill\.m2\settings-security.xml (The system cannot find the
>> path specified)
>
> at java.io.FileInputStream.open(Native Method)
>
> at java.io.FileInputStream.<init>(FileInputStream.java:106)
>
> at
>> org.sonatype.plexus.components.sec.dispatcher.SecUtil.toStream(SecUtil.java:100)
>
> at
>> org.sonatype.plexus.components.sec.dispatcher.SecUtil.read(SecUtil.java:56)
>
> ... 18 more
>
> [INFO] Scanning for projects...
>
> [DEBUG] org.apache.maven.wagon:wagon-scm:jar:1.0-beta-7:
>
> [DEBUG]    org.apache.maven.scm:maven-scm-api:jar:1.0:compile
>
> [DEBUG]       org.codehaus.plexus:plexus-utils:jar:1.4.2:compile (version
>> managed from 1.1)
>
> [DEBUG]    org.apache.maven.scm:maven-scm-manager-plexus:jar:1.0:runtime
>
> [DEBUG]
>> org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9:test (scope
>> managed from compile)
>
> [DEBUG]          junit:junit:jar:3.8.1:test
>
> [DEBUG]          classworlds:classworlds:jar:1.1-alpha-2:test
>
> [DEBUG]    org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-7:compile
>
> [DEBUG] Created new class realm
>> extension>org.apache.maven.wagon:wagon-scm:1.0-beta-7
>
> [DEBUG] Created new class realm maven.api
>
> [DEBUG] Populating class realm
>> extension>org.apache.maven.wagon:wagon-scm:1.0-beta-7
>
> [DEBUG]   Included: org.apache.maven.wagon:wagon-scm:jar:1.0-beta-7
>
> [DEBUG]   Included: org.apache.maven.scm:maven-scm-api:jar:1.0
>
> [DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:1.4.2
>
> [DEBUG]   Included: org.apache.maven.scm:maven-scm-manager-plexus:jar:1.0
>
> [DEBUG] org.apache.maven.scm:maven-scm-manager-plexus:jar:1.4:
>
> [DEBUG]
>>  org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9:compile
>
> [DEBUG]       junit:junit:jar:3.8.2:compile (version managed from 3.8.1)
>
> [DEBUG]       classworlds:classworlds:jar:1.1-alpha-2:compile
>
> [DEBUG]    org.apache.maven.scm:maven-scm-api:jar:1.4:compile
>
> [DEBUG]    org.codehaus.plexus:plexus-utils:jar:1.5.6:compile
>
> [DEBUG] Created new class realm
>> extension>org.apache.maven.scm:maven-scm-manager-plexus:1.4
>
> [DEBUG] Populating class realm
>> extension>org.apache.maven.scm:maven-scm-manager-plexus:1.4
>
> [DEBUG]   Included: org.apache.maven.scm:maven-scm-manager-plexus:jar:1.4
>
> [DEBUG]   Included: junit:junit:jar:3.8.2
>
> [DEBUG]   Included: org.apache.maven.scm:maven-scm-api:jar:1.4
>
> [DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:1.5.6
>
> [DEBUG] org.apache.maven.scm:maven-scm-provider-hg:jar:1.4:
>
> [DEBUG]    regexp:regexp:jar:1.3:compile
>
> [DEBUG]    org.apache.maven.scm:maven-scm-api:jar:1.4:compile
>
> [DEBUG]    org.codehaus.plexus:plexus-utils:jar:1.5.6:compile
>
> [DEBUG] Created new class realm
>> extension>org.apache.maven.scm:maven-scm-provider-hg:1.4
>
> [DEBUG] Populating class realm
>> extension>org.apache.maven.scm:maven-scm-provider-hg:1.4
>
> [DEBUG]   Included: org.apache.maven.scm:maven-scm-provider-hg:jar:1.4
>
> [DEBUG]   Included: regexp:regexp:jar:1.3
>
> [DEBUG]   Included: org.apache.maven.scm:maven-scm-api:jar:1.4
>
> [DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:1.5.6
>
> [DEBUG] Extension realms for project
>> com.alexgorbatchev:gwt-syntaxhighlighter:jar:1.0.9-SNAPSHOT:
>> [ClassRealm[extension>org.apache.maven.wagon:wagon-scm:1.0-beta-7, parent:
>> ClassRealm[maven.api, parent: null]],
>> ClassRealm[extension>org.apache.maven.scm:maven-scm-manager-plexus:1.4,
>> parent: ClassRealm[maven.api, parent: null]],
>> ClassRealm[extension>org.apache.maven.scm:maven-scm-provider-hg:1.4, parent:
>> ClassRealm[maven.api, parent: null]]]
>
>  [DEBUG] Created new class realm
>> project>com.alexgorbatchev:gwt-syntaxhighlighter:1.0.9-SNAPSHOT
>
> [DEBUG] Populating class realm
>> project>com.alexgorbatchev:gwt-syntaxhighlighter:1.0.9-SNAPSHOT
>
> [DEBUG] Looking up lifecyle mappings for packaging jar from
>> ClassRealm[project>com.alexgorbatchev:gwt-syntaxhighlighter:1.0.9-SNAPSHOT,
>> parent: ClassRealm[maven.api, parent: null]]
>
> [DEBUG] Resolving plugin prefix site from [org.apache.maven.plugins,
>> org.codehaus.mojo]
>
> [DEBUG] Resolved plugin prefix site to
>> org.apache.maven.plugins:maven-site-plugin from POM
>> com.alexgorbatchev:gwt-syntaxhighlighter:jar:1.0.9-SNAPSHOT
>
> [DEBUG] === REACTOR BUILD PLAN
>> ================================================
>
> [DEBUG] Project: com.alexgorbatchev:gwt-syntaxhighlighter:jar:1.0.9-SNAPSHOT
>
> [DEBUG] Tasks:   [site:deploy]
>
> [DEBUG] Style:   Regular
>
> [DEBUG]
>> =======================================================================
>
> [INFO]
>>
>
> [INFO]
>> ------------------------------------------------------------------------
>
> [INFO] Building gwt-syntaxhighlighter 1.0.9-SNAPSHOT
>
> [INFO]
>> ------------------------------------------------------------------------
>
> [DEBUG] Resolving plugin prefix site from [org.apache.maven.plugins,
>> org.codehaus.mojo]
>
> [DEBUG] Resolved plugin prefix site to
>> org.apache.maven.plugins:maven-site-plugin from POM
>> com.alexgorbatchev:gwt-syntaxhighlighter:jar:1.0.9-SNAPSHOT
>
> [DEBUG] Lifecycle default -> [validate, initialize, generate-sources,
>> process-sources, generate-resources, process-resources, compile,
>> process-classes, generate-test-sources, process-test-sources,
>> generate-test-resources, process-test-resources, test-compile,
>> process-test-classes, test, prepare-package, package, pre-integration-test,
>> integration-test, post-integration-test, verify, install, deploy]
>
>  [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
>
> [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
>
> [DEBUG] === PROJECT BUILD PLAN
>> ================================================
>
> [DEBUG] Project:
>> com.alexgorbatchev:gwt-syntaxhighlighter:1.0.9-SNAPSHOT
>
> [DEBUG] Dependencies (collect): []
>
> [DEBUG] Dependencies (resolve): []
>
> [DEBUG]
>> -----------------------------------------------------------------------
>
> [DEBUG] Goal:          org.apache.maven.plugins:maven-site-plugin:2.2:deploy
>> (default-cli)
>
> [DEBUG] Style:         Regular
>
> [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
>
> <configuration>
>
>  <chmod default-value="true">${maven.site.chmod}</chmod>
>
>  <chmodMode default-value="g+w,a+rX">${maven.site.chmod.mode}</chmodMode>
>
>  <chmodOptions
>> default-value="-Rf">${maven.site.chmod.options}</chmodOptions>
>
>  <inputDirectory>E:\Documents\GoogleCode\gwt-syntaxhighlighter\target\site</inputDirectory>
>
>  <project>${project}</project>
>
>  <settings>${settings}</settings>
>
> </configuration>
>
> [DEBUG]
>> =======================================================================
>
> [INFO]
>
> [INFO] --- maven-site-plugin:2.2:deploy (default-cli) @
>> gwt-syntaxhighlighter ---
>
> [DEBUG] org.apache.maven.plugins:maven-site-plugin:jar:2.2:
>
> [DEBUG]    org.apache.maven.reporting:maven-reporting-api:jar:3.0:compile
>
> [DEBUG]    org.apache.maven:maven-artifact:jar:2.0.6:compile
>
> [DEBUG]    org.apache.maven:maven-artifact-manager:jar:2.0.6:compile
>
> [DEBUG]       org.apache.maven:maven-repository-metadata:jar:2.0.6:compile
>
> [DEBUG]    org.apache.maven:maven-model:jar:2.0.6:compile
>
> [DEBUG]    org.apache.maven:maven-plugin-api:jar:2.0.6:compile
>
> [DEBUG]    org.apache.maven:maven-project:jar:2.0.6:compile
>
> [DEBUG]       org.apache.maven:maven-profile:jar:2.0.6:compile
>
> [DEBUG]       org.apache.maven:maven-plugin-registry:jar:2.0.6:compile
>
> [DEBUG]    org.apache.maven:maven-settings:jar:2.0.6:compile
>
> [DEBUG]    org.apache.maven.doxia:doxia-module-xhtml:jar:1.1.4:compile
>
> [DEBUG]       org.apache.maven.doxia:doxia-core:jar:1.1.4:compile
>
> [DEBUG]          xerces:xercesImpl:jar:2.9.1:compile
>
> [DEBUG]             xml-apis:xml-apis:jar:1.3.04:compile
>
> [DEBUG]          org.apache.httpcomponents:httpclient:jar:4.0.2:compile
>
> [DEBUG]             org.apache.httpcomponents:httpcore:jar:4.0.1:compile
>
> [DEBUG]             commons-logging:commons-logging:jar:1.1.1:compile
>
> [DEBUG]             commons-codec:commons-codec:jar:1.3:compile
>
> [DEBUG]    org.apache.maven.doxia:doxia-sink-api:jar:1.1.4:compile
>
> [DEBUG]    org.apache.maven.doxia:doxia-logging-api:jar:1.1.4:compile
>
> [DEBUG]    org.apache.maven.doxia:doxia-module-apt:jar:1.1.4:runtime
>
> [DEBUG]    org.apache.maven.doxia:doxia-module-xdoc:jar:1.1.4:compile
>
> [DEBUG]    org.apache.maven.doxia:doxia-module-fml:jar:1.1.4:runtime
>
> [DEBUG]    org.apache.maven.doxia:doxia-decoration-model:jar:1.1.4:compile
>
> [DEBUG]    org.apache.maven.doxia:doxia-site-renderer:jar:1.1.4:compile
>
> [DEBUG]       commons-collections:commons-collections:jar:3.2:compile
>
> [DEBUG]    org.apache.maven.shared:maven-doxia-tools:jar:1.3:compile
>
> [DEBUG]       commons-io:commons-io:jar:1.4:compile
>
> [DEBUG]    org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-4:compile
>
> [DEBUG]    org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-7:compile
>
> [DEBUG]
>>  org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9:compile
>
> [DEBUG]       junit:junit:jar:3.8.1:compile
>
> [DEBUG]       classworlds:classworlds:jar:1.1-alpha-2:compile
>
> [DEBUG]    org.codehaus.plexus:plexus-i18n:jar:1.0-beta-7:compile
>
> [DEBUG]    org.codehaus.plexus:plexus-velocity:jar:1.1.8:compile
>
> [DEBUG]    org.codehaus.plexus:plexus-utils:jar:1.5.10:compile
>
> [DEBUG]    org.apache.velocity:velocity:jar:1.5:compile
>
> [DEBUG]       commons-lang:commons-lang:jar:2.1:compile
>
> [DEBUG]       oro:oro:jar:2.0.8:compile
>
> [DEBUG]    org.mortbay.jetty:jetty:jar:6.1.5:compile
>
> [DEBUG]       org.mortbay.jetty:jetty-util:jar:6.1.5:compile
>
> [DEBUG]       org.mortbay.jetty:servlet-api-2.5:jar:6.1.5:compile
>
> [DEBUG] Created new class realm
>> plugin>org.apache.maven.plugins:maven-site-plugin:2.2
>
> [DEBUG] Populating class realm
>> plugin>org.apache.maven.plugins:maven-site-plugin:2.2
>
> [DEBUG]   Included: org.apache.maven.plugins:maven-site-plugin:jar:2.2
>
> [DEBUG]   Included: org.apache.maven.reporting:maven-reporting-api:jar:3.0
>
> [DEBUG]   Included: org.apache.maven.doxia:doxia-module-xhtml:jar:1.1.4
>
> [DEBUG]   Included: org.apache.maven.doxia:doxia-core:jar:1.1.4
>
> [DEBUG]   Included: xerces:xercesImpl:jar:2.9.1
>
> [DEBUG]   Included: xml-apis:xml-apis:jar:1.3.04
>
> [DEBUG]   Included: org.apache.httpcomponents:httpclient:jar:4.0.2
>
> [DEBUG]   Included: org.apache.httpcomponents:httpcore:jar:4.0.1
>
> [DEBUG]   Included: commons-logging:commons-logging:jar:1.1.1
>
> [DEBUG]   Included: commons-codec:commons-codec:jar:1.3
>
> [DEBUG]   Included: org.apache.maven.doxia:doxia-sink-api:jar:1.1.4
>
> [DEBUG]   Included: org.apache.maven.doxia:doxia-logging-api:jar:1.1.4
>
> [DEBUG]   Included: org.apache.maven.doxia:doxia-module-apt:jar:1.1.4
>
> [DEBUG]   Included: org.apache.maven.doxia:doxia-module-xdoc:jar:1.1.4
>
> [DEBUG]   Included: org.apache.maven.doxia:doxia-module-fml:jar:1.1.4
>
> [DEBUG]   Included: org.apache.maven.doxia:doxia-decoration-model:jar:1.1.4
>
> [DEBUG]   Included: org.apache.maven.doxia:doxia-site-renderer:jar:1.1.4
>
> [DEBUG]   Included: commons-collections:commons-collections:jar:3.2
>
> [DEBUG]   Included: org.apache.maven.shared:maven-doxia-tools:jar:1.3
>
> [DEBUG]   Included: commons-io:commons-io:jar:1.4
>
> [DEBUG]   Included: org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-7
>
> [DEBUG]   Included: junit:junit:jar:3.8.1
>
> [DEBUG]   Included: org.codehaus.plexus:plexus-i18n:jar:1.0-beta-7
>
> [DEBUG]   Included: org.codehaus.plexus:plexus-velocity:jar:1.1.8
>
> [DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:1.5.10
>
> [DEBUG]   Included: org.apache.velocity:velocity:jar:1.5
>
> [DEBUG]   Included: commons-lang:commons-lang:jar:2.1
>
> [DEBUG]   Included: oro:oro:jar:2.0.8
>
> [DEBUG]   Included: org.mortbay.jetty:jetty:jar:6.1.5
>
> [DEBUG]   Included: org.mortbay.jetty:jetty-util:jar:6.1.5
>
> [DEBUG]   Included: org.mortbay.jetty:servlet-api-2.5:jar:6.1.5
>
> [DEBUG]   Excluded: org.apache.maven:maven-artifact:jar:2.0.6
>
> [DEBUG]   Excluded: org.apache.maven:maven-artifact-manager:jar:2.0.6
>
> [DEBUG]   Excluded: org.apache.maven:maven-repository-metadata:jar:2.0.6
>
> [DEBUG]   Excluded: org.apache.maven:maven-model:jar:2.0.6
>
> [DEBUG]   Excluded: org.apache.maven:maven-plugin-api:jar:2.0.6
>
> [DEBUG]   Excluded: org.apache.maven:maven-project:jar:2.0.6
>
> [DEBUG]   Excluded: org.apache.maven:maven-profile:jar:2.0.6
>
> [DEBUG]   Excluded: org.apache.maven:maven-plugin-registry:jar:2.0.6
>
> [DEBUG]   Excluded: org.apache.maven:maven-settings:jar:2.0.6
>
> [DEBUG]   Excluded: org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-4
>
> [DEBUG]   Excluded:
>> org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9
>
> [DEBUG]   Excluded: classworlds:classworlds:jar:1.1-alpha-2
>
> [DEBUG] Configuring mojo
>> org.apache.maven.plugins:maven-site-plugin:2.2:deploy from plugin realm
>> ClassRealm[plugin>org.apache.maven.plugins:maven-site-plugin:2.2, parent:
>> ClassRealm[project>com.alexgorbatchev:gwt-syntaxhighlighter:1.0.9-SNAPSHOT,
>> parent: ClassRealm[maven.api, parent: null]]]
>
>  [DEBUG] Configuring mojo
>> 'org.apache.maven.plugins:maven-site-plugin:2.2:deploy' with basic
>> configurator -->
>
> [DEBUG]   (f) chmod = true
>
> [DEBUG]   (f) chmodMode = g+w,a+rX
>
> [DEBUG]   (f) chmodOptions = -Rf
>
> [DEBUG]   (f) inputDirectory =
>> E:\Documents\GoogleCode\gwt-syntaxhighlighter\target\site
>
> [DEBUG]   (f) project = MavenProject:
>> com.alexgorbatchev:gwt-syntaxhighlighter:1.0.9-SNAPSHOT @
>> E:\Documents\GoogleCode\gwt-syntaxhighlighter\pom.xml
>
> [DEBUG]   (f) settings = org.apache.maven.execution.SettingsAdapter@1f8247d
>
> [DEBUG] -- end configuration --
>
> [DEBUG] The site will be deployed to 'scm:hg:
>> https://site.gwt-syntaxhighlighter.googlecode.com/hg'
>
> [WARNING] No SCM providers configured.
>
> scm:hg:https://site.gwt-syntaxhighlighter.googlecode.com/hg - Session:
>> Opened
>
>  Transfer error: org.apache.maven.scm.manager.NoSuchScmProviderException: No
>> such provider: 'hg'.
>
> scm:hg:https://site.gwt-syntaxhighlighter.googlecode.com/hg - Session:
>> Disconnecting
>
> scm:hg:https://site.gwt-syntaxhighlighter.googlecode.com/hg - Session:
>> Disconnected
>
> [INFO]
>> ------------------------------------------------------------------------
>
> [INFO] BUILD FAILURE
>
> [INFO]
>> ------------------------------------------------------------------------
>
> [INFO] Total time: 1.235s
>
> [INFO] Finished at: Mon Nov 29 15:01:02 PST 2010
>
> [INFO] Final Memory: 4M/15M
>
> [INFO]
>> ------------------------------------------------------------------------
>
> [ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-site-plugin:2.2:deploy (default-cli) on
>> project gwt-syntaxhighlighter: Error uploading site: Error interacting with
>> SCM: No such provider: 'hg'. -> [Help 1]
>
>  org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
>> goal org.apache.maven.plugins:maven-site-plugin:2.2:deploy (default-cli) on
>> project gwt-syntaxhighlighter: Error uploading site
>
> at
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:203)
>
> at
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
>
> at
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:140)
>
> at
>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
>
> at
>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
>
> at
>> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
>
> at
>> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
>
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:314)
>
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:151)
>
> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:445)
>
> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:168)
>
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:132)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>
> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:597)
>
> at
>> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
>
> at
>> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
>
> at
>> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
>
> at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
>
> Caused by: org.apache.maven.plugin.MojoExecutionException: Error uploading
>> site
>
> at
>> org.apache.maven.plugins.site.SiteDeployMojo.execute(SiteDeployMojo.java:229)
>
> at
>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:107)
>
> at
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:195)
>
> ... 19 more
>
> Caused by: org.apache.maven.wagon.TransferFailedException: Error interacting
>> with SCM: No such provider: 'hg'.
>
> at
>> org.apache.maven.wagon.providers.scm.ScmWagon.putInternal(ScmWagon.java:329)
>
> at
>> org.apache.maven.wagon.providers.scm.ScmWagon.putDirectory(ScmWagon.java:512)
>
> at
>> org.apache.maven.plugins.site.SiteDeployMojo.execute(SiteDeployMojo.java:215)
>
> ... 21 more
>
> Caused by: org.apache.maven.scm.manager.NoSuchScmProviderException: No such
>> provider: 'hg'.
>
> at
>> org.apache.maven.scm.manager.AbstractScmManager.getProviderByType(AbstractScmManager.java:155)
>
> at
>> org.apache.maven.scm.manager.AbstractScmManager.makeScmRepository(AbstractScmManager.java:183)
>
> at
>> org.apache.maven.wagon.providers.scm.ScmWagon.getScmRepository(ScmWagon.java:217)
>
> at
>> org.apache.maven.wagon.providers.scm.ScmWagon.putInternal(ScmWagon.java:275)
>
> ... 23 more
>
> [ERROR]
>
> [ERROR]
>
> [ERROR] For more information about the errors and possible solutions, please
>> read the following articles:
>
> [ERROR] [Help 1]
>> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
>
> *
> *
> *The part that interests me is this: *
> *Error interacting with SCM: No such provider: 'hg'.*
> *
> *
> *And then near the top, this:*
> *[WARNING] No SCM providers configured.*
> *
> *
> *This is strange to me, because as far as I know, I've defined the provider
> to be used in my POM. Could someone please shed some light on this for me?*
> *
> *
> --
> "I'm not responcabel fer my computer's spleling errnors" - Xlorep DarkHelm
> Website: http://darkhelm.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Wagon-SCM, and Mercurial... Help?

Cliff Hill
In reply to this post by Dennis Lundberg-2
*Thanks, I already figured that part out and have since updated it :)
*
On Tue, Nov 30, 2010 at 12:22 PM, Dennis Lundberg <[hidden email]>wrote:

> Hi
>
> Although I don't think that it's related to your problems described
> here, if you are running Maven 3 you need to use Maven Site Plugin 3.
> The latest version is 3.0-beta-3.
>
> On 2010-11-30 00:16, Cliff Hill wrote:
> > *I am hoping I am getting to the right people here... Anyway, here's the
> > situation: Attempting to set up Maven to be able to deploy a site to a
> > mercurial repository on Google Code, which from what I have read, should
> be
> > done through the wagon-scm plugin, which in turn relies upon the
> maven-scm
> > plugin. Pertinent components of my pom are:*
> > *
> > *
> >  ...
> > <distributionManagement>
> >  ...
> > <site>
> >  <id>googlecode</id>
> > <name>gwt-syntaxhighlighter Site</name>
> >  <url>scm:hg:https://site.gwt-syntaxhighlighter.googlecode.com/hg</url>
> >  </site>
> > ...
> >  </distributionManagement>
> >
> >  ...
> >
> >  <properties>
> > ...
> >  <wagonVersion>1.0-beta-7</wagonVersion>
> >  <scmVersion>1.4</scmVersion>
> > </properties>
> >
> >  ...
> >
> > <build>
> >  ,,,
> >
> >  <!-- For scm deployment -->
> > <extensions>
> >  <extension>
> > <groupId>org.apache.maven.wagon</groupId>
> >  <artifactId>wagon-scm</artifactId>
> > <version>${wagonVersion}</version>
> >  </extension>
> > <extension>
> >  <groupId>org.apache.maven.scm</groupId>
> >  <artifactId>maven-scm-manager-plexus</artifactId>
> >  <version>${scmVersion}</version>
> > </extension>
> >  <extension>
> > <groupId>org.apache.maven.scm</groupId>
> >  <artifactId>maven-scm-provider-hg</artifactId>
> >  <version>${scmVersion}</version>
> > </extension>
> >  </extensions>
> >
> >  <plugins>
> > ...
> >
> > <plugin>
> >  <groupId>org.apache.maven.plugins</groupId>
> >  <artifactId>maven-site-plugin</artifactId>
> >  <version>2.2</version>
> > </plugin>
> >
> > ...
> >
> > <plugin>
> >  <groupId>org.apache.maven.plugins</groupId>
> >  <artifactId>maven-scm-plugin</artifactId>
> >  <version>${scmVersion}</version>
> > </plugin>
> >
> > ...
> >
> > <plugin>
> >  <groupId>org.apache.maven.plugins</groupId>
> >  <artifactId>maven-release-plugin</artifactId>
> >  <version>2.1</version>
> > <configuration>
> >  <releaseProfiles>release</releaseProfiles>
> >  </configuration>
> > </plugin>
> >  </plugins>
> > </build>
> >  ...
> > *
> > *
> > *When I attempt "mvn site:deploy", I get the following output:*
> > *
> > *
> >
> >> Apache Maven 3.0 (r1004208; 2010-10-04 04:50:56-0700)
> >
> > Java version: 1.6.0_22
> >
> > Java home: E:\PortableApps\CommonFiles\JDK6\jre
> >
> > Default locale: en_US, platform encoding: Cp1252
> >
> > OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
> >
> > [INFO] Error stacktraces are turned on.
> >
> > [DEBUG] Reading user settings from E:\.m2\settings.xml
> >
> > [DEBUG] Reading global settings from
> >> E:\PortableApps\CommonFiles\apache-maven-3.0\conf\settings.xml
> >
> > [DEBUG] Using local repository at E:\.m2\repository
> >
> > [DEBUG] Failed to decrypt password for server sonatype-nexus-snapshots:
> >> org.sonatype.plexus.components.sec.dispatcher.SecDispatcherException:
> >> java.io.FileNotFoundException: C:\Documents and
> >> Settings\cliffhill\.m2\settings-security.xml (The system cannot find the
> >> path specified)
> >
> >  org.sonatype.plexus.components.sec.dispatcher.SecDispatcherException:
> >> org.sonatype.plexus.components.sec.dispatcher.SecDispatcherException:
> >> java.io.FileNotFoundException: C:\Documents and
> >> Settings\cliffhill\.m2\settings-security.xml (The system cannot find the
> >> path specified)
> >
> >  at
> >>
> org.sonatype.plexus.components.sec.dispatcher.DefaultSecDispatcher.decrypt(DefaultSecDispatcher.java:121)
> >
> > at
> >>
> org.apache.maven.settings.crypto.DefaultSettingsDecrypter.decrypt(DefaultSettingsDecrypter.java:106)
> >
> > at
> >>
> org.apache.maven.settings.crypto.DefaultSettingsDecrypter.decrypt(DefaultSettingsDecrypter.java:62)
> >
> > at
> org.apache.maven.DefaultMaven.newRepositorySession(DefaultMaven.java:367)
> >
> > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:202)
> >
> > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:151)
> >
> > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:445)
> >
> > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:168)
> >
> > at org.apache.maven.cli.MavenCli.main(MavenCli.java:132)
> >
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >
> > at
> >>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >
> > at
> >>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >
> > at java.lang.reflect.Method.invoke(Method.java:597)
> >
> > at
> >>
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
> >
> > at
> >>
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
> >
> > at
> >>
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
> >
> > at
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> >
> > Caused by:
> >> org.sonatype.plexus.components.sec.dispatcher.SecDispatcherException:
> >> java.io.FileNotFoundException: C:\Documents and
> >> Settings\cliffhill\.m2\settings-security.xml (The system cannot find the
> >> path specified)
> >
> >  at
> >>
> org.sonatype.plexus.components.sec.dispatcher.SecUtil.read(SecUtil.java:69)
> >
> > at
> >>
> org.sonatype.plexus.components.sec.dispatcher.DefaultSecDispatcher.getSec(DefaultSecDispatcher.java:206)
> >
> > at
> >>
> org.sonatype.plexus.components.sec.dispatcher.DefaultSecDispatcher.decrypt(DefaultSecDispatcher.java:90)
> >
> > ... 16 more
> >
> > Caused by: java.io.FileNotFoundException: C:\Documents and
> >> Settings\cliffhill\.m2\settings-security.xml (The system cannot find the
> >> path specified)
> >
> > at java.io.FileInputStream.open(Native Method)
> >
> > at java.io.FileInputStream.<init>(FileInputStream.java:106)
> >
> > at
> >>
> org.sonatype.plexus.components.sec.dispatcher.SecUtil.toStream(SecUtil.java:100)
> >
> > at
> >>
> org.sonatype.plexus.components.sec.dispatcher.SecUtil.read(SecUtil.java:56)
> >
> > ... 18 more
> >
> > [DEBUG] Failed to decrypt password for server sonatype-nexus-staging:
> >> org.sonatype.plexus.components.sec.dispatcher.SecDispatcherException:
> >> java.io.FileNotFoundException: C:\Documents and
> >> Settings\cliffhill\.m2\settings-security.xml (The system cannot find the
> >> path specified)
> >
> >  org.sonatype.plexus.components.sec.dispatcher.SecDispatcherException:
> >> org.sonatype.plexus.components.sec.dispatcher.SecDispatcherException:
> >> java.io.FileNotFoundException: C:\Documents and
> >> Settings\cliffhill\.m2\settings-security.xml (The system cannot find the
> >> path specified)
> >
> >  at
> >>
> org.sonatype.plexus.components.sec.dispatcher.DefaultSecDispatcher.decrypt(DefaultSecDispatcher.java:121)
> >
> > at
> >>
> org.apache.maven.settings.crypto.DefaultSettingsDecrypter.decrypt(DefaultSettingsDecrypter.java:106)
> >
> > at
> >>
> org.apache.maven.settings.crypto.DefaultSettingsDecrypter.decrypt(DefaultSettingsDecrypter.java:62)
> >
> > at
> org.apache.maven.DefaultMaven.newRepositorySession(DefaultMaven.java:367)
> >
> > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:202)
> >
> > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:151)
> >
> > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:445)
> >
> > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:168)
> >
> > at org.apache.maven.cli.MavenCli.main(MavenCli.java:132)
> >
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >
> > at
> >>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >
> > at
> >>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >
> > at java.lang.reflect.Method.invoke(Method.java:597)
> >
> > at
> >>
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
> >
> > at
> >>
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
> >
> > at
> >>
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
> >
> > at
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> >
> > Caused by:
> >> org.sonatype.plexus.components.sec.dispatcher.SecDispatcherException:
> >> java.io.FileNotFoundException: C:\Documents and
> >> Settings\cliffhill\.m2\settings-security.xml (The system cannot find the
> >> path specified)
> >
> >  at
> >>
> org.sonatype.plexus.components.sec.dispatcher.SecUtil.read(SecUtil.java:69)
> >
> > at
> >>
> org.sonatype.plexus.components.sec.dispatcher.DefaultSecDispatcher.getSec(DefaultSecDispatcher.java:206)
> >
> > at
> >>
> org.sonatype.plexus.components.sec.dispatcher.DefaultSecDispatcher.decrypt(DefaultSecDispatcher.java:90)
> >
> > ... 16 more
> >
> > Caused by: java.io.FileNotFoundException: C:\Documents and
> >> Settings\cliffhill\.m2\settings-security.xml (The system cannot find the
> >> path specified)
> >
> > at java.io.FileInputStream.open(Native Method)
> >
> > at java.io.FileInputStream.<init>(FileInputStream.java:106)
> >
> > at
> >>
> org.sonatype.plexus.components.sec.dispatcher.SecUtil.toStream(SecUtil.java:100)
> >
> > at
> >>
> org.sonatype.plexus.components.sec.dispatcher.SecUtil.read(SecUtil.java:56)
> >
> > ... 18 more
> >
> > [DEBUG] Failed to decrypt password for server googlecode:
> >> org.sonatype.plexus.components.sec.dispatcher.SecDispatcherException:
> >> java.io.FileNotFoundException: C:\Documents and
> >> Settings\cliffhill\.m2\settings-security.xml (The system cannot find the
> >> path specified)
> >
> >  org.sonatype.plexus.components.sec.dispatcher.SecDispatcherException:
> >> org.sonatype.plexus.components.sec.dispatcher.SecDispatcherException:
> >> java.io.FileNotFoundException: C:\Documents and
> >> Settings\cliffhill\.m2\settings-security.xml (The system cannot find the
> >> path specified)
> >
> >  at
> >>
> org.sonatype.plexus.components.sec.dispatcher.DefaultSecDispatcher.decrypt(DefaultSecDispatcher.java:121)
> >
> > at
> >>
> org.apache.maven.settings.crypto.DefaultSettingsDecrypter.decrypt(DefaultSettingsDecrypter.java:106)
> >
> > at
> >>
> org.apache.maven.settings.crypto.DefaultSettingsDecrypter.decrypt(DefaultSettingsDecrypter.java:62)
> >
> > at
> org.apache.maven.DefaultMaven.newRepositorySession(DefaultMaven.java:367)
> >
> > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:202)
> >
> > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:151)
> >
> > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:445)
> >
> > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:168)
> >
> > at org.apache.maven.cli.MavenCli.main(MavenCli.java:132)
> >
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >
> > at
> >>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >
> > at
> >>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >
> > at java.lang.reflect.Method.invoke(Method.java:597)
> >
> > at
> >>
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
> >
> > at
> >>
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
> >
> > at
> >>
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
> >
> > at
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> >
> > Caused by:
> >> org.sonatype.plexus.components.sec.dispatcher.SecDispatcherException:
> >> java.io.FileNotFoundException: C:\Documents and
> >> Settings\cliffhill\.m2\settings-security.xml (The system cannot find the
> >> path specified)
> >
> >  at
> >>
> org.sonatype.plexus.components.sec.dispatcher.SecUtil.read(SecUtil.java:69)
> >
> > at
> >>
> org.sonatype.plexus.components.sec.dispatcher.DefaultSecDispatcher.getSec(DefaultSecDispatcher.java:206)
> >
> > at
> >>
> org.sonatype.plexus.components.sec.dispatcher.DefaultSecDispatcher.decrypt(DefaultSecDispatcher.java:90)
> >
> > ... 16 more
> >
> > Caused by: java.io.FileNotFoundException: C:\Documents and
> >> Settings\cliffhill\.m2\settings-security.xml (The system cannot find the
> >> path specified)
> >
> > at java.io.FileInputStream.open(Native Method)
> >
> > at java.io.FileInputStream.<init>(FileInputStream.java:106)
> >
> > at
> >>
> org.sonatype.plexus.components.sec.dispatcher.SecUtil.toStream(SecUtil.java:100)
> >
> > at
> >>
> org.sonatype.plexus.components.sec.dispatcher.SecUtil.read(SecUtil.java:56)
> >
> > ... 18 more
> >
> > [INFO] Scanning for projects...
> >
> > [DEBUG] org.apache.maven.wagon:wagon-scm:jar:1.0-beta-7:
> >
> > [DEBUG]    org.apache.maven.scm:maven-scm-api:jar:1.0:compile
> >
> > [DEBUG]       org.codehaus.plexus:plexus-utils:jar:1.4.2:compile (version
> >> managed from 1.1)
> >
> > [DEBUG]    org.apache.maven.scm:maven-scm-manager-plexus:jar:1.0:runtime
> >
> > [DEBUG]
> >> org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9:test (scope
> >> managed from compile)
> >
> > [DEBUG]          junit:junit:jar:3.8.1:test
> >
> > [DEBUG]          classworlds:classworlds:jar:1.1-alpha-2:test
> >
> > [DEBUG]
>  org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-7:compile
> >
> > [DEBUG] Created new class realm
> >> extension>org.apache.maven.wagon:wagon-scm:1.0-beta-7
> >
> > [DEBUG] Created new class realm maven.api
> >
> > [DEBUG] Populating class realm
> >> extension>org.apache.maven.wagon:wagon-scm:1.0-beta-7
> >
> > [DEBUG]   Included: org.apache.maven.wagon:wagon-scm:jar:1.0-beta-7
> >
> > [DEBUG]   Included: org.apache.maven.scm:maven-scm-api:jar:1.0
> >
> > [DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:1.4.2
> >
> > [DEBUG]   Included: org.apache.maven.scm:maven-scm-manager-plexus:jar:1.0
> >
> > [DEBUG] org.apache.maven.scm:maven-scm-manager-plexus:jar:1.4:
> >
> > [DEBUG]
> >>  org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9:compile
> >
> > [DEBUG]       junit:junit:jar:3.8.2:compile (version managed from 3.8.1)
> >
> > [DEBUG]       classworlds:classworlds:jar:1.1-alpha-2:compile
> >
> > [DEBUG]    org.apache.maven.scm:maven-scm-api:jar:1.4:compile
> >
> > [DEBUG]    org.codehaus.plexus:plexus-utils:jar:1.5.6:compile
> >
> > [DEBUG] Created new class realm
> >> extension>org.apache.maven.scm:maven-scm-manager-plexus:1.4
> >
> > [DEBUG] Populating class realm
> >> extension>org.apache.maven.scm:maven-scm-manager-plexus:1.4
> >
> > [DEBUG]   Included: org.apache.maven.scm:maven-scm-manager-plexus:jar:1.4
> >
> > [DEBUG]   Included: junit:junit:jar:3.8.2
> >
> > [DEBUG]   Included: org.apache.maven.scm:maven-scm-api:jar:1.4
> >
> > [DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:1.5.6
> >
> > [DEBUG] org.apache.maven.scm:maven-scm-provider-hg:jar:1.4:
> >
> > [DEBUG]    regexp:regexp:jar:1.3:compile
> >
> > [DEBUG]    org.apache.maven.scm:maven-scm-api:jar:1.4:compile
> >
> > [DEBUG]    org.codehaus.plexus:plexus-utils:jar:1.5.6:compile
> >
> > [DEBUG] Created new class realm
> >> extension>org.apache.maven.scm:maven-scm-provider-hg:1.4
> >
> > [DEBUG] Populating class realm
> >> extension>org.apache.maven.scm:maven-scm-provider-hg:1.4
> >
> > [DEBUG]   Included: org.apache.maven.scm:maven-scm-provider-hg:jar:1.4
> >
> > [DEBUG]   Included: regexp:regexp:jar:1.3
> >
> > [DEBUG]   Included: org.apache.maven.scm:maven-scm-api:jar:1.4
> >
> > [DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:1.5.6
> >
> > [DEBUG] Extension realms for project
> >> com.alexgorbatchev:gwt-syntaxhighlighter:jar:1.0.9-SNAPSHOT:
> >> [ClassRealm[extension>org.apache.maven.wagon:wagon-scm:1.0-beta-7,
> parent:
> >> ClassRealm[maven.api, parent: null]],
> >> ClassRealm[extension>org.apache.maven.scm:maven-scm-manager-plexus:1.4,
> >> parent: ClassRealm[maven.api, parent: null]],
> >> ClassRealm[extension>org.apache.maven.scm:maven-scm-provider-hg:1.4,
> parent:
> >> ClassRealm[maven.api, parent: null]]]
> >
> >  [DEBUG] Created new class realm
> >> project>com.alexgorbatchev:gwt-syntaxhighlighter:1.0.9-SNAPSHOT
> >
> > [DEBUG] Populating class realm
> >> project>com.alexgorbatchev:gwt-syntaxhighlighter:1.0.9-SNAPSHOT
> >
> > [DEBUG] Looking up lifecyle mappings for packaging jar from
> >>
> ClassRealm[project>com.alexgorbatchev:gwt-syntaxhighlighter:1.0.9-SNAPSHOT,
> >> parent: ClassRealm[maven.api, parent: null]]
> >
> > [DEBUG] Resolving plugin prefix site from [org.apache.maven.plugins,
> >> org.codehaus.mojo]
> >
> > [DEBUG] Resolved plugin prefix site to
> >> org.apache.maven.plugins:maven-site-plugin from POM
> >> com.alexgorbatchev:gwt-syntaxhighlighter:jar:1.0.9-SNAPSHOT
> >
> > [DEBUG] === REACTOR BUILD PLAN
> >> ================================================
> >
> > [DEBUG] Project:
> com.alexgorbatchev:gwt-syntaxhighlighter:jar:1.0.9-SNAPSHOT
> >
> > [DEBUG] Tasks:   [site:deploy]
> >
> > [DEBUG] Style:   Regular
> >
> > [DEBUG]
> >> =======================================================================
> >
> > [INFO]
> >>
> >
> > [INFO]
> >> ------------------------------------------------------------------------
> >
> > [INFO] Building gwt-syntaxhighlighter 1.0.9-SNAPSHOT
> >
> > [INFO]
> >> ------------------------------------------------------------------------
> >
> > [DEBUG] Resolving plugin prefix site from [org.apache.maven.plugins,
> >> org.codehaus.mojo]
> >
> > [DEBUG] Resolved plugin prefix site to
> >> org.apache.maven.plugins:maven-site-plugin from POM
> >> com.alexgorbatchev:gwt-syntaxhighlighter:jar:1.0.9-SNAPSHOT
> >
> > [DEBUG] Lifecycle default -> [validate, initialize, generate-sources,
> >> process-sources, generate-resources, process-resources, compile,
> >> process-classes, generate-test-sources, process-test-sources,
> >> generate-test-resources, process-test-resources, test-compile,
> >> process-test-classes, test, prepare-package, package,
> pre-integration-test,
> >> integration-test, post-integration-test, verify, install, deploy]
> >
> >  [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
> >
> > [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
> >
> > [DEBUG] === PROJECT BUILD PLAN
> >> ================================================
> >
> > [DEBUG] Project:
> >> com.alexgorbatchev:gwt-syntaxhighlighter:1.0.9-SNAPSHOT
> >
> > [DEBUG] Dependencies (collect): []
> >
> > [DEBUG] Dependencies (resolve): []
> >
> > [DEBUG]
> >> -----------------------------------------------------------------------
> >
> > [DEBUG] Goal:
>  org.apache.maven.plugins:maven-site-plugin:2.2:deploy
> >> (default-cli)
> >
> > [DEBUG] Style:         Regular
> >
> > [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
> >
> > <configuration>
> >
> >   <chmod default-value="true">${maven.site.chmod}</chmod>
> >
> >   <chmodMode
> default-value="g+w,a+rX">${maven.site.chmod.mode}</chmodMode>
> >
> >   <chmodOptions
> >> default-value="-Rf">${maven.site.chmod.options}</chmodOptions>
> >
> >
> <inputDirectory>E:\Documents\GoogleCode\gwt-syntaxhighlighter\target\site</inputDirectory>
> >
> >   <project>${project}</project>
> >
> >   <settings>${settings}</settings>
> >
> > </configuration>
> >
> > [DEBUG]
> >> =======================================================================
> >
> > [INFO]
> >
> > [INFO] --- maven-site-plugin:2.2:deploy (default-cli) @
> >> gwt-syntaxhighlighter ---
> >
> > [DEBUG] org.apache.maven.plugins:maven-site-plugin:jar:2.2:
> >
> > [DEBUG]    org.apache.maven.reporting:maven-reporting-api:jar:3.0:compile
> >
> > [DEBUG]    org.apache.maven:maven-artifact:jar:2.0.6:compile
> >
> > [DEBUG]    org.apache.maven:maven-artifact-manager:jar:2.0.6:compile
> >
> > [DEBUG]
> org.apache.maven:maven-repository-metadata:jar:2.0.6:compile
> >
> > [DEBUG]    org.apache.maven:maven-model:jar:2.0.6:compile
> >
> > [DEBUG]    org.apache.maven:maven-plugin-api:jar:2.0.6:compile
> >
> > [DEBUG]    org.apache.maven:maven-project:jar:2.0.6:compile
> >
> > [DEBUG]       org.apache.maven:maven-profile:jar:2.0.6:compile
> >
> > [DEBUG]       org.apache.maven:maven-plugin-registry:jar:2.0.6:compile
> >
> > [DEBUG]    org.apache.maven:maven-settings:jar:2.0.6:compile
> >
> > [DEBUG]    org.apache.maven.doxia:doxia-module-xhtml:jar:1.1.4:compile
> >
> > [DEBUG]       org.apache.maven.doxia:doxia-core:jar:1.1.4:compile
> >
> > [DEBUG]          xerces:xercesImpl:jar:2.9.1:compile
> >
> > [DEBUG]             xml-apis:xml-apis:jar:1.3.04:compile
> >
> > [DEBUG]          org.apache.httpcomponents:httpclient:jar:4.0.2:compile
> >
> > [DEBUG]             org.apache.httpcomponents:httpcore:jar:4.0.1:compile
> >
> > [DEBUG]             commons-logging:commons-logging:jar:1.1.1:compile
> >
> > [DEBUG]             commons-codec:commons-codec:jar:1.3:compile
> >
> > [DEBUG]    org.apache.maven.doxia:doxia-sink-api:jar:1.1.4:compile
> >
> > [DEBUG]    org.apache.maven.doxia:doxia-logging-api:jar:1.1.4:compile
> >
> > [DEBUG]    org.apache.maven.doxia:doxia-module-apt:jar:1.1.4:runtime
> >
> > [DEBUG]    org.apache.maven.doxia:doxia-module-xdoc:jar:1.1.4:compile
> >
> > [DEBUG]    org.apache.maven.doxia:doxia-module-fml:jar:1.1.4:runtime
> >
> > [DEBUG]
>  org.apache.maven.doxia:doxia-decoration-model:jar:1.1.4:compile
> >
> > [DEBUG]    org.apache.maven.doxia:doxia-site-renderer:jar:1.1.4:compile
> >
> > [DEBUG]       commons-collections:commons-collections:jar:3.2:compile
> >
> > [DEBUG]    org.apache.maven.shared:maven-doxia-tools:jar:1.3:compile
> >
> > [DEBUG]       commons-io:commons-io:jar:1.4:compile
> >
> > [DEBUG]
>  org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-4:compile
> >
> > [DEBUG]    org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-7:compile
> >
> > [DEBUG]
> >>  org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9:compile
> >
> > [DEBUG]       junit:junit:jar:3.8.1:compile
> >
> > [DEBUG]       classworlds:classworlds:jar:1.1-alpha-2:compile
> >
> > [DEBUG]    org.codehaus.plexus:plexus-i18n:jar:1.0-beta-7:compile
> >
> > [DEBUG]    org.codehaus.plexus:plexus-velocity:jar:1.1.8:compile
> >
> > [DEBUG]    org.codehaus.plexus:plexus-utils:jar:1.5.10:compile
> >
> > [DEBUG]    org.apache.velocity:velocity:jar:1.5:compile
> >
> > [DEBUG]       commons-lang:commons-lang:jar:2.1:compile
> >
> > [DEBUG]       oro:oro:jar:2.0.8:compile
> >
> > [DEBUG]    org.mortbay.jetty:jetty:jar:6.1.5:compile
> >
> > [DEBUG]       org.mortbay.jetty:jetty-util:jar:6.1.5:compile
> >
> > [DEBUG]       org.mortbay.jetty:servlet-api-2.5:jar:6.1.5:compile
> >
> > [DEBUG] Created new class realm
> >> plugin>org.apache.maven.plugins:maven-site-plugin:2.2
> >
> > [DEBUG] Populating class realm
> >> plugin>org.apache.maven.plugins:maven-site-plugin:2.2
> >
> > [DEBUG]   Included: org.apache.maven.plugins:maven-site-plugin:jar:2.2
> >
> > [DEBUG]   Included:
> org.apache.maven.reporting:maven-reporting-api:jar:3.0
> >
> > [DEBUG]   Included: org.apache.maven.doxia:doxia-module-xhtml:jar:1.1.4
> >
> > [DEBUG]   Included: org.apache.maven.doxia:doxia-core:jar:1.1.4
> >
> > [DEBUG]   Included: xerces:xercesImpl:jar:2.9.1
> >
> > [DEBUG]   Included: xml-apis:xml-apis:jar:1.3.04
> >
> > [DEBUG]   Included: org.apache.httpcomponents:httpclient:jar:4.0.2
> >
> > [DEBUG]   Included: org.apache.httpcomponents:httpcore:jar:4.0.1
> >
> > [DEBUG]   Included: commons-logging:commons-logging:jar:1.1.1
> >
> > [DEBUG]   Included: commons-codec:commons-codec:jar:1.3
> >
> > [DEBUG]   Included: org.apache.maven.doxia:doxia-sink-api:jar:1.1.4
> >
> > [DEBUG]   Included: org.apache.maven.doxia:doxia-logging-api:jar:1.1.4
> >
> > [DEBUG]   Included: org.apache.maven.doxia:doxia-module-apt:jar:1.1.4
> >
> > [DEBUG]   Included: org.apache.maven.doxia:doxia-module-xdoc:jar:1.1.4
> >
> > [DEBUG]   Included: org.apache.maven.doxia:doxia-module-fml:jar:1.1.4
> >
> > [DEBUG]   Included:
> org.apache.maven.doxia:doxia-decoration-model:jar:1.1.4
> >
> > [DEBUG]   Included: org.apache.maven.doxia:doxia-site-renderer:jar:1.1.4
> >
> > [DEBUG]   Included: commons-collections:commons-collections:jar:3.2
> >
> > [DEBUG]   Included: org.apache.maven.shared:maven-doxia-tools:jar:1.3
> >
> > [DEBUG]   Included: commons-io:commons-io:jar:1.4
> >
> > [DEBUG]   Included: org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-7
> >
> > [DEBUG]   Included: junit:junit:jar:3.8.1
> >
> > [DEBUG]   Included: org.codehaus.plexus:plexus-i18n:jar:1.0-beta-7
> >
> > [DEBUG]   Included: org.codehaus.plexus:plexus-velocity:jar:1.1.8
> >
> > [DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:1.5.10
> >
> > [DEBUG]   Included: org.apache.velocity:velocity:jar:1.5
> >
> > [DEBUG]   Included: commons-lang:commons-lang:jar:2.1
> >
> > [DEBUG]   Included: oro:oro:jar:2.0.8
> >
> > [DEBUG]   Included: org.mortbay.jetty:jetty:jar:6.1.5
> >
> > [DEBUG]   Included: org.mortbay.jetty:jetty-util:jar:6.1.5
> >
> > [DEBUG]   Included: org.mortbay.jetty:servlet-api-2.5:jar:6.1.5
> >
> > [DEBUG]   Excluded: org.apache.maven:maven-artifact:jar:2.0.6
> >
> > [DEBUG]   Excluded: org.apache.maven:maven-artifact-manager:jar:2.0.6
> >
> > [DEBUG]   Excluded: org.apache.maven:maven-repository-metadata:jar:2.0.6
> >
> > [DEBUG]   Excluded: org.apache.maven:maven-model:jar:2.0.6
> >
> > [DEBUG]   Excluded: org.apache.maven:maven-plugin-api:jar:2.0.6
> >
> > [DEBUG]   Excluded: org.apache.maven:maven-project:jar:2.0.6
> >
> > [DEBUG]   Excluded: org.apache.maven:maven-profile:jar:2.0.6
> >
> > [DEBUG]   Excluded: org.apache.maven:maven-plugin-registry:jar:2.0.6
> >
> > [DEBUG]   Excluded: org.apache.maven:maven-settings:jar:2.0.6
> >
> > [DEBUG]   Excluded:
> org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-4
> >
> > [DEBUG]   Excluded:
> >> org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9
> >
> > [DEBUG]   Excluded: classworlds:classworlds:jar:1.1-alpha-2
> >
> > [DEBUG] Configuring mojo
> >> org.apache.maven.plugins:maven-site-plugin:2.2:deploy from plugin realm
> >> ClassRealm[plugin>org.apache.maven.plugins:maven-site-plugin:2.2,
> parent:
> >>
> ClassRealm[project>com.alexgorbatchev:gwt-syntaxhighlighter:1.0.9-SNAPSHOT,
> >> parent: ClassRealm[maven.api, parent: null]]]
> >
> >  [DEBUG] Configuring mojo
> >> 'org.apache.maven.plugins:maven-site-plugin:2.2:deploy' with basic
> >> configurator -->
> >
> > [DEBUG]   (f) chmod = true
> >
> > [DEBUG]   (f) chmodMode = g+w,a+rX
> >
> > [DEBUG]   (f) chmodOptions = -Rf
> >
> > [DEBUG]   (f) inputDirectory =
> >> E:\Documents\GoogleCode\gwt-syntaxhighlighter\target\site
> >
> > [DEBUG]   (f) project = MavenProject:
> >> com.alexgorbatchev:gwt-syntaxhighlighter:1.0.9-SNAPSHOT @
> >> E:\Documents\GoogleCode\gwt-syntaxhighlighter\pom.xml
> >
> > [DEBUG]   (f) settings =
> org.apache.maven.execution.SettingsAdapter@1f8247d
> >
> > [DEBUG] -- end configuration --
> >
> > [DEBUG] The site will be deployed to 'scm:hg:
> >> https://site.gwt-syntaxhighlighter.googlecode.com/hg'
> >
> > [WARNING] No SCM providers configured.
> >
> > scm:hg:https://site.gwt-syntaxhighlighter.googlecode.com/hg - Session:
> >> Opened
> >
> >  Transfer error: org.apache.maven.scm.manager.NoSuchScmProviderException:
> No
> >> such provider: 'hg'.
> >
> > scm:hg:https://site.gwt-syntaxhighlighter.googlecode.com/hg - Session:
> >> Disconnecting
> >
> > scm:hg:https://site.gwt-syntaxhighlighter.googlecode.com/hg - Session:
> >> Disconnected
> >
> > [INFO]
> >> ------------------------------------------------------------------------
> >
> > [INFO] BUILD FAILURE
> >
> > [INFO]
> >> ------------------------------------------------------------------------
> >
> > [INFO] Total time: 1.235s
> >
> > [INFO] Finished at: Mon Nov 29 15:01:02 PST 2010
> >
> > [INFO] Final Memory: 4M/15M
> >
> > [INFO]
> >> ------------------------------------------------------------------------
> >
> > [ERROR] Failed to execute goal
> >> org.apache.maven.plugins:maven-site-plugin:2.2:deploy (default-cli) on
> >> project gwt-syntaxhighlighter: Error uploading site: Error interacting
> with
> >> SCM: No such provider: 'hg'. -> [Help 1]
> >
> >  org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
> execute
> >> goal org.apache.maven.plugins:maven-site-plugin:2.2:deploy (default-cli)
> on
> >> project gwt-syntaxhighlighter: Error uploading site
> >
> > at
> >>
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:203)
> >
> > at
> >>
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
> >
> > at
> >>
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:140)
> >
> > at
> >>
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
> >
> > at
> >>
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
> >
> > at
> >>
> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
> >
> > at
> >>
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
> >
> > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:314)
> >
> > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:151)
> >
> > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:445)
> >
> > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:168)
> >
> > at org.apache.maven.cli.MavenCli.main(MavenCli.java:132)
> >
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >
> > at
> >>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >
> > at
> >>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >
> > at java.lang.reflect.Method.invoke(Method.java:597)
> >
> > at
> >>
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
> >
> > at
> >>
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
> >
> > at
> >>
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
> >
> > at
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> >
> > Caused by: org.apache.maven.plugin.MojoExecutionException: Error
> uploading
> >> site
> >
> > at
> >>
> org.apache.maven.plugins.site.SiteDeployMojo.execute(SiteDeployMojo.java:229)
> >
> > at
> >>
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:107)
> >
> > at
> >>
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:195)
> >
> > ... 19 more
> >
> > Caused by: org.apache.maven.wagon.TransferFailedException: Error
> interacting
> >> with SCM: No such provider: 'hg'.
> >
> > at
> >>
> org.apache.maven.wagon.providers.scm.ScmWagon.putInternal(ScmWagon.java:329)
> >
> > at
> >>
> org.apache.maven.wagon.providers.scm.ScmWagon.putDirectory(ScmWagon.java:512)
> >
> > at
> >>
> org.apache.maven.plugins.site.SiteDeployMojo.execute(SiteDeployMojo.java:215)
> >
> > ... 21 more
> >
> > Caused by: org.apache.maven.scm.manager.NoSuchScmProviderException: No
> such
> >> provider: 'hg'.
> >
> > at
> >>
> org.apache.maven.scm.manager.AbstractScmManager.getProviderByType(AbstractScmManager.java:155)
> >
> > at
> >>
> org.apache.maven.scm.manager.AbstractScmManager.makeScmRepository(AbstractScmManager.java:183)
> >
> > at
> >>
> org.apache.maven.wagon.providers.scm.ScmWagon.getScmRepository(ScmWagon.java:217)
> >
> > at
> >>
> org.apache.maven.wagon.providers.scm.ScmWagon.putInternal(ScmWagon.java:275)
> >
> > ... 23 more
> >
> > [ERROR]
> >
> > [ERROR]
> >
> > [ERROR] For more information about the errors and possible solutions,
> please
> >> read the following articles:
> >
> > [ERROR] [Help 1]
> >> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> >
> > *
> > *
> > *The part that interests me is this: *
> > *Error interacting with SCM: No such provider: 'hg'.*
> > *
> > *
> > *And then near the top, this:*
> > *[WARNING] No SCM providers configured.*
> > *
> > *
> > *This is strange to me, because as far as I know, I've defined the
> provider
> > to be used in my POM. Could someone please shed some light on this for
> me?*
> > *
> > *
>
>
> --
> Dennis Lundberg
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>


--
"I'm not responcabel fer my computer's spleling errnors" - Xlorep DarkHelm
Website: http://darkhelm.org
Loading...