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

To avoid repeating the complete POM configuration: Maven can use inherited XML elements with small overridden parts in the children. https://blog.sonatype.com/2011/01/maven-how-to-merging-plugin-configuration-in-complex-projects/

 

 

Mit freundlichen Grüßen / Best regards

Michael Keppler

LTO Release Engineering (ETAS/ESW-CI)
Tel. +49 711 3423-2429 | Fax +49 711 89661-0 | Michael.Keppler@xxxxxxxx



Von: tycho-user-bounces@xxxxxxxxxxx <tycho-user-bounces@xxxxxxxxxxx> Im Auftrag von Felix Dorner
Gesendet: Mittwoch, 11. November 2020 15:39
An: Tycho user list <tycho-user@xxxxxxxxxxx>
Betreff: Re: [tycho-user] Tycho source feature plugin serverity setting for missing source plugins

 

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 find a 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 configuration in 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), which would 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 Läubrich <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 list
tycho-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