Skip to content

Commit

Permalink
Merge pull request #267 from anika-apel/patch-1
Browse files Browse the repository at this point in the history
Fix JAVA_MAIN_CLASS  when adding external dependencies
  • Loading branch information
lbroudoux authored Jan 17, 2025
2 parents 67b6514 + 704b616 commit f2d0cb5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions content/documentation/guides/installation/externals.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ The first step is very convenient when you’re having a local evaluation of Mic
- ./lib:/deployments/lib
environment:
- JAVA_OPTIONS=-Dloader.path=/deployments/lib
- JAVA_MAIN_CLASS=org.springframework.boot.loader.PropertiesLauncher
- JAVA_MAIN_CLASS=org.springframework.boot.loader.launch.PropertiesLauncher
- JAVA_APP_JAR=app.jar
```
Expand Down Expand Up @@ -89,7 +89,7 @@ FROM quay.io/microcks/microcks:latest
COPY lib /deployments/lib
ENV JAVA_OPTIONS=-Dloader.path=/deployments/lib
ENV JAVA_MAIN_CLASS=org.springframework.boot.loader.PropertiesLauncher
ENV JAVA_MAIN_CLASS=org.springframework.boot.loader.launch.PropertiesLauncher
ENV JAVA_APP_JAR=app.jar
```

Expand Down Expand Up @@ -117,4 +117,4 @@ We have set the `JAVA_CLASSPATH` to force the discovery of the new JAR files.

With this guide, you’ve learned how to integrate private or third-party Java libraries to customize the behavior of Microcks during mock invocation or when integrating with external brokers. 🎉

These capabilities pave the way for advanced use cases like the processing of common message structures or the dynamic enrichments of datasets to produce the smartest mocks.
These capabilities pave the way for advanced use cases like the processing of common message structures or the dynamic enrichments of datasets to produce the smartest mocks.

0 comments on commit f2d0cb5

Please sign in to comment.