You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "John Fallows (JIRA)" <ji...@codehaus.org> on 2005/07/13 23:12:00 UTC

[jira] Created: (MNG-583) Allow plugins to add dynamic resource roots and test resource roots

Allow plugins to add dynamic resource roots and test resource roots
-------------------------------------------------------------------

         Key: MNG-583
         URL: http://jira.codehaus.org/browse/MNG-583
     Project: Maven 2
        Type: Improvement
  Components: maven-project  
    Versions: 2.0-alpha-3    
 Environment: Maven 2.0-alpha-3, WinXP SP2, Java 1.5.0_02
 Reporter: John Fallows


Please add something equivalent to MavenProject.addResourceRoot(String) and MavenProject.addTestResourceRoot(String) to allow plugins to dynamically include generated resources that can be filtered in the same way as version controlled resources in src/main/resources or src/test/resources.

This functionality is equivalent to MavenProject.addCompileSourceRoot(String) and MavenProject.addTestCompileSourceRoot(String).

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


[jira] Commented: (MNG-583) Allow plugins to add dynamic resource roots and test resource roots

Posted by "John Fallows (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-583?page=comments#action_42817 ] 

John Fallows commented on MNG-583:
----------------------------------

It is possible to workaround the missing project.addResourceRoot(String) with the following code.

    String resourceRoot = ...;
    List resources = project.getBuild().getResources();
    Resource resource = new Resource();
    resource.setDirectory(resourceRoot);
    resources.add(resource);



> Allow plugins to add dynamic resource roots and test resource roots
> -------------------------------------------------------------------
>
>          Key: MNG-583
>          URL: http://jira.codehaus.org/browse/MNG-583
>      Project: Maven 2
>         Type: Improvement
>   Components: maven-project
>     Versions: 2.0-alpha-3
>  Environment: Maven 2.0-alpha-3, WinXP SP2, Java 1.5.0_02
>     Reporter: John Fallows

>
>
> Please add something equivalent to MavenProject.addResourceRoot(String) and MavenProject.addTestResourceRoot(String) to allow plugins to dynamically include generated resources that can be filtered in the same way as version controlled resources in src/main/resources or src/test/resources.
> This functionality is equivalent to MavenProject.addCompileSourceRoot(String) and MavenProject.addTestCompileSourceRoot(String).

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


[jira] Updated: (MNG-583) Allow plugins to add dynamic resource roots and test resource roots

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-583?page=all ]

Brett Porter updated MNG-583:
-----------------------------

    Fix Version: 2.1

> Allow plugins to add dynamic resource roots and test resource roots
> -------------------------------------------------------------------
>
>          Key: MNG-583
>          URL: http://jira.codehaus.org/browse/MNG-583
>      Project: Maven 2
>         Type: Improvement
>   Components: maven-project
>     Versions: 2.0-alpha-3
>  Environment: Maven 2.0-alpha-3, WinXP SP2, Java 1.5.0_02
>     Reporter: John Fallows
>      Fix For: 2.1

>
>
> Please add something equivalent to MavenProject.addResourceRoot(String) and MavenProject.addTestResourceRoot(String) to allow plugins to dynamically include generated resources that can be filtered in the same way as version controlled resources in src/main/resources or src/test/resources.
> This functionality is equivalent to MavenProject.addCompileSourceRoot(String) and MavenProject.addTestCompileSourceRoot(String).

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


[jira] Closed: (MNG-583) Allow plugins to add dynamic resource roots and test resource roots

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-583?page=all ]
     
Brett Porter closed MNG-583:
----------------------------

     Resolution: Fixed
    Fix Version:     (was: 2.1)
                 2.0-beta-3

I think the projectHelper added previously already allows this

> Allow plugins to add dynamic resource roots and test resource roots
> -------------------------------------------------------------------
>
>          Key: MNG-583
>          URL: http://jira.codehaus.org/browse/MNG-583
>      Project: Maven 2
>         Type: Improvement
>   Components: maven-project
>     Versions: 2.0-alpha-3
>  Environment: Maven 2.0-alpha-3, WinXP SP2, Java 1.5.0_02
>     Reporter: John Fallows
>      Fix For: 2.0-beta-3

>
>
> Please add something equivalent to MavenProject.addResourceRoot(String) and MavenProject.addTestResourceRoot(String) to allow plugins to dynamically include generated resources that can be filtered in the same way as version controlled resources in src/main/resources or src/test/resources.
> This functionality is equivalent to MavenProject.addCompileSourceRoot(String) and MavenProject.addTestCompileSourceRoot(String).

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