You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "David Hoffer (JIRA)" <ji...@codehaus.org> on 2009/04/04 03:15:12 UTC

[jira] Created: (MIDEA-120) Plug should properly configure IDEA's generate-sources folder

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

        

[jira] Commented: (MIDEA-120) Plug should properly configure IDEA's generate-sources folder

Posted by "David Hoffer (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MIDEA-120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=171999#action_171999 ] 

David Hoffer commented on MIDEA-120:
------------------------------------

I should have said 'generated-sources' folder in above description.

> 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.0, 2.1, 2.2
>         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