You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Graham Triggs (JIRA)" <ji...@codehaus.org> on 2006/03/13 15:53:30 UTC

[jira] Reopened: (MSITE-102) SCM files in src/site directory cause 'mvn site' to fail - need to exclude files

     [ http://jira.codehaus.org/browse/MSITE-102?page=all ]
     
Graham Triggs reopened MSITE-102:
---------------------------------


If this is fixed, then can someone point me in the direction of how to actually make it work please!!!

I've been struggling with this for three days, searched through the issues, and Googled as much as possible, and tried every solution (and variation of solution) that I can come across, and I am STILL having this problem.

And yes, I am using the latest version of Maven (2.0.2)

> SCM files in src/site directory cause 'mvn site' to fail - need to exclude files
> --------------------------------------------------------------------------------
>
>          Key: MSITE-102
>          URL: http://jira.codehaus.org/browse/MSITE-102
>      Project: Maven 2.x Site Plugin
>         Type: Bug

>     Versions: 2.0-beta-4
>  Environment: Windows XP Professional, Sun JDK 1.5.0_06, Maven 2.0.2
>     Reporter: Graham Triggs
>     Assignee: Emmanuel Venisse
>      Fix For: 2.0

>
>
> Our SCM solution (Surround SCM) places .MySCMServerInfo files in each directory. For a site archetype (and possibly others), issuing a 'mvn site' after checking the project into SCM causes the error below to be generated. Need a way of excluding .MySCMServerInfo files from the site generator (or possibly ideally, restricting the document transformer to recognised file extensions).
> [INFO] Scanning for projects...
> [INFO] Reactor build order:
> [INFO]   BMc Java Development
> [INFO]   Maven Webapp Archetype
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building BMc Java Development
> [INFO]    task-segment: [site]
> [INFO] ----------------------------------------------------------------------------
> [INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextCla
> ssLoaderResourceLoader'.
> [INFO] Setting property: velocimacro.messages.on => 'false'.
> [INFO] Setting property: resource.loader => 'classpath'.
> [INFO] Setting property: resource.manager.logwhenfound => 'false'.
> [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.ResourceMan
> agerImpl)
> [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.exc
> eption.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 allow
> ed.
> [INFO] Velocimacro : initialization complete.
> [INFO] Velocity successfully started.
> [INFO] [site:site]
> [INFO] ----------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ----------------------------------------------------------------------------
> [INFO] Some files are duplicates in the site directory or in the generated-site directory.
> Review the following files for the "English" version:
>         apt\.MySCMServerInfo
>         fml\.MySCMServerInfo
>         fr\.MySCMServerInfo
>         xdoc\.MySCMServerInfo
> [INFO] ----------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ----------------------------------------------------------------------------
> [INFO] Total time: 6 seconds
> [INFO] Finished at: Mon Mar 13 14:09:08 GMT 2006
> [INFO] Final Memory: 5M/10M
> [INFO] ----------------------------------------------------------------------------

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira