All files to be cleaned for reproducibility
diff --git a/optaplanner-quarkus-integration/optaplanner-quarkus-benchmark/deployment/pom.xml b/optaplanner-quarkus-integration/optaplanner-quarkus-benchmark/deployment/pom.xml
index 9ec3c94..6e79e49 100644
--- a/optaplanner-quarkus-integration/optaplanner-quarkus-benchmark/deployment/pom.xml
+++ b/optaplanner-quarkus-integration/optaplanner-quarkus-benchmark/deployment/pom.xml
@@ -123,6 +123,30 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <!-- Remove comments from META-INF/quarkus-extension.properties -->
+ <!-- This is needed because the file generated by quarkus contains a timestamp in a comment that makes the build not reproducible -->
+ <!-- This workaround can be removed when drools will be migrated to quarkus release containing this fix https://github.com/quarkusio/quarkus/pull/38365 -->
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>exec-maven-plugin</artifactId>
+ <version>3.1.1</version>
+ <executions>
+ <execution>
+ <id>Remove comments from quarkus-extension.properties</id>
+ <phase>prepare-package</phase>
+ <goals>
+ <goal>java</goal>
+ </goals>
+ <configuration>
+ <mainClass>org.drools.util.RemoveCommentsMain</mainClass>
+ <arguments>
+ <argument>${project.basedir}/target/classes/META-INF/quarkus-javadoc.properties</argument>
+ <argument>${project.basedir}/target/generated-sources/annotations/org/optaplanner/benchmark/quarkus/deployment/OptaPlannerBenchmarkBuildTimeConfig.jdp</argument>
+ </arguments>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
diff --git a/optaplanner-quarkus-integration/optaplanner-quarkus-benchmark/runtime/pom.xml b/optaplanner-quarkus-integration/optaplanner-quarkus-benchmark/runtime/pom.xml
index 2dcbb2d..3c93450 100644
--- a/optaplanner-quarkus-integration/optaplanner-quarkus-benchmark/runtime/pom.xml
+++ b/optaplanner-quarkus-integration/optaplanner-quarkus-benchmark/runtime/pom.xml
@@ -111,6 +111,31 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <!-- Remove comments from META-INF/quarkus-extension.properties -->
+ <!-- This is needed because the file generated by quarkus contains a timestamp in a comment that makes the build not reproducible -->
+ <!-- This workaround can be removed when drools will be migrated to quarkus release containing this fix https://github.com/quarkusio/quarkus/pull/38365 -->
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>exec-maven-plugin</artifactId>
+ <version>3.1.1</version>
+ <executions>
+ <execution>
+ <id>Remove comments from quarkus-extension.properties</id>
+ <phase>prepare-package</phase>
+ <goals>
+ <goal>java</goal>
+ </goals>
+ <configuration>
+ <mainClass>org.drools.util.RemoveCommentsMain</mainClass>
+ <arguments>
+ <argument>${project.basedir}/target/classes/META-INF/quarkus-extension.properties</argument>
+ <argument>${project.basedir}/target/classes/META-INF/quarkus-javadoc.properties</argument>
+ <argument>${project.basedir}/target/generated-sources/annotations/org/optaplanner/benchmark/quarkus/config/OptaPlannerBenchmarkRuntimeConfig.jdp</argument>
+ </arguments>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
</project>
diff --git a/optaplanner-quarkus-integration/optaplanner-quarkus-jackson/deployment/pom.xml b/optaplanner-quarkus-integration/optaplanner-quarkus-jackson/deployment/pom.xml
index 950f767..cb05d38 100644
--- a/optaplanner-quarkus-integration/optaplanner-quarkus-jackson/deployment/pom.xml
+++ b/optaplanner-quarkus-integration/optaplanner-quarkus-jackson/deployment/pom.xml
@@ -75,6 +75,37 @@
</annotationProcessorPaths>
</configuration>
</plugin>
+ <plugin>
+ <!-- Remove comments from META-INF/quarkus-extension.properties -->
+ <!-- This is needed because the file generated by quarkus contains a timestamp in a comment that makes the build not reproducible -->
+ <!-- This workaround can be removed when drools will be migrated to quarkus release containing this fix https://github.com/quarkusio/quarkus/pull/38365 -->
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>exec-maven-plugin</artifactId>
+ <version>3.1.1</version>
+ <dependencies>
+ <dependency>
+ <groupId>org.drools</groupId>
+ <artifactId>drools-util</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ </dependencies>
+ <executions>
+ <execution>
+ <id>Remove comments from quarkus-extension.properties</id>
+ <phase>prepare-package</phase>
+ <goals>
+ <goal>java</goal>
+ </goals>
+ <configuration>
+ <includePluginDependencies>true</includePluginDependencies>
+ <mainClass>org.drools.util.RemoveCommentsMain</mainClass>
+ <arguments>
+ <argument>${project.basedir}/target/classes/META-INF/quarkus-javadoc.properties</argument>
+ </arguments>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
diff --git a/optaplanner-quarkus-integration/optaplanner-quarkus-jackson/runtime/pom.xml b/optaplanner-quarkus-integration/optaplanner-quarkus-jackson/runtime/pom.xml
index f42a2da..0004740 100644
--- a/optaplanner-quarkus-integration/optaplanner-quarkus-jackson/runtime/pom.xml
+++ b/optaplanner-quarkus-integration/optaplanner-quarkus-jackson/runtime/pom.xml
@@ -102,6 +102,37 @@
</ignoredUnusedDeclaredDependencies>
</configuration>
</plugin>
+ <plugin>
+ <!-- Remove comments from META-INF/quarkus-extension.properties -->
+ <!-- This is needed because the file generated by quarkus contains a timestamp in a comment that makes the build not reproducible -->
+ <!-- This workaround can be removed when drools will be migrated to quarkus release containing this fix https://github.com/quarkusio/quarkus/pull/38365 -->
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>exec-maven-plugin</artifactId>
+ <version>3.1.1</version>
+ <dependencies>
+ <dependency>
+ <groupId>org.drools</groupId>
+ <artifactId>drools-util</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ </dependencies>
+ <executions>
+ <execution>
+ <id>Remove comments from quarkus-extension.properties</id>
+ <phase>prepare-package</phase>
+ <goals>
+ <goal>java</goal>
+ </goals>
+ <configuration>
+ <includePluginDependencies>true</includePluginDependencies>
+ <mainClass>org.drools.util.RemoveCommentsMain</mainClass>
+ <arguments>
+ <argument>${project.basedir}/target/classes/META-INF/quarkus-extension.properties</argument>
+ </arguments>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
</project>
diff --git a/optaplanner-quarkus-integration/optaplanner-quarkus-jsonb/deployment/pom.xml b/optaplanner-quarkus-integration/optaplanner-quarkus-jsonb/deployment/pom.xml
index 353abd0..984137a 100644
--- a/optaplanner-quarkus-integration/optaplanner-quarkus-jsonb/deployment/pom.xml
+++ b/optaplanner-quarkus-integration/optaplanner-quarkus-jsonb/deployment/pom.xml
@@ -75,6 +75,37 @@
</annotationProcessorPaths>
</configuration>
</plugin>
+ <plugin>
+ <!-- Remove comments from META-INF/quarkus-extension.properties -->
+ <!-- This is needed because the file generated by quarkus contains a timestamp in a comment that makes the build not reproducible -->
+ <!-- This workaround can be removed when drools will be migrated to quarkus release containing this fix https://github.com/quarkusio/quarkus/pull/38365 -->
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>exec-maven-plugin</artifactId>
+ <version>3.1.1</version>
+ <dependencies>
+ <dependency>
+ <groupId>org.drools</groupId>
+ <artifactId>drools-util</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ </dependencies>
+ <executions>
+ <execution>
+ <id>Remove comments from quarkus-extension.properties</id>
+ <phase>prepare-package</phase>
+ <goals>
+ <goal>java</goal>
+ </goals>
+ <configuration>
+ <includePluginDependencies>true</includePluginDependencies>
+ <mainClass>org.drools.util.RemoveCommentsMain</mainClass>
+ <arguments>
+ <argument>${project.basedir}/target/classes/META-INF/quarkus-javadoc.properties</argument>
+ </arguments>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
</project>
diff --git a/optaplanner-quarkus-integration/optaplanner-quarkus-jsonb/runtime/pom.xml b/optaplanner-quarkus-integration/optaplanner-quarkus-jsonb/runtime/pom.xml
index e1d07f0..a011932 100644
--- a/optaplanner-quarkus-integration/optaplanner-quarkus-jsonb/runtime/pom.xml
+++ b/optaplanner-quarkus-integration/optaplanner-quarkus-jsonb/runtime/pom.xml
@@ -94,6 +94,37 @@
</annotationProcessorPaths>
</configuration>
</plugin>
+ <plugin>
+ <!-- Remove comments from META-INF/quarkus-extension.properties -->
+ <!-- This is needed because the file generated by quarkus contains a timestamp in a comment that makes the build not reproducible -->
+ <!-- This workaround can be removed when drools will be migrated to quarkus release containing this fix https://github.com/quarkusio/quarkus/pull/38365 -->
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>exec-maven-plugin</artifactId>
+ <version>3.1.1</version>
+ <dependencies>
+ <dependency>
+ <groupId>org.drools</groupId>
+ <artifactId>drools-util</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ </dependencies>
+ <executions>
+ <execution>
+ <id>Remove comments from quarkus-extension.properties</id>
+ <phase>prepare-package</phase>
+ <goals>
+ <goal>java</goal>
+ </goals>
+ <configuration>
+ <includePluginDependencies>true</includePluginDependencies>
+ <mainClass>org.drools.util.RemoveCommentsMain</mainClass>
+ <arguments>
+ <argument>${project.basedir}/target/classes/META-INF/quarkus-extension.properties</argument>
+ </arguments>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
</project>
diff --git a/optaplanner-quarkus-integration/optaplanner-quarkus/deployment/pom.xml b/optaplanner-quarkus-integration/optaplanner-quarkus/deployment/pom.xml
index 8e7e0c7..6d7c9d9 100644
--- a/optaplanner-quarkus-integration/optaplanner-quarkus/deployment/pom.xml
+++ b/optaplanner-quarkus-integration/optaplanner-quarkus/deployment/pom.xml
@@ -148,6 +148,8 @@
<mainClass>org.drools.util.RemoveCommentsMain</mainClass>
<arguments>
<argument>${project.basedir}/target/classes/META-INF/quarkus-javadoc.properties</argument>
+ <argument>${project.basedir}/target/generated-sources/annotations/org/optaplanner/quarkus/deployment/config/OptaPlannerBuildTimeConfig.jdp</argument>
+ <argument>${project.basedir}/target/generated-sources/annotations/org/optaplanner/quarkus/deployment/config/SolverBuildTimeConfig.jdp</argument>
</arguments>
</configuration>
</execution>
diff --git a/optaplanner-quarkus-integration/optaplanner-quarkus/runtime/pom.xml b/optaplanner-quarkus-integration/optaplanner-quarkus/runtime/pom.xml
index 799cf28..2e7bd02 100644
--- a/optaplanner-quarkus-integration/optaplanner-quarkus/runtime/pom.xml
+++ b/optaplanner-quarkus-integration/optaplanner-quarkus/runtime/pom.xml
@@ -131,29 +131,11 @@
<mainClass>org.drools.util.RemoveCommentsMain</mainClass>
<arguments>
<argument>${project.basedir}/target/classes/META-INF/quarkus-extension.properties</argument>
- </arguments>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <!-- Remove comments from META-INF/quarkus-extension.properties -->
- <!-- This is needed because the file generated by quarkus contains a timestamp in a comment that makes the build not reproducible -->
- <!-- This workaround can be removed when drools will be migrated to quarkus release containing this fix https://github.com/quarkusio/quarkus/pull/38365 -->
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>exec-maven-plugin</artifactId>
- <version>3.1.1</version>
- <executions>
- <execution>
- <id>Remove comments from quarkus-javadoc.properties</id>
- <phase>prepare-package</phase>
- <goals>
- <goal>java</goal>
- </goals>
- <configuration>
- <mainClass>org.drools.util.RemoveCommentsMain</mainClass>
- <arguments>
<argument>${project.basedir}/target/classes/META-INF/quarkus-javadoc.properties</argument>
+ <argument>${project.basedir}/target/generated-sources/annotations/org/optaplanner/quarkus/config/OptaPlannerRuntimeConfig.jdp</argument>
+ <argument>${project.basedir}/target/generated-sources/annotations/org/optaplanner/quarkus/config/SolverManagerRuntimeConfig.jdp</argument>
+ <argument>${project.basedir}/target/generated-sources/annotations/org/optaplanner/quarkus/config/SolverRuntimeConfig.jdp</argument>
+ <argument>${project.basedir}/target/generated-sources/annotations/org/optaplanner/quarkus/config/TerminationRuntimeConfig.jdp</argument>
</arguments>
</configuration>
</execution>