Hi,
see inline
--
Sent from mobile
> On 23. Jun 2020, at 09:36, Maria Arias de Reyna Dominguez <
mari...@redhat.com> wrote:
>
> On Mon, Jun 22, 2020 at 8:10 PM Zoran Regvart <
zo...@regvart.com> wrote:
>>
>> I wonder if anyone noticed the work I did on the basepom update in:
>>
>>
https://github.com/syndesisio/syndesis/pull/8269
>
> In my mind we already had merged this. Going to check about it before
> I push my changes.
>
>>
>> That finishes the update to run Maven on JDK 11.
>>
>> And as to the Maven profiles, I’m not aware of any profile that’s not there for a good reason.
>
> I can believe there are profiles that are no longer used. Do we know
> what we use each profile for?
>
> Profiles I think make sense:
> * image: building the images, sure we need it!
> * release: makes sense, signs the builds and all
> * flash: yeah, makes sense to build quick
>
> Profiles I am not sure we need:
> * skip-checks: do we really need a specific profile for this?
> Shouldn't something like "mvn -Dbasepom.check.skip-all " be enough?
I don’t think so, there are more checks configured than what basepom provides, I think it’s also tied to flash, but I haven’t checked
> * checks: same as previous one. Especially as the previous one exists.
IIRC both exist to enable & configure vs eliminate Maven plugins, removing those influences flash and overall build performance
> One of them has to be the default one!
> * docker: I guess this is used by the Syndesis cli, but looks again
> too simple to use a full profile for this. Same as above.
Used to build docker images on CI, without it we can’t push to Docker hub
> * s2i: same as previous profiles
Used in development to push to OpenShift
> * non-staging: is this really used? I don't see when the activation
I don’t remember this one, look in the git blame
> condition gets really activated.
> * m2e/non-m2e: what are these for? When are they used? As far as I
> know, m2e is a specific eclipse thing.
Yes they are, and there’re needed to avoid issues when using eclipse