Re: Profile not being activated by default

2020-05-13 Thread Adam Retter
On Wed, 13 May 2020 at 11:50, Anders Hammar wrote: > > activeByDefault is a bit tricky as it doesn't really when that it is > active by default all the time. It is only active if there is no other > profile ativated [1]. So I believe this is the behavior that you're seeing. > > So, 'activeByDefau

Re: Profile not being activated by default

2020-05-13 Thread Adam Retter
> Running `mvn help:active-profiles` does it list your > build-dist-archives profile in the output? Nope. It is not shown as an active profile: Active Profiles for Project 'org.exist-db:exist-distribution:pom:5.3.0-SNAPSHOT': The following profiles are active: - evolvedbinary-release (source:

Re: Profile not being activated by default

2020-05-13 Thread Anders Hammar
activeByDefault is a bit tricky as it doesn't really when that it is active by default all the time. It is only active if there is no other profile ativated [1]. So I believe this is the behavior that you're seeing. So, 'activeByDefault' is typically not good to use as you can get unexpected beha

Re: Profile not being activated by default

2020-05-13 Thread John Patrick
Running `mvn help:active-profiles` does it list your build-dist-archives profile in the output? Also `mvn help:all-profiles' is it listed their and does it show the correct source? so pom or settings If you add duplicate the executions section into your plugin defined in the profiles, do you see t

Profile not being activated by default

2020-05-13 Thread Adam Retter
I have a build plugin configured like so: org.apache.maven.plugins maven-assembly-plugin assemble-archives package single true I am trying to override its configuration in