This is an automated email from the ASF dual-hosted git repository. lucamolteni pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/incubator-kie-optaplanner.git
commit 08419e4f7c306ffb80ca17304bc97f21d87f6761 Author: Luca Molteni <[email protected]> AuthorDate: Mon Jan 29 14:42:34 2024 +0100 All files to be cleaned for reproducibility --- .../deployment/pom.xml | 24 +++++++++++++++++ .../optaplanner-quarkus-benchmark/runtime/pom.xml | 25 +++++++++++++++++ .../optaplanner-quarkus-jackson/deployment/pom.xml | 31 ++++++++++++++++++++++ .../optaplanner-quarkus-jackson/runtime/pom.xml | 31 ++++++++++++++++++++++ .../optaplanner-quarkus-jsonb/deployment/pom.xml | 31 ++++++++++++++++++++++ .../optaplanner-quarkus-jsonb/runtime/pom.xml | 31 ++++++++++++++++++++++ .../optaplanner-quarkus/deployment/pom.xml | 2 ++ .../optaplanner-quarkus/runtime/pom.xml | 26 +++--------------- 8 files changed, 179 insertions(+), 22 deletions(-) diff --git a/optaplanner-quarkus-integration/optaplanner-quarkus-benchmark/deployment/pom.xml b/optaplanner-quarkus-integration/optaplanner-quarkus-benchmark/deployment/pom.xml index 9ec3c94eda..6e79e49bed 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 2dcbb2d5a5..3c93450b33 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 950f767c91..cb05d38b4d 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 f42a2da5be..0004740a1b 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 353abd04b7..984137a3c1 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 e1d07f0335..a01193237f 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 8e7e0c7808..6d7c9d91a4 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 799cf288c3..2e7bd02a8d 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> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
