@@ -158,7 +158,7 @@ You can configure the plugin in `pom.xml`:
158158<plugin >
159159 <groupId >com.google.cloud.functions</groupId >
160160 <artifactId >function-maven-plugin</artifactId >
161- <version >0.9.8 </version >
161+ <version >0.10.0 </version >
162162 <configuration >
163163 <functionTarget >com.example.function.Echo</functionTarget >
164164 </configuration >
@@ -176,7 +176,7 @@ mvn function:run
176176You can alternatively configure the plugin with properties on the command line:
177177
178178``` sh
179- mvn com.google.cloud.functions:function-maven-plugin:0.9.7 :run \
179+ mvn com.google.cloud.functions:function-maven-plugin:0.10.0 :run \
180180 -Drun.functionTarget=com.example.function.Echo
181181```
182182
@@ -187,15 +187,15 @@ Copy the Functions Framework jar to a local location like this:
187187
188188``` sh
189189mvn dependency:copy \
190- -Dartifact=' com.google.cloud.functions.invoker:java-function-invoker:1.0.3 ' \
190+ -Dartifact=' com.google.cloud.functions.invoker:java-function-invoker:1.1.0 ' \
191191 -DoutputDirectory=.
192192```
193193
194194In this example we use the current directory ` . ` but you can specify any other
195195directory to copy to. Then run your function:
196196
197197``` sh
198- java -jar java-function-invoker-1.0.3 \
198+ java -jar java-function-invoker-1.1.0 \
199199 --classpath myfunction.jar \
200200 --target com.example.HelloWorld
201201```
@@ -215,7 +215,7 @@ configurations {
215215
216216dependencies {
217217 implementation 'com.google.cloud.functions:functions-framework-api:1.0.4'
218- invoker 'com.google.cloud.functions.invoker:java-function-invoker:1.0.2 '
218+ invoker 'com.google.cloud.functions.invoker:java-function-invoker:1.1.0 '
219219}
220220
221221tasks.register("runFunction", JavaExec) {
@@ -288,7 +288,7 @@ Framework directly, you must use `--classpath` to indicate how to find the code
288288and its dependencies. For example:
289289
290290```
291- java -jar java-function-invoker-1.0.3 \
291+ java -jar java-function-invoker-1.1.0 \
292292 --classpath 'myfunction.jar:/some/directory:/some/library/*' \
293293 --target com.example.HelloWorld
294294```
0 commit comments