Skip to content

Commit

Permalink
[incubator-kie-issues#1504] Conditionally build all or only reproduci…
Browse files Browse the repository at this point in the history
…ble modules based on only.reproducible flag (apache#2107)
  • Loading branch information
rgdoliveira committed Nov 18, 2024
1 parent 0f7a410 commit 2d2ab5a
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@

<properties>
<project.build.outputTimestamp>2024-01-16T00:00:00Z</project.build.outputTimestamp>
<version.maven.artifact.plugin>3.4.1</version.maven.artifact.plugin>
</properties>

<build>
Expand All @@ -99,9 +98,10 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-artifact-plugin</artifactId>
<version>${version.maven.artifact.plugin}</version>
<configuration>
<outputTimestamp>${project.build.outputTimestamp}</outputTimestamp>
<!-- Generated images in zip format are not reproducible-->
<ignore>image-build.zip</ignore>
</configuration>
</plugin>
</plugins>
Expand Down Expand Up @@ -131,10 +131,20 @@
<module>explainability</module>
<module>trusty</module>
<module>jitexecutor</module>
<module>apps-integration-tests</module>
</modules>

<profiles>
<profile>
<id>allSubmodules</id>
<activation>
<property>
<name>!only.reproducible</name>
</property>
</activation>
<modules>
<module>apps-integration-tests</module>
</modules>
</profile>
<profile>
<id>optaplanner-downstream</id>
<activation>
Expand Down

0 comments on commit 2d2ab5a

Please sign in to comment.