Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Tycho source feature plugin serverity setting for missing source plugins


You should be able to already do this with standard Maven functionality. Add in the parent POM the common parts for the plugin and add in the child pom just the configuration for the excludes with the attribute "combine.children".


 <excludes combine.children="append">

   <exclude>what ever</exclude>

 </excludes>


Am Mittwoch, 11. November 2020, 15:39:26 CET schrieb Felix Dorner:

 

Hi Christoph, ok cool! If you're already working on it, I might have another suggestion:


I manage a few plugin projects for an rcp app, and all these projects can be built the same way so I created a common parent pom for them. However, I could not finda good way to have everyone of these plugin projects specify their source-feature excludes in a _simple_ way: Instead, each plugin project's root pom must copy/paste the whole source-feature configuration and then specify its own excludes. I'd like to have the source-feature plugin configurationin the common parent pom and a simple way for child projects to specify their exclude configuration e.g. a multi-valued property (e.g. a comma/space separated list of exclusion ids), whichwould then be referenced in the parent pom that contains the rest of the configuration.


I also think we always exclude the .doc plugins (iirc because they have no src/ folder or something like that. Would be good if that could also be detected automatically.


Felix










On Wed, Nov 11, 2020 at 3:29 PM Christoph Lubrich <laeubi@xxxxxxxxxxxxxx> wrote:

 

Not right now, but I'm currently working on such a feature so hopefully
it will be part of tycho 2.2.0

 

Am 11.11.20 um 15:17 schrieb Felix Dorner:
> Hi,
>
> When I use the source-feature plugin with tycho, is there a way to
> "warn" instead of "fail" if a plugin has no corresponding source plugin?
> I don't want to maintain the list of <excludes>, but just assume there's
> a good reason if a source plugin doesn't exist.
>
> Felix
>
>
>
> --
> Linux. The choice of a GNU generation.
>
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/tycho-user
>
_______________________________________________
tycho-user mailing listtycho-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/tycho-user



--

Linux. The choice of a GNU generation.



Back to the top