Plug should properly configure IDEA's generate-sources folder
-------------------------------------------------------------

                 Key: MIDEA-120
                 URL: http://jira.codehaus.org/browse/MIDEA-120
             Project: Maven 2.x IDEA Plugin
          Issue Type: Bug
    Affects Versions: 2.2, 2.1, 2.0
         Environment: ALL
            Reporter: David Hoffer


As a developer when I run the plugin I want the IDEA project files to be aware 
of the generate-sources folder(s) in target and be configured as source 
folders.  Currently the plugin does not do this and we have to manually 
configure these folder(s).  

An example is when the XMLBeans plugin is used it will generate sources in the 
/target/geneate-sources/xmlbeans folder.  In this case 
/target/geneate-sources/xmlbeans should be configured as a source folder for 
this artifact.

Ideally the plugin should be smart and auto find all generate-sources 
subfolders and add them as source folders in IDEA.  However as a second best 
option it would be okay if the plugin allowed me to manually configure these 
additional source folders in the plugins configuration section.  Since the 
folders are static and known when authoring the pom this would not be too bad 
of a solution, however the first option is prefered.

Note that in IDEA versions that support auto loading of pom files this works 
correctly (8.1 at least).



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

        

Reply via email to