maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Scholte (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (MECLIPSE-743) Add support for generation of <classpathContainer> attributes
Date Fri, 25 Dec 2015 11:49:51 GMT

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

Robert Scholte closed MECLIPSE-743.
-----------------------------------
    Resolution: Won't Fix
      Assignee: Robert Scholte

The Apache Maven team has decided to retire the maven-eclipse-plugin, so this issue won't
be fixed. 


> Add support for generation of <classpathContainer> attributes
> -------------------------------------------------------------
>
>                 Key: MECLIPSE-743
>                 URL: https://issues.apache.org/jira/browse/MECLIPSE-743
>             Project: Maven Eclipse Plugin (RETIRED)
>          Issue Type: Improvement
>          Components: Core : Dependencies resolution and build path (.classpath)
>    Affects Versions: 2.9
>            Reporter: Mitko Kolev
>            Assignee: Robert Scholte
>         Attachments: patch.txt
>
>
> Currently it is not possible to configure attributes for the {{<classpathentry>}}
element, in particular for the generated {{<classpathContainer>}} 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). The following example configuration:
> {code}
> <classpathEntryCustomizations>
>   <classpathEntryCustomization>
>     <whenPathContains>org.some.ClasspathContainer</whenPathContains>
>     <additionalAttributes>
>        <property>
>           <name>customAttribute</name>
>           <value>true</value>
>        </property>
>     </additionalAttributes>
>   </classpathEntryCustomization>
> </classpathEntryCustomizations>
> {code}
>  will generate {{<attribute name="customAttribute" value="true"/>}} for the {{org.some.ClasspathContainer}}
{{<classpathContainer>}} element. In other words, the generated {{.classpath}} file
will contain:
> {code}
> <classpathentry kind="con" path="org.some.ClasspathContainer">
>     <attributes>
>        <attribute name="customAttribute" value="true"/>
>     </attributes>
> </classpathentry>
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message