You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Orford, Ian" <Ia...@dkib.com> on 2007/08/22 12:49:21 UTC

M2: Question about site:deploy

Hopefully this is a newbie question.

I've deployed site docs before, but only to local file systems using
<url>file://host/directory</url>

I think I did that because I couldn't get scp working.

Now, trying to site:deploy remotely using
<url>scp://host/directory</url>, I get the following.

Any suggestions appreciated.
Thanks, Ian

[INFO] [site:deploy]
scp://ln7d3185apx/opt/DKWcpds/build/efred/m2_docs - Session:
Disconnecting
scp://ln7d3185apx/opt/DKWcpds/build/efred/m2_docs - Session:
Disconnected
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] 2
[INFO]
------------------------------------------------------------------------
[INFO] Trace
java.lang.ArrayIndexOutOfBoundsException: 2
        at com.jcraft.jsch.Util.toBase64(Unknown Source)
        at com.jcraft.jsch.ProxyHTTP.connect(Unknown Source)
        at com.jcraft.jsch.Session.connect(Unknown Source)
        at com.jcraft.jsch.Session.connect(Unknown Source)
        at
org.apache.maven.wagon.providers.ssh.jsch.AbstractJschWagon.openConnecti
on(AbstractJschWagon.java:158)
        at
org.apache.maven.wagon.AbstractWagon.connect(AbstractWagon.java:143)
        at
org.apache.maven.plugins.site.SiteDeployMojo.execute(SiteDeployMojo.java
:149)
        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa
nager.java:443)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
LifecycleExecutor.java:539)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoa
l(DefaultLifecycleExecutor.java:493)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL
ifecycleExecutor.java:463)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle
Failures(DefaultLifecycleExecutor.java:311)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:278)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec
ycleExecutor.java:143)
        at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 3 seconds
[INFO] Finished at: Wed Aug 22 11:32:47 BST 2007
[INFO] Final Memory: 3M/8M
[INFO]
------------------------------------------------------------------------


--
This e-mail is confidential and the information contained in it may be privileged.  It should not be read, copied or used by anyone other than the intended recipient.  If you have received it in error, please contact the sender immediately by telephoning +44 (0)20 7623 8000 or by return email, and delete the e-mail and do not disclose its contents to any person.  We believe, but do not warrant, that this e-mail and any attachments are virus free, but you must take full responsibility for virus checking.  Please refer to http://www.dresdnerkleinwort.com/disc/email/ and read our e-mail disclaimer statement and monitoring policy.

Dresdner Kleinwort is the trading name of the investment banking division of Dresdner Bank AG, and operates through Dresdner Bank AG, Dresdner Kleinwort Limited, Dresdner Kleinwort Securities Limited and their affiliated or associated companies.  Dresdner Bank AG is a company incorporated in Germany with limited liability and registered in England (registered no. FC007638, place of business 30 Gresham Street, London EC2V 7PG), and is authorised by the German Federal Financial Supervisory Authority and by the Financial Services Authority ('FSA') and regulated by the FSA for the conduct of designated business in the UK.  Dresdner Kleinwort Limited is a company incorporated in England (registered no. 551334, registered office 30 Gresham Street, London EC2V 7PG), and is authorised and regulated by the FSA.  Dresdner Kleinwort Securities Limited is a company incorporated in England (registered no. 1767419, registered office 30 Gresham Street, London EC2V 7PG), and is authorised and regulated by the FSA.


Re: M2: Question about site:deploy

Posted by Mick Knutson <mi...@gmail.com>.
Here is mine:

        <scm.connection
>scm:local|C:/viewstore/esp_lynx_dap/esp</scm.connection>
        <scm.url>scm:local|C:/viewstore/esp_lynx_dap/esp</scm.url>
        <!--
        Seems as though there are some instances that will use
        the '|' character instead of the ':' as a delimiter.

        <svn.url>scm|svn|http://prodeng/svn/delta</svn.url>
        -->
        <scm.username>username1</scm.username>
        <scm.password>password1</scm.password>





On 8/22/07, Orford, Ian <Ia...@dkib.com> wrote:
>
> Do you mean scm? Or scp? I guess you mean a scp password for the target
> host.
>
> Well, not sure I did it right, but I put a <server/> section in my
> settings.xml file with the id of the target hostname.
> Either way, it didn't make any difference.
>
> Ian
>
> > -----Original Message-----
> > From: Mick Knutson [mailto:mickknutson@gmail.com]
> > Sent: 22 August 2007 16:10
> > To: Maven Users List
> > Subject: Re: M2: Question about site:deploy
> >
> > What about your scm username and password?
> > Where did you configure that?
> >
> >
>
>
> --
> This e-mail is confidential and the information contained in it may be
> privileged.  It should not be read, copied or used by anyone other than the
> intended recipient.  If you have received it in error, please contact the
> sender immediately by telephoning +44 (0)20 7623 8000 or by return email,
> and delete the e-mail and do not disclose its contents to any person.  We
> believe, but do not warrant, that this e-mail and any attachments are virus
> free, but you must take full responsibility for virus checking.  Please
> refer to http://www.dresdnerkleinwort.com/disc/email/ and read our e-mail
> disclaimer statement and monitoring policy.
>
> Dresdner Kleinwort is the trading name of the investment banking division
> of Dresdner Bank AG, and operates through Dresdner Bank AG, Dresdner
> Kleinwort Limited, Dresdner Kleinwort Securities Limited and their
> affiliated or associated companies.  Dresdner Bank AG is a company
> incorporated in Germany with limited liability and registered in England
> (registered no. FC007638, place of business 30 Gresham Street, London EC2V
> 7PG), and is authorised by the German Federal Financial Supervisory
> Authority and by the Financial Services Authority ('FSA') and regulated by
> the FSA for the conduct of designated business in the UK.  Dresdner
> Kleinwort Limited is a company incorporated in England (registered no.
> 551334, registered office 30 Gresham Street, London EC2V 7PG), and is
> authorised and regulated by the FSA.  Dresdner Kleinwort Securities Limited
> is a company incorporated in England (registered no. 1767419, registered
> office 30 Gresham Street, London EC2V 7PG), and is authorised and regulated
> by the FSA.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


-- 

Thanks,
Mick Knutson

http://www.baselogic.com
http://www.blincmagazine.com
http://www.djmick.com
http://www.myspace.com/mickknutson
http://www.myspace.com/djmick_dot_com
http://www.myspace.com/sexybeotches
http://www.thumpradio.com
---

RE: M2: Question about site:deploy

Posted by "Orford, Ian" <Ia...@dkib.com>.
Do you mean scm? Or scp? I guess you mean a scp password for the target
host.

Well, not sure I did it right, but I put a <server/> section in my
settings.xml file with the id of the target hostname.
Either way, it didn't make any difference.

Ian

> -----Original Message-----
> From: Mick Knutson [mailto:mickknutson@gmail.com] 
> Sent: 22 August 2007 16:10
> To: Maven Users List
> Subject: Re: M2: Question about site:deploy
> 
> What about your scm username and password?
> Where did you configure that?
> 
> 


--
This e-mail is confidential and the information contained in it may be privileged.  It should not be read, copied or used by anyone other than the intended recipient.  If you have received it in error, please contact the sender immediately by telephoning +44 (0)20 7623 8000 or by return email, and delete the e-mail and do not disclose its contents to any person.  We believe, but do not warrant, that this e-mail and any attachments are virus free, but you must take full responsibility for virus checking.  Please refer to http://www.dresdnerkleinwort.com/disc/email/ and read our e-mail disclaimer statement and monitoring policy.

Dresdner Kleinwort is the trading name of the investment banking division of Dresdner Bank AG, and operates through Dresdner Bank AG, Dresdner Kleinwort Limited, Dresdner Kleinwort Securities Limited and their affiliated or associated companies.  Dresdner Bank AG is a company incorporated in Germany with limited liability and registered in England (registered no. FC007638, place of business 30 Gresham Street, London EC2V 7PG), and is authorised by the German Federal Financial Supervisory Authority and by the Financial Services Authority ('FSA') and regulated by the FSA for the conduct of designated business in the UK.  Dresdner Kleinwort Limited is a company incorporated in England (registered no. 551334, registered office 30 Gresham Street, London EC2V 7PG), and is authorised and regulated by the FSA.  Dresdner Kleinwort Securities Limited is a company incorporated in England (registered no. 1767419, registered office 30 Gresham Street, London EC2V 7PG), and is authorised and regulated by the FSA.


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


Re: M2: Question about site:deploy

Posted by Mick Knutson <mi...@gmail.com>.
What about your scm username and password?
Where did you configure that?



On 8/22/07, Orford, Ian <Ia...@dkib.com> wrote:
>
> Hopefully this is a newbie question.
>
> I've deployed site docs before, but only to local file systems using
> <url>file://host/directory</url>
>
> I think I did that because I couldn't get scp working.
>
> Now, trying to site:deploy remotely using
> <url>scp://host/directory</url>, I get the following.
>
> Any suggestions appreciated.
> Thanks, Ian
>
> [INFO] [site:deploy]
> scp://ln7d3185apx/opt/DKWcpds/build/efred/m2_docs - Session:
> Disconnecting
> scp://ln7d3185apx/opt/DKWcpds/build/efred/m2_docs - Session:
> Disconnected
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] 2
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.ArrayIndexOutOfBoundsException: 2
>         at com.jcraft.jsch.Util.toBase64(Unknown Source)
>         at com.jcraft.jsch.ProxyHTTP.connect(Unknown Source)
>         at com.jcraft.jsch.Session.connect(Unknown Source)
>         at com.jcraft.jsch.Session.connect(Unknown Source)
>         at
> org.apache.maven.wagon.providers.ssh.jsch.AbstractJschWagon.openConnecti
> on(AbstractJschWagon.java:158)
>         at
> org.apache.maven.wagon.AbstractWagon.connect(AbstractWagon.java:143)
>         at
> org.apache.maven.plugins.site.SiteDeployMojo.execute(SiteDeployMojo.java
> :149)
>         at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa
> nager.java:443)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
> LifecycleExecutor.java:539)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoa
> l(DefaultLifecycleExecutor.java:493)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL
> ifecycleExecutor.java:463)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle
> Failures(DefaultLifecycleExecutor.java:311)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
> DefaultLifecycleExecutor.java:278)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec
> ycleExecutor.java:143)
>         at
> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
> a:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> Impl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at
> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 3 seconds
> [INFO] Finished at: Wed Aug 22 11:32:47 BST 2007
> [INFO] Final Memory: 3M/8M
> [INFO]
> ------------------------------------------------------------------------
>
>
> --
> This e-mail is confidential and the information contained in it may be
> privileged.  It should not be read, copied or used by anyone other than the
> intended recipient.  If you have received it in error, please contact the
> sender immediately by telephoning +44 (0)20 7623 8000 or by return email,
> and delete the e-mail and do not disclose its contents to any person.  We
> believe, but do not warrant, that this e-mail and any attachments are virus
> free, but you must take full responsibility for virus checking.  Please
> refer to http://www.dresdnerkleinwort.com/disc/email/ and read our e-mail
> disclaimer statement and monitoring policy.
>
> Dresdner Kleinwort is the trading name of the investment banking division
> of Dresdner Bank AG, and operates through Dresdner Bank AG, Dresdner
> Kleinwort Limited, Dresdner Kleinwort Securities Limited and their
> affiliated or associated companies.  Dresdner Bank AG is a company
> incorporated in Germany with limited liability and registered in England
> (registered no. FC007638, place of business 30 Gresham Street, London EC2V
> 7PG), and is authorised by the German Federal Financial Supervisory
> Authority and by the Financial Services Authority ('FSA') and regulated by
> the FSA for the conduct of designated business in the UK.  Dresdner
> Kleinwort Limited is a company incorporated in England (registered no.
> 551334, registered office 30 Gresham Street, London EC2V 7PG), and is
> authorised and regulated by the FSA.  Dresdner Kleinwort Securities Limited
> is a company incorporated in England (registered no. 1767419, registered
> office 30 Gresham Street, London EC2V 7PG), and is authorised and regulated
> by the FSA.
>
>


-- 

Thanks,
Mick Knutson

http://www.baselogic.com
http://www.blincmagazine.com
http://www.djmick.com
http://www.myspace.com/mickknutson
http://www.myspace.com/djmick_dot_com
http://www.myspace.com/sexybeotches
http://www.thumpradio.com
---