You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2005/07/26 04:28:57 UTC

[jira] Reopened: (MNG-641) Collapse "generate-sources" and "generate-resources" into "generate"

     [ http://jira.codehaus.org/browse/MNG-641?page=all ]
     
Brett Porter reopened MNG-641:
------------------------------

     Assign To: Brett Porter

apparently there is a specific use case Kenney has, so waiting to hear that.

the proposed solution is probably not feasible as it makes it difficult to get corrrect ordering when generating both sources and resources (it also breaks backwards compat)

the problem is that there may be a situation where the reverse is applicable: sources are processed to generate a resource which needs to be processed and which is used to generate more sources.

I'm still inclined to "won't fix" it, but I'll wait to hear the case. Currently I'm saying that sources generated ultimately from processed sources themselves can't be processed (otherwise phases will need to repeat over). This could perhaps be worked around by using an executed subphase.

> Collapse "generate-sources" and "generate-resources" into "generate"
> --------------------------------------------------------------------
>
>          Key: MNG-641
>          URL: http://jira.codehaus.org/browse/MNG-641
>      Project: Maven 2
>         Type: Improvement
>   Components: maven-plugins, maven-core
>     Reporter: Trygve Laugstol
>     Assignee: Brett Porter

>
>
> It's not unlikely that you'd like to generate sources from generated resources. 
> A not that far fetched use case is that we might generate components.xml and then generate remote stubs for the components found in components.xml.
> The same might apply to process-sources and -resources.

-- 
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, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org