From 339901febfb66967603ba4c0537724bfbfb0b423 Mon Sep 17 00:00:00 2001 From: Mika Rinne Date: Fri, 14 Mar 2025 17:16:23 +0200 Subject: [PATCH 1/2] native build modified with OCI DevOps --- .../README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app-dev/devops-and-containers/functions/java-helloworld-AI-with-local-dev-and-oci-functions/README.md b/app-dev/devops-and-containers/functions/java-helloworld-AI-with-local-dev-and-oci-functions/README.md index 4baf112b2..a1882a1ae 100644 --- a/app-dev/devops-and-containers/functions/java-helloworld-AI-with-local-dev-and-oci-functions/README.md +++ b/app-dev/devops-and-containers/functions/java-helloworld-AI-with-local-dev-and-oci-functions/README.md @@ -116,13 +116,13 @@ GraalVM compiles your Java functions ahead of time into standalone binaries that

-To do this a create OCI DevOps project for a Function CI/CD and then clone the repo and copy the following files with the Function source and commit and push them to the repo: +To do this create OCI DevOps project for a Function CI/CD and then clone the repo and copy the following files with the Function source and commit and push them to the repo:

After pushing run the native build pipeline and test the Function in cloud shell. From 0e7a6dc69fbff844e6938170baa5b0570a2ceffb Mon Sep 17 00:00:00 2001 From: Mika Rinne Date: Fri, 14 Mar 2025 17:20:33 +0200 Subject: [PATCH 2/2] native build modified with OCI DevOps --- .../files/pom.xml | 39 ++++++++++--------- 1 file changed, 21 insertions(+), 18 deletions(-) diff --git a/app-dev/devops-and-containers/functions/java-helloworld-AI-with-local-dev-and-oci-functions/files/pom.xml b/app-dev/devops-and-containers/functions/java-helloworld-AI-with-local-dev-and-oci-functions/files/pom.xml index d61036a50..6b7235de7 100644 --- a/app-dev/devops-and-containers/functions/java-helloworld-AI-with-local-dev-and-oci-functions/files/pom.xml +++ b/app-dev/devops-and-containers/functions/java-helloworld-AI-with-local-dev-and-oci-functions/files/pom.xml @@ -8,24 +8,27 @@ Hellofunc 1.0-SNAPSHOT - - - - - maven-dependency-plugin - - - install - - copy-dependencies - - - ${project.build.directory}/lib - - - - - + + + + maven-assembly-plugin + 3.7.1 + + + jar-with-dependencies + + + + + make-assembly + package + + single + + + + +