On Mon, Jul 7, 2008 at 1:39 PM, Paul Sundling <[EMAIL PROTECTED]> wrote:
> Sounds more like an ssh configuration problem.  I bet it's been a long time
> since the last update.

it probably is just an ssh config issue of some sort, but it's just
the symptom of the larger problem: dependence on a very customized
maven build that is so fragile it only "reliably" works from a custom,
specialized maven installation Henning setup on
velocity.zones.apache.org that must be invoked from a set of shells
scripts after a "newgrp velocity" command with ssh all properly
configured everywhere.

it's a beast.  and it makes me grumpy every time i try to use it.

> I know general Maven pretty well, but I haven't done much advanced site
> stuff, mostly configuring reports.  I'll try it locally sometime later in
> the week.  Maven 2 keeps getting better, so one of my first questions would
> be what version are you using on the server?

that would be quite welcome!  i believe the maven build on
velocity.zones.apache.org is 2.0.6, but i also believe it is a custom
build, not the standard distribution.  if you search the archives for
this list, you can probably learn a lot of things that would help.

> Paul Sundling
>
> On Mon, 7 Jul 2008, Nathan Bubna wrote:
>
>> Ok, in a fit of procrastinating what i should really work on this
>> morning, i thought i'd try and do a quick update of the site to show
>> the Tools 2.0-beta1 release, and thus ensure i can update the site on
>> my new laptop, prior to finalizing (hopefully) the 2.0-beta2 release.
>> Unfortunately, i can't build the site tools.  It looks like the
>> velocity-site-news plugin is not keeping pace with plexus:
>>
>> ...
>>
>> C:\java\apache\velocity\site\tools\velocity-site-news-plugin\target\generated-sources\modello\org\apache\velocity\site\news\model\
>> io\xpp3\NewsXpp3Reader.java:[18,31] cannot find symbol
>> symbol  : class ReaderFactory
>> location: package org.codehaus.plexus.util
>> ...
>>
>> now, this was just a matter of telling the pom to use some older
>> version of plexus and in theory i shouldn't even need to have to site
>> stuff all working on my computer, but i feel better about checking
>> stuff in if i can try it locally.   so, i tweaked the
>> velocity-site-news-plugin pom, got the site tools to all build and was
>> able to go to the site directory and run the site target successfully.
>> but then, the site:run target failed.  frustrated i decided to go
>> ahead and check in my changes and just try building and deploying the
>> site from velocity.zones.apache.org.   I followed the instructions and
>> all seemed to go well until the build_velocity_site.sh script failed
>> when trying to actually deploy the updated site:
>>
>> [INFO] [site:deploy]
>> scpexe://people.apache.org/www/velocity.apache.org - Session: Opened
>> Using private key: /export/home/velocity/.ssh/id_rsa
>> Executing command: /bin/bash -c 'ssh -i
>> /export/home/velocity/.ssh/id_rsa -o "BatchMode yes"
>> [EMAIL PROTECTED] "mkdir -p /w
>> ww/velocity.apache.org/."'
>>
>> Permission denied (publickey,keyboard-interactive).
>>
>> scpexe://people.apache.org/www/velocity.apache.org - Session:
>> Disconnecting
>> scpexe://people.apache.org/www/velocity.apache.org - Session: Disconnected
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] BUILD ERROR
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Error uploading site
>>
>> Embedded error: Error performing commands for file transfer
>> Exit code 255 - Permission denied (publickey,keyboard-interactive).
>>
>>
>> this is far from the first time i've seen this.  in fact, i recall
>> spending much time fighting this same error in the past.  i can't even
>> remember if i succeeded though.   either way, i'm sick of the maven
>> site building headaches.  what should be a fairly simple task has been
>> an ordeal *for YEARS now*!  the current process is brittle, unwieldy
>> and worst of all, unmaintained.  in contrast, there is the site
>> process for VelocityTools:
>>
>> - uses DVSL (VTL-based, encourages DVSL maintenance)
>> - deploy process is just:
>>  ant publish.docs
>>  ssh <user>@people.apache.org
>>   cd /www/velocity.apache.org/tools/devel (or release/<ver>)
>>   unzip -o ../docs.zip
>> - and it works!  no headaches!
>>
>> it's simple, low-maintenance, and doesn't make me want to throw
>> things.  granted, it may not have all the snazzy features Maven
>> provides, but we're barely taking advantage of them anyway.   so,
>> consider this my warning that i intend to ditch this whole
>> velocity-site thing.  if any of you think this is a bad idea, by all
>> means, please step up and maintain the velocity-site mess.  i don't
>> think anything less than that will change my mind, and it's doubtful
>> whether even that would change it for long.   i'm not sure when i'll
>> get to making the change; i've little doubt that it will be more work
>> than i imagine (especially figuring out what to do with those APT
>> files); and i'm sure it won't be fun.  but consider this my notice
>> that i will no longer waste my time with this convoluted,
>> temperamental  Maven-crazy velocity-site stuff.
>>
>> p.s. help is welcome, and no one is allowed to complain about the lack
>> of site updates unless they help, one way or another. ;-)
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to