[jira] [Commented] (MNG-6740) Provide a way to override properties of a polyglot build
[ https://issues.apache.org/jira/browse/MNG-6740?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17495089#comment-17495089 ] Christoph Läubrich commented on MNG-6740: - Yes thsi could eb closed but it seems I don't have the necessary access right to close issue. > 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.20.1#820001)
[jira] [Commented] (MNG-6740) Provide a way to override properties of a polyglot build
[ https://issues.apache.org/jira/browse/MNG-6740?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17495067#comment-17495067 ] Michael Osipov commented on MNG-6740: - Should this be closed? > 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.20.1#820001)
[jira] [Commented] (MNG-6740) Provide a way to override properties of a polyglot build
[ https://issues.apache.org/jira/browse/MNG-6740?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16911577#comment-16911577 ] Christoph Läubrich commented on MNG-6740: - migrated to https://github.com/takari/polyglot-maven/issues/193 > 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)
[jira] [Commented] (MNG-6740) Provide a way to override properties of a polyglot build
[ https://issues.apache.org/jira/browse/MNG-6740?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16911359#comment-16911359 ] Mickael Istria commented on MNG-6740: - Actually, it also looks like something that's not in Maven Core, but instead in polyglot-maven: https://github.com/takari/polyglot-maven/issues/new > 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)
[jira] [Commented] (MNG-6740) Provide a way to override properties of a polyglot build
[ https://issues.apache.org/jira/browse/MNG-6740?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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)