I get exactly the same error when I run site:site and I'm running on the Mac OS X platform, and it seemed including a site.xml file didn't cause any extra content to be generated.

Also the site:deploy goal fails for me. It did manage to zip up the site directory, as I stopped it at the correct moment and examined the contents. However it appears that the scp stage failed, as I ended up with a zip file on the server that unzipped to no contents.

I notice there is an unusual -t switch on the scp - anybody know what that's for?


On 1 Sep 2005, at 19:39, Jesse McConnell wrote:

do you have

<distributionManagement>
<site>
<id>site</id>
<name>Gallup Plugins</name>
<url>scp://host/devel/websites/site</url>
</site>
</distributionManagement>

specified in a pom and the corresponding info in a setting.xml in your .m2
directory?


On 9/1/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:


Hi All,

I'm trying to generate a site from an installed/deployable application,
and receive the following:

[INFO]
--------------------------------------------------------------------- -------
[INFO] Building Maven Quick Start Archetype
[INFO]
--------------------------------------------------------------------- -------
[INFO] maven-site-plugin: resolved to version 2.0-alpha-2 from local
repository
[INFO] Setting property: classpath.resource.loader.class => '
org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] **************************************************************
[INFO] Starting Jakarta Velocity v1.4
[INFO] RuntimeInstance initializing.
[INFO] Default Properties File:
org\apache\velocity\runtime\defaults\velocity.properties
[INFO] Default ResourceManager initializing. (class
org.apache.velocity.runtime.resource.ResourceManagerImpl)
[INFO] Resource Loader Instantiated:
org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader
[INFO] ClasspathResourceLoader : initialization starting.
[INFO] ClasspathResourceLoader : initialization complete.
[INFO] ResourceCache : initialized. (class
org.apache.velocity.runtime.resource.ResourceCacheImpl)
[INFO] Default ResourceManager initialization complete.
[INFO] Loaded System Directive:
org.apache.velocity.runtime.directive.Literal
[INFO] Loaded System Directive:
org.apache.velocity.runtime.directive.Macro
[INFO] Loaded System Directive:
org.apache.velocity.runtime.directive.Parse
[INFO] Loaded System Directive:
org.apache.velocity.runtime.directive.Include
[INFO] Loaded System Directive:
org.apache.velocity.runtime.directive.Foreach
[INFO] Created: 20 parsers.
[INFO] Velocimacro : initialization starting.
[INFO] Velocimacro : adding VMs from VM library template :
VM_global_library.vm
[ERROR] ResourceManager : unable to find resource 'VM_global_library.vm'
in any resource loader.
[INFO] Velocimacro : error using VM library template VM_global_library.vm : org.apache.velocity.exception.ResourceNotFoundException: Unable to find
resource 'VM_global_library.vm'
[INFO] Velocimacro : VM library template macro registration complete.
[INFO] Velocimacro : allowInline = true : VMs can be defined inline in
templates
[INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline
may NOT replace previous VM definitions
[INFO] Velocimacro : allowInlineLocal = false : VMs defined inline will be
global in scope if allowed.
[INFO] Velocimacro : messages on : VM system will output logging messages
[INFO] Velocimacro : autoload off : VM system will not automatically
reload global library macros
[INFO] Velocimacro : initialization complete.
[INFO] Velocity successfully started.
[INFO] [site:site]
[INFO]
--------------------------------------------------------------------- -------
[INFO] BUILD SUCCESSFUL
[INFO]
--------------------------------------------------------------------- -------
[INFO] Total time: 1 second
[INFO] Finished at: Thu Sep 01 10:48:15 PDT 2005
[INFO] Final Memory: 3M/7M
[INFO]
--------------------------------------------------------------------- -------

Additionally, I've installed a site.xml and created subdirectories/ content
for xdoc and apt.
An executed "m2 site:deploy" successfully deploys my application but no
generated site.
Lastly, my platform is Win2k, although I've also verified the problem on
RHEL3.

Are there any thoughts/ideas regarding what's going wrong?

Thanks for any assistance

John

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





--
jesse mcconnell



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

Reply via email to