Re: Wagon-SCM, and Mercurial... Help?
*Thanks, I already figured that part out and have since updated it :) * On Tue, Nov 30, 2010 at 12:22 PM, Dennis Lundberg 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:* > > * > > * > > ... > > > > ... > > > > googlecode > > gwt-syntaxhighlighter Site > > scm:hg:https://site.gwt-syntaxhighlighter.googlecode.com/hg > > > > ... > > > > > > ... > > > > > > ... > > 1.0-beta-7 > > 1.4 > > > > > > ... > > > > > > ,,, > > > > > > > > > > org.apache.maven.wagon > > wagon-scm > > ${wagonVersion} > > > > > > org.apache.maven.scm > > maven-scm-manager-plexus > > ${scmVersion} > > > > > > org.apache.maven.scm > > maven-scm-provider-hg > > ${scmVersion} > > > > > > > > > > ... > > > > > > org.apache.maven.plugins > > maven-site-plugin > > 2.2 > > > > > > ... > > > > > > org.apache.maven.plugins > > maven-scm-plugin > > ${scmVersion} > > > > > > ... > > > > > > org.apache.maven.plugins > > maven-release-plugin > > 2.1 > > > > release > > > > > > > > > > ... > > * > > * > > *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.Metho
Wagon-SCM, and Mercurial... Help?
*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:* * * ... ... googlecode gwt-syntaxhighlighter Site scm:hg:https://site.gwt-syntaxhighlighter.googlecode.com/hg ... ... ... 1.0-beta-7 1.4 ... ,,, org.apache.maven.wagon wagon-scm ${wagonVersion} org.apache.maven.scm maven-scm-manager-plexus ${scmVersion} org.apache.maven.scm maven-scm-provider-hg ${scmVersion} ... org.apache.maven.plugins maven-site-plugin 2.2 ... org.apache.maven.plugins maven-scm-plugin ${scmVersion} ... org.apache.maven.plugins maven-release-plugin 2.1 release ... * * *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.(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.