Oh wow I didn't notice that you had to include it inside a <build/>
element. Thanks! I'll add it as an automatic profile for macOS.

On 15 March 2018 at 16:29, Robert Middleton <osfan6...@gmail.com> wrote:

> To add a build plugin inside a profile, it should be as simple as the
> following:
>
> <profiles>
>     <profile>
>         <id>osx-build</id>
>         <build>
>             <plugins>
>                 <plugin>
>                     <groupId>sh.tak.appbundler</groupId>
>                     <artifactId>appbundle-maven-plugin</artifactId>
>                      ... other plugin information here ...
>                 </plugin>
>              </plugins>
>          </build>
>     </profile>
> </profiles>
>
> I just had to do this the other day, not with a DMG builder but with
> the maven-assembly-plugin.  So I'm reasonably sure that this will work
> as-is.
>
> It should package t with: mvn -P osx-build package appbundle:bundle
>
> -Robert Middleton
>
> On Thu, Mar 15, 2018 at 5:06 PM, Scott Deboy <scott.de...@gmail.com>
> wrote:
> > I don't know how to fix it, but would like to be able to build
> > DMGs...is there an alternative to reverting this change until we can
> > figure out how to get both?
> >
> > On 3/15/18, Matt Sicker <boa...@gmail.com> wrote:
> >> I wasn't able to figure out how to do it. I can't seem to add a build
> >> plugin inside a profile. Do you know how? I only discovered this issue
> when
> >> writing the Jenkinsfile since I build it on macOS locally (and while
> >> releasing).
> >>
> >> On 15 March 2018 at 14:58, Scott Deboy <scott.de...@gmail.com> wrote:
> >>
> >>> Hi Matt,
> >>>
> >>> Re: 1123826836323a94d73355f0f6d7fd39466ad657 - Disable macOS packaging
> >>> step
> >>>
> >>> Looks like you disabled this to get jenkins working?  Has a comment:
> >>> "FIXME: make this plugin optional"
> >>>
> >>> Can you re-enable it?  Optional is fine, I test with this all the time.
> >>>
> >>> Thanks,
> >>>
> >>> Scott
> >>>
> >>
> >>
> >>
> >> --
> >> Matt Sicker <boa...@gmail.com>
> >>
>



-- 
Matt Sicker <boa...@gmail.com>

Reply via email to