daisy/pipeline-assembly

Unable to build all profiles at once

Closed this issue · 1 comments

When building a distribution (for instance using the maven-release-plugin), all the profiles used to be enabled at once with -Pmac,linux,win. This no longer works because some plugins (e.g. used for the mac profile) are disabled in other platforms profiles (e.g. win, linux).

For instance:

<plugin>
    <groupId>com.github.eirslett</groupId>
    <artifactId>frontend-maven-plugin</artifactId>
    <executions>
        <execution>
            <id>install-node</id>
            <phase>none</phase>
        </execution>
        <execution>
            <id>install-appdmg</id>
            <phase>none</phase>
        </execution>
    </executions>
</plugin>

@bertfrees said:

often it was just to optimize things: too much was being built
but in some occasions the build was actually broken iirc
maybe instead of the "none" instructions it would have been better to disable the automatic activation of the mac, linux and win profiles

Has been fixed by #162.