You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Paul Benedict (JIRA)" <ji...@codehaus.org> on 2008/04/15 17:51:58 UTC

[jira] Created: (MRESOURCES-63) Export resource key/values as POM properties

Export resource key/values as POM properties
--------------------------------------------

                 Key: MRESOURCES-63
                 URL: http://jira.codehaus.org/browse/MRESOURCES-63
             Project: Maven 2.x Resources Plugin
          Issue Type: New Feature
            Reporter: Paul Benedict


This issue relates to MNG-2562 and the maven-setproperty-plugin (http://www.mail-archive.com/dev@maven.apache.org/msg62789.html).

Sometimes the interpolation of resources creates a completed key/value that I would like to re-use in later phases. Unfortunately there is no way to get these values to use in the POM unless there is a mechanism to export the values.

-- 
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: (MSHARED-97) Export resource key/values as POM properties

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSHARED-97?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=187914#action_187914 ] 

John Casey commented on MSHARED-97:
-----------------------------------

IMO, it would be much cleaner to have a separate plugin that would read the properties in the POM's build/filters section and inject them as project properties with a pariticular (configurable?) prefix. Having this be an automatic part of every random plugin that uses maven-filtering would be *very* confusing, IMO.

I'm -1 for this sort of change in maven-filtering itself.

> Export resource key/values as POM properties
> --------------------------------------------
>
>                 Key: MSHARED-97
>                 URL: http://jira.codehaus.org/browse/MSHARED-97
>             Project: Maven Shared Components
>          Issue Type: New Feature
>          Components: maven-filtering
>            Reporter: Paul Benedict
>            Assignee: Olivier Lamy
>             Fix For: maven-filtering-1.0-beta-3
>
>
> This issue relates to MNG-2562 and the maven-setproperty-plugin (http://www.mail-archive.com/dev@maven.apache.org/msg62789.html).
> Sometimes the interpolation of resources creates a completed key/value that I would like to re-use in later phases. Unfortunately there is no way to get these values to use in the POM unless there is a mechanism to export the values.

-- 
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: (MSHARED-97) Export resource key/values as POM properties

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSHARED-97?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=187916#action_187916 ] 

Olivier Lamy commented on MSHARED-97:
-------------------------------------

ok : sounds reasonnable for me too.

> Export resource key/values as POM properties
> --------------------------------------------
>
>                 Key: MSHARED-97
>                 URL: http://jira.codehaus.org/browse/MSHARED-97
>             Project: Maven Shared Components
>          Issue Type: New Feature
>          Components: maven-filtering
>            Reporter: Paul Benedict
>            Assignee: Olivier Lamy
>             Fix For: maven-filtering-1.0-beta-3
>
>
> This issue relates to MNG-2562 and the maven-setproperty-plugin (http://www.mail-archive.com/dev@maven.apache.org/msg62789.html).
> Sometimes the interpolation of resources creates a completed key/value that I would like to re-use in later phases. Unfortunately there is no way to get these values to use in the POM unless there is a mechanism to export the values.

-- 
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] Moved: (MSHARED-97) Export resource key/values as POM properties

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MSHARED-97?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Lamy moved MRESOURCES-63 to MSHARED-97:
-----------------------------------------------

        Key: MSHARED-97  (was: MRESOURCES-63)
    Project: Maven Shared Components  (was: Maven 2.x Resources Plugin)

> Export resource key/values as POM properties
> --------------------------------------------
>
>                 Key: MSHARED-97
>                 URL: http://jira.codehaus.org/browse/MSHARED-97
>             Project: Maven Shared Components
>          Issue Type: New Feature
>          Components: maven-filtering
>            Reporter: Paul Benedict
>
> This issue relates to MNG-2562 and the maven-setproperty-plugin (http://www.mail-archive.com/dev@maven.apache.org/msg62789.html).
> Sometimes the interpolation of resources creates a completed key/value that I would like to re-use in later phases. Unfortunately there is no way to get these values to use in the POM unless there is a mechanism to export the values.

-- 
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: (MRESOURCES-63) Export resource key/values as POM properties

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRESOURCES-63?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=167637#action_167637 ] 

Olivier Lamy commented on MRESOURCES-63:
----------------------------------------

You mean the Properties object used for filtering files in plugins (resources, war ear ) ?

> Export resource key/values as POM properties
> --------------------------------------------
>
>                 Key: MRESOURCES-63
>                 URL: http://jira.codehaus.org/browse/MRESOURCES-63
>             Project: Maven 2.x Resources Plugin
>          Issue Type: New Feature
>            Reporter: Paul Benedict
>
> This issue relates to MNG-2562 and the maven-setproperty-plugin (http://www.mail-archive.com/dev@maven.apache.org/msg62789.html).
> Sometimes the interpolation of resources creates a completed key/value that I would like to re-use in later phases. Unfortunately there is no way to get these values to use in the POM unless there is a mechanism to export the values.

-- 
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: (MRESOURCES-63) Export resource key/values as POM properties

Posted by "Paul Benedict (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRESOURCES-63?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=167821#action_167821 ] 

Paul Benedict commented on MRESOURCES-63:
-----------------------------------------

Yes, those key/value pairs used for filtering would be valuable to expose by some known root variable. Then I could use it like ${filterProperties.xyz} within the POM. It would be great.

> Export resource key/values as POM properties
> --------------------------------------------
>
>                 Key: MRESOURCES-63
>                 URL: http://jira.codehaus.org/browse/MRESOURCES-63
>             Project: Maven 2.x Resources Plugin
>          Issue Type: New Feature
>            Reporter: Paul Benedict
>
> This issue relates to MNG-2562 and the maven-setproperty-plugin (http://www.mail-archive.com/dev@maven.apache.org/msg62789.html).
> Sometimes the interpolation of resources creates a completed key/value that I would like to re-use in later phases. Unfortunately there is no way to get these values to use in the POM unless there is a mechanism to export the values.

-- 
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] Issue Comment Edited: (MSHARED-97) Export resource key/values as POM properties

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSHARED-97?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=167842#action_167842 ] 

Olivier Lamy edited comment on MSHARED-97 at 7/26/09 4:52 AM:
--------------------------------------------------------------

Ok. As those values are created in the maven-filtering component. I have moved the issue to the correct jira project/component.
But you won't be able to use it for pom interpolation.

      was (Author: olamy):
    Ok. As those values are created in the maven-filtering component. I have moved the issue to the correct jira project/component.
  
> Export resource key/values as POM properties
> --------------------------------------------
>
>                 Key: MSHARED-97
>                 URL: http://jira.codehaus.org/browse/MSHARED-97
>             Project: Maven Shared Components
>          Issue Type: New Feature
>          Components: maven-filtering
>            Reporter: Paul Benedict
>            Assignee: Olivier Lamy
>             Fix For: maven-filtering-1.0-beta-3
>
>
> This issue relates to MNG-2562 and the maven-setproperty-plugin (http://www.mail-archive.com/dev@maven.apache.org/msg62789.html).
> Sometimes the interpolation of resources creates a completed key/value that I would like to re-use in later phases. Unfortunately there is no way to get these values to use in the POM unless there is a mechanism to export the values.

-- 
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] Updated: (MSHARED-97) Export resource key/values as POM properties

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MSHARED-97?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Lamy updated MSHARED-97:
--------------------------------

    Fix Version/s: maven-filtering-1.0-beta-3

> Export resource key/values as POM properties
> --------------------------------------------
>
>                 Key: MSHARED-97
>                 URL: http://jira.codehaus.org/browse/MSHARED-97
>             Project: Maven Shared Components
>          Issue Type: New Feature
>          Components: maven-filtering
>            Reporter: Paul Benedict
>            Assignee: Olivier Lamy
>             Fix For: maven-filtering-1.0-beta-3
>
>
> This issue relates to MNG-2562 and the maven-setproperty-plugin (http://www.mail-archive.com/dev@maven.apache.org/msg62789.html).
> Sometimes the interpolation of resources creates a completed key/value that I would like to re-use in later phases. Unfortunately there is no way to get these values to use in the POM unless there is a mechanism to export the values.

-- 
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] Closed: (MSHARED-97) Export resource key/values as POM properties

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MSHARED-97?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Casey closed MSHARED-97.
-----------------------------

      Assignee: John Casey  (was: Olivier Lamy)
    Resolution: Won't Fix

Let's implement something like this as a separate plugin, maybe over in mojo.codehaus.org (since it's not a common use case). Then, we can inject this plugin into the build anywhere we need it, without having to worry that some plugin which happens to use maven-filtering is also modifying the project instance. That's pretty counter-intuitive.

> Export resource key/values as POM properties
> --------------------------------------------
>
>                 Key: MSHARED-97
>                 URL: http://jira.codehaus.org/browse/MSHARED-97
>             Project: Maven Shared Components
>          Issue Type: New Feature
>          Components: maven-filtering
>            Reporter: Paul Benedict
>            Assignee: John Casey
>             Fix For: maven-filtering-1.0-beta-3
>
>
> This issue relates to MNG-2562 and the maven-setproperty-plugin (http://www.mail-archive.com/dev@maven.apache.org/msg62789.html).
> Sometimes the interpolation of resources creates a completed key/value that I would like to re-use in later phases. Unfortunately there is no way to get these values to use in the POM unless there is a mechanism to export the values.

-- 
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] Updated: (MSHARED-97) Export resource key/values as POM properties

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MSHARED-97?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Lamy updated MSHARED-97:
--------------------------------

       Assignee: Olivier Lamy
    Component/s: maven-filtering

Ok. As those values are created in the maven-filtering component. I have moved the issue to the correct jira project/component.

> Export resource key/values as POM properties
> --------------------------------------------
>
>                 Key: MSHARED-97
>                 URL: http://jira.codehaus.org/browse/MSHARED-97
>             Project: Maven Shared Components
>          Issue Type: New Feature
>          Components: maven-filtering
>            Reporter: Paul Benedict
>            Assignee: Olivier Lamy
>
> This issue relates to MNG-2562 and the maven-setproperty-plugin (http://www.mail-archive.com/dev@maven.apache.org/msg62789.html).
> Sometimes the interpolation of resources creates a completed key/value that I would like to re-use in later phases. Unfortunately there is no way to get these values to use in the POM unless there is a mechanism to export the values.

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