Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -116,13 +116,13 @@ GraalVM compiles your Java functions ahead of time into standalone binaries that

<p>

To do this a <a href="https://github.com/oracle-devrel/technology-engineering/tree/main/app-dev/devops-and-containers/devops/oci-devops-terraform-function-java-graalvm">create OCI DevOps project for a Function CI/CD</a> 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 <a href="https://github.com/oracle-devrel/technology-engineering/tree/main/app-dev/devops-and-containers/devops/oci-devops-terraform-function-java-graalvm">create OCI DevOps project for a Function CI/CD</a> and then clone the repo and copy the following files with the Function <a href="./files/src/">source</a> and commit and push them to the repo:
<p>
<ul>
<li>Dockerfile.native</li>
<li>build_spec_native.yaml</li>
<li>reflection.json</li>
<li>pom.xml</li>
<li><a href="./files/Dockerfile.native">Dockerfile.native</a></li>
<li><a href="./files/build_spec_native.yaml">build_spec_native.yaml</a></li>
<li><a href="./files/reflection.json">reflection.json</a></li>
<li><a href="./files/pom.xml">pom.xml</a></li>
</ul>
<p>
After pushing run the native build pipeline and test the Function in cloud shell.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,27 @@
<artifactId>Hellofunc</artifactId>
<version>1.0-SNAPSHOT</version>

<build>
<plugins>
<plugin>
<!-- Copy dependencies -->
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<phase>install</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}/lib</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
<build>
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.7.1</version>
<configuration>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration>
<executions>
<execution>
<id>make-assembly</id> <!-- this is used for inheritance merges -->
<phase>package</phase> <!-- bind to the packaging phase -->
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

<properties>
Expand Down