[ 
http://jira.codehaus.org/browse/MCASTOR-18?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_126555
 ] 

Jerome Lacoste commented on MCASTOR-18:
---------------------------------------

exactly. I really meant "ugly work-around is to override (in the POM) the the 
tstamp directory".

Solution is to have tstamp relative to project.build.directory and not to 
basedir. Cf patch,

> Hardcoded schemaDirectory to ${basedir}/target/ causes problems when building 
> site with clover
> ----------------------------------------------------------------------------------------------
>
>                 Key: MCASTOR-18
>                 URL: http://jira.codehaus.org/browse/MCASTOR-18
>             Project: Maven 2.x Castor Plugin
>          Issue Type: Bug
>          Components: Core MOJOs
>    Affects Versions: 1.0.1
>            Reporter: Jerome Lacoste
>            Assignee: Werner Guttmann
>            Priority: Critical
>         Attachments: MCASTOR-XXX.diff
>
>
> The castor plugin uses ${basedir}/target/xsds as default tstamp directory but 
> ${project.build.directory}/generated-sources/castor as generated sources.
> If a plugin redefines the ${project.build.directory} it will find the xsds 
> (copied while building normally) but fail to add the right compile source 
> roots.
> The build will fail.
> This happens with clover when building the site.
> Ugly work-around is to redefine the tstamp directory.

-- 
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

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to