[ 
http://jira.codehaus.org/browse/MHIBERNATE-86?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tim Schuppener updated MHIBERNATE-86:
-------------------------------------

    Attachment: compileSourceRootDefaultToTrue.patch

I also agree the default for compileSourceRoot should be true! 

Unfortunatelly the current implementation does not allow overriding the default 
for hbm2java, since it is directly set in Hbm2JavaGeneratorMojo :-)

What about changing the default directly in Components.java? If not set within 
the configuration, it defaults to true then

I am not sure about the other ExporterMojos, at least the unit-tests run good 
with this patch. Overriding by setting compileSourceRoot to false in the 
pomfile works now



> Generated sources not compiling
> -------------------------------
>
>                 Key: MHIBERNATE-86
>                 URL: http://jira.codehaus.org/browse/MHIBERNATE-86
>             Project: Maven 2.x Hibernate Plugin
>          Issue Type: Bug
>          Components: hbm2java
>    Affects Versions: 2.2
>         Environment: Maven version: 2.0.8
> Java version: 1.6.0_10
> OS name: "linux" version: "2.6.27-7-generic" arch: "amd64" Family: "unix"
> Snapshot version 20081225.220608-2
>            Reporter: Greg Barton
>            Assignee: David J. M. Karlsen
>             Fix For: 2.2
>
>         Attachments: compileSourceRootDefaultToTrue.patch
>
>
> Just recently (i.e. last couple of days) the hbm2java build has stopped 
> working for me: none of the generated sources are being compiled.  They 
> generate just fine.  On the first build of the day I noticed the snapshot 
> updated to 20081225.220608-2.  Forcing version back to 2.2-20080523.180803-2 
> fixed the problem.

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