Skip to content

Commit

Permalink
[incubator-kie-issues#1349] Enforce reproducible build (apache#2075)
Browse files Browse the repository at this point in the history
Co-authored-by: Gabriele-Cardosi <[email protected]>
# Conflicts:
#	.github/workflows/pr-kogito-apps.yml
  • Loading branch information
rgdoliveira committed Jul 8, 2024
1 parent 0cf7624 commit afa3736
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -155,5 +155,41 @@
<module>jitexecutor-native</module>
</modules>
</profile>
<profile>
<id>reproducible-build</id>
<activation>
<property>
<name>reproducible</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-artifact-plugin</artifactId>
<executions>
<execution>
<id>check-buildplan</id>
<goals>
<goal>check-buildplan</goal>
</goals>
<!-- The execution's configuration is part of the pluginManagement. This piece here only makes sure the
execution is enabled (by specifying a phase) for full profile builds. -->
<phase>validate</phase>
</execution>
<execution>
<id>compare</id>
<goals>
<goal>compare</goal>
</goals>
<!-- The execution's configuration is part of the pluginManagement. This piece here only makes sure the
execution is enabled (by specifying a phase) for full profile builds. -->
<phase>install</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

0 comments on commit afa3736

Please sign in to comment.