Duplicate/Unwanted adding of the outputDirectory to the compileSourceRoot
-------------------------------------------------------------------------

                 Key: MHIBERNATE-84
                 URL: http://jira.codehaus.org/browse/MHIBERNATE-84
             Project: Maven 2.x Hibernate Plugin
          Issue Type: Bug
          Components: hbm2java
    Affects Versions: 2.2
            Reporter: Tim Schuppener
            Assignee: Johann Reyes
         Attachments: patch.txt

Adding the outputDirectory to the compileSourceRoot in 
Hbm2JavaGeneratorMojo.configureExporter() is wrong, it is done in the called 
super.configureExporter(..) already and should stay dependent on the 
configuration (component -> compileSourceRoot).

current behaviour:

If compileSourceRoot is true, 
  the outputDirectory is added to the compileSourceRoot twice, 
else
  the outputDirectory is added to the compileSourceRoot although the developer 
doesn't want it

Patch (removed two Lines in Hbm2JavaGeneratorMojo.java) attached



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