Open MartinBalin opened 1 year ago
There is no easy fix for this one. You will have to edit one file after the project is cloned: in checkouts/micronaut-oracle-cloud
, apply the following patch:
diff --git a/buildSrc/src/main/groovy/io.micronaut.build.internal.oraclecloud-bom.gradle b/buildSrc/src/main/groovy/io.micronaut.build.internal.oraclecloud-bom.gradle
index 268cc470..7b71ed83 100644
--- a/buildSrc/src/main/groovy/io.micronaut.build.internal.oraclecloud-bom.gradle
+++ b/buildSrc/src/main/groovy/io.micronaut.build.internal.oraclecloud-bom.gradle
@@ -12,7 +12,7 @@ if (!extraPropertiesExtension.has('ociArtifacts')) {
String ociVersion = libs.oci.bom.get().version
def ociArtifacts = parseOciBomArtifacts(ociVersion)
- String ociProjectVersion = new XmlSlurper().parse("checkouts/oci-java-sdk/bmc-bom/pom.xml").version.text()
+ String ociProjectVersion = new XmlSlurper().parse("checkouts/micronaut-oracle-cloud/checkouts/oci-java-sdk/bmc-bom/pom.xml").version.text()
def ociProjectArtifacts = parseOciBomArtifacts(ociProjectVersion)
if (ociVersion != ociProjectVersion) {
Comment as of Oracle Cloud module v 4.1.0 line has to be changed to:
String ociProjectVersion = new XmlSlurper().parse("checkouts/micronaut-oracle-cloud/target/checkouts/oci-java-sdk/bmc-bom/pom.xml").version.text()
target
folder added to checkout of OCI SDK.
Cloned tip of master. Modified build.gradle.kts to be like:
Run the report using
openjdk version "17.0.8.1" 2023-08-24
command line:It fails after 1+minute with following error:
See full output below