Skip to content

Commit 0e7a6dc

Browse files
native build modified with OCI DevOps
1 parent 339901f commit 0e7a6dc

File tree

1 file changed

+21
-18
lines changed
  • app-dev/devops-and-containers/functions/java-helloworld-AI-with-local-dev-and-oci-functions/files

1 file changed

+21
-18
lines changed

app-dev/devops-and-containers/functions/java-helloworld-AI-with-local-dev-and-oci-functions/files/pom.xml

Lines changed: 21 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -8,24 +8,27 @@
88
<artifactId>Hellofunc</artifactId>
99
<version>1.0-SNAPSHOT</version>
1010

11-
<build>
12-
<plugins>
13-
<plugin>
14-
<!-- Copy dependencies -->
15-
<artifactId>maven-dependency-plugin</artifactId>
16-
<executions>
17-
<execution>
18-
<phase>install</phase>
19-
<goals>
20-
<goal>copy-dependencies</goal>
21-
</goals>
22-
<configuration>
23-
<outputDirectory>${project.build.directory}/lib</outputDirectory>
24-
</configuration>
25-
</execution>
26-
</executions>
27-
</plugin>
28-
</plugins>
11+
<build>
12+
<plugins>
13+
<plugin>
14+
<artifactId>maven-assembly-plugin</artifactId>
15+
<version>3.7.1</version>
16+
<configuration>
17+
<descriptorRefs>
18+
<descriptorRef>jar-with-dependencies</descriptorRef>
19+
</descriptorRefs>
20+
</configuration>
21+
<executions>
22+
<execution>
23+
<id>make-assembly</id> <!-- this is used for inheritance merges -->
24+
<phase>package</phase> <!-- bind to the packaging phase -->
25+
<goals>
26+
<goal>single</goal>
27+
</goals>
28+
</execution>
29+
</executions>
30+
</plugin>
31+
</plugins>
2932
</build>
3033

3134
<properties>

0 commit comments

Comments
 (0)