You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Tuomas Kiviaho (JIRA)" <ji...@codehaus.org> on 2009/06/05 07:05:42 UTC

[jira] Created: (MDEP-214) Accompany outputFilterFile with possibility of of definining used property name.

Accompany outputFilterFile with possibility of of definining used property name.
--------------------------------------------------------------------------------

                 Key: MDEP-214
                 URL: http://jira.codehaus.org/browse/MDEP-214
             Project: Maven 2.x Dependency Plugin
          Issue Type: Improvement
          Components: build-classpath
    Affects Versions: 2.1
            Reporter: Tuomas Kiviaho
            Assignee: Brian Fox
            Priority: Minor


Currently filter format is hardcoded as 'classpath=xxxxx'. assembly plugin bundles files and filter together so each classpath property file (unix/windows/..) requires separate assembly plugin definition for each classpath variant. By exposing an 'outputFilterName' parameter, this extra step would be removed. Instead of above one could have classpath.unix=xxxxx, classpath.windows=yyyyy. One step further would be the possibility of appending these into same file, but only if that wouldn't require yet another parameter.

-- 
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: (MDEP-214) Accompany outputFilterFile with possibility of of definining used property name.

Posted by "Sergei Ivanov (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MDEP-214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sergei Ivanov updated MDEP-214:
-------------------------------

    Attachment: filter_property_name.patch

Patch against 2.1 is attached

> Accompany outputFilterFile with possibility of of definining used property name.
> --------------------------------------------------------------------------------
>
>                 Key: MDEP-214
>                 URL: http://jira.codehaus.org/browse/MDEP-214
>             Project: Maven 2.x Dependency Plugin
>          Issue Type: Improvement
>          Components: build-classpath
>    Affects Versions: 2.1
>            Reporter: Tuomas Kiviaho
>            Assignee: Brian Fox
>            Priority: Minor
>         Attachments: filter_property_name.patch
>
>
> Currently filter format is hardcoded as 'classpath=xxxxx'. assembly plugin bundles files and filter together so each classpath property file (unix/windows/..) requires separate assembly plugin definition for each classpath variant. By exposing an 'outputFilterName' parameter, this extra step would be removed. Instead of above one could have classpath.unix=xxxxx, classpath.windows=yyyyy. One step further would be the possibility of appending these into same file, but only if that wouldn't require yet another parameter.

-- 
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: (MDEP-214) Accompany outputFilterFile with possibility of of definining used property name.

Posted by "Sergei Ivanov (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MDEP-214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=218805#action_218805 ] 

Sergei Ivanov commented on MDEP-214:
------------------------------------

I faced exactly the same problem today. I needed to generate two classpath properties: one for unix environments, one for windows. In my project, there is only a single assembly execution that produces a multi-platform binary distro. If I had an option of specifying two separate classpath properties, I would be able to build a multi-platform assembly in a single pass.

> Accompany outputFilterFile with possibility of of definining used property name.
> --------------------------------------------------------------------------------
>
>                 Key: MDEP-214
>                 URL: http://jira.codehaus.org/browse/MDEP-214
>             Project: Maven 2.x Dependency Plugin
>          Issue Type: Improvement
>          Components: build-classpath
>    Affects Versions: 2.1
>            Reporter: Tuomas Kiviaho
>            Assignee: Brian Fox
>            Priority: Minor
>
> Currently filter format is hardcoded as 'classpath=xxxxx'. assembly plugin bundles files and filter together so each classpath property file (unix/windows/..) requires separate assembly plugin definition for each classpath variant. By exposing an 'outputFilterName' parameter, this extra step would be removed. Instead of above one could have classpath.unix=xxxxx, classpath.windows=yyyyy. One step further would be the possibility of appending these into same file, but only if that wouldn't require yet another parameter.

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