Skip to content

Commit

Permalink
[incubator-kie-issues#1347] Enforce reproducible build - using custom…
Browse files Browse the repository at this point in the history
… property
  • Loading branch information
Gabriele-Cardosi committed Jun 24, 2024
1 parent 7df4dea commit 559e995
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr-drools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
- name: Build Chain
uses: apache/incubator-kie-kogito-pipelines/.ci/actions/build-chain@main
env:
BUILD_MVN_OPTS_CURRENT: -Dfull
BUILD_MVN_OPTS_CURRENT: '-Dfull -Dreproducible'
MAVEN_OPTS: "-Dfile.encoding=UTF-8"
with:
definition-file: https://raw.githubusercontent.com/${GROUP:apache}/incubator-kie-kogito-pipelines/${BRANCH:main}/.ci/pull-request-config.yaml
Expand Down
16 changes: 12 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,18 @@
<name>full</name>
</property>
</activation>
<modules>
<module>drools-docs</module>
<module>drools-distribution</module>
</modules>
</profile>
<profile>
<id>reproducible-build</id>
<activation>
<property>
<name>reproducible</name>
</property>
</activation>
<build>
<plugins>
<plugin>
Expand Down Expand Up @@ -262,10 +274,6 @@
</plugin>
</plugins>
</build>
<modules>
<module>drools-docs</module>
<module>drools-distribution</module>
</modules>
</profile>
<profile><!-- this profile is defined here in order to be available from the root of the drools repository and maven reactor build -->
<id>rewrite</id>
Expand Down

0 comments on commit 559e995

Please sign in to comment.