[ 
http://jira.codehaus.org/browse/MHIBERNATE-86?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=160307#action_160307
 ] 

David J. M. Karlsen commented on MHIBERNATE-86:
-----------------------------------------------

Hmm - I see your problem.
Could you give more details on the use case?
I think the default should be to set compileSourceRoot to true (as I anticipate 
that not wanting to add the sources would be rather seldom compared to vanilla 
usage) - so that this could be overridden (e.g. set to false) in those special 
cases.

Any patches are welcome ;-)

All in all I think the plugin needs more cleanup, to more intuitive both to 
developers and users :-)

If we leave it as this for the moment at least any regressions will be avoided.

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