[ 
https://issues.apache.org/jira/browse/MNG-6740?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16911209#comment-16911209
 ] 

Mickael Istria commented on MNG-6740:
-------------------------------------

+1 for this feature in Maven. Most polyglot extensions will have such caveats 
as some missing Maven properties to infer, Maven should provide a generic way 
to fill the gap.
In the proposal, it's about a properties file, but I imagine it could also (or 
maybe better) take the form of a partial pom file with only the few additional 
properties or elements to complete what the extension generates.

> Provide a way to override properties of a polyglot build
> --------------------------------------------------------
>
>                 Key: MNG-6740
>                 URL: https://issues.apache.org/jira/browse/MNG-6740
>             Project: Maven
>          Issue Type: New Feature
>            Reporter: Christoph Läubrich
>            Priority: Major
>
> polyglot allows to generate maven models out of other metadata that pom.xml 
> via extensions.
> This is great and offers high flexibility for advanced use-cases but comes 
> with the cost that it is not as easy to modify certain settings or properties 
> if the data is derived from other sources.
> For example [Eclipse Tycho|https://www.eclipse.org/tycho/] generates models 
> out of OSGi/PDE metadata but can often only guess what is the right thing to 
> use for example as artifactId, and it can't know of any custom properties a 
> user might wish to set.
> While it is always possible to create custom crafted poms, this contradicts 
> the approach which goal is to reuse as many metadata as possible, and the 
> user only wants do configure a really small portion of it (e.g. the 
> description or a single poperty).
> [A proposal was made to integrate support for this inside the tycho 
> extension|https://bugs.eclipse.org/bugs/show_bug.cgi?id=550239], but because 
> it might be of wider use I'd like to evaluate (as suggestes by Mickael 
> Istria) if it is possible to implement/add this as a more generic feature 
> directly into the maven project.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to