You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Mitko Kolev (JIRA)" <ji...@codehaus.org> on 2013/09/06 09:43:52 UTC

[jira] (MECLIPSE-743) Add support for generation of attributes

     [ https://jira.codehaus.org/browse/MECLIPSE-743?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mitko Kolev updated MECLIPSE-743:
---------------------------------

    Description: 
Currently it is not possible to configure attributes for the {{<classpathContainer>}} element, in particular for the generated {{classpathentry}} elements. The purpose of this patch is to enable the customization of attributes in the {{classpathentry}} elements in the generated {{.classpath}} file (add additional attributes to {{classpathentry}} elements). Here is an example:
{code}
<classpathentry kind="con" path="org.some.ClasspathContainer">
    <attributes>
       <attribute name="customProperty" value="true"/>
    </attributes>
</classpathentry>
{code}

  was:
Currently it is not possible to configure attributes for the {{<classpathContainer>}} element. The goal is to be able to generate classpath entries wth attributes:

<classpathentry kind="con" path="org.some.ClasspathContainer">
<attributes>
  <attribute name="prop1" value="true"/>
  <attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
</attributes>
</classpathentry>


    
> Add support for generation of <classpathContainer> attributes
> -------------------------------------------------------------
>
>                 Key: MECLIPSE-743
>                 URL: https://jira.codehaus.org/browse/MECLIPSE-743
>             Project: Maven Eclipse Plugin
>          Issue Type: Improvement
>          Components: Core : Dependencies resolution and build path (.classpath)
>    Affects Versions: 2.9
>            Reporter: Mitko Kolev
>         Attachments: patch.txt
>
>
> Currently it is not possible to configure attributes for the {{<classpathContainer>}} element, in particular for the generated {{classpathentry}} elements. The purpose of this patch is to enable the customization of attributes in the {{classpathentry}} elements in the generated {{.classpath}} file (add additional attributes to {{classpathentry}} elements). Here is an example:
> {code}
> <classpathentry kind="con" path="org.some.ClasspathContainer">
>     <attributes>
>        <attribute name="customProperty" value="true"/>
>     </attributes>
> </classpathentry>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira