You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Wojtek (JIRA)" <ji...@apache.org> on 2019/01/03 22:29:00 UTC

[jira] [Comment Edited] (MASSEMBLY-903) Allow defining descriptors within pom.xml

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

Wojtek edited comment on MASSEMBLY-903 at 1/3/19 10:28 PM:
-----------------------------------------------------------

Maybe a bit (in our case it's already bloated with various asciidoc configuration, which I trimmed 75% due to finally migrating to parent pom). I was considering above but couldn't make it work with parent pom (type=pom) – most likely because it's type and doesn't contain actual descriptor.

Why put that in pom? Because the shared descriptor would be short (very short 2 directories so in total about 10-15 lines) and it's more convenient to maintain single project with master/parent project instead of doing that and in addition maintain additional project just to define descriptor.

Currently we handle this with defined <resources/> (way less than ideal) but it somewhat works, however one of our projects has quite heavy resources which pointlessly bloats resulting .jar, hence the idea to move this configuration to assembly and simply inherit it.


was (Author: .wojtek):
Maybe a bit (in our case it's already bloated with various asciidoc configuration, which I trimmed 75% due to finally migrating to parent pom). I was considering above but couldn't make it work with parent pom (type=pom) – most likely because it's type and doesn't contain actual descriptor.

Why put that in pom? Because the shared descriptor would be short (very short 2 directories so in total about 10-15 lines) and it's more convenient to maintain single project with master/parent project instead of doing that and in addition maintain additional project just to define descriptor.

> Allow defining descriptors within pom.xml
> -----------------------------------------
>
>                 Key: MASSEMBLY-903
>                 URL: https://issues.apache.org/jira/browse/MASSEMBLY-903
>             Project: Maven Assembly Plugin
>          Issue Type: Improvement
>    Affects Versions: 3.1.1
>            Reporter: Wojtek
>            Priority: Minor
>             Fix For: waiting-for-feedback
>
>
> It would be very handy it it were possible to define actual assembly description *within* pom.xml file, this would allow defining descriptors in the parent pom.xml and inherit it across the project with ease. To that end, facilitating `merge` inheritance would be a huge bonus.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)