@@ -150,7 +150,7 @@ You can configure the plugin in `pom.xml`:
150150<plugin >
151151 <groupId >com.google.cloud.functions</groupId >
152152 <artifactId >function-maven-plugin</artifactId >
153- <version >0.9.1 </version >
153+ <version >0.9.2 </version >
154154 <configuration >
155155 <functionTarget >com.example.function.Echo</functionTarget >
156156 </configuration >
@@ -168,7 +168,7 @@ mvn function:run
168168You can alternatively configure the plugin with properties on the command line:
169169
170170``` sh
171- mvn com.google.cloud.functions:function-maven-plugin:0.9.1 :run \
171+ mvn com.google.cloud.functions:function-maven-plugin:0.9.2 :run \
172172 -Drun.functionTarget=com.example.function.Echo
173173```
174174
@@ -179,15 +179,15 @@ Copy the Functions Framework jar to a local location like this:
179179
180180``` sh
181181mvn dependency:copy \
182- -Dartifact=' com.google.cloud.functions.invoker:java-function-invoker:1.0.0-alpha-2-rc4 ' \
182+ -Dartifact=' com.google.cloud.functions.invoker:java-function-invoker:1.0.0-alpha-2-rc5 ' \
183183 -DoutputDirectory=.
184184```
185185
186186In this example we use the current directory ` . ` but you can specify any other
187187directory to copy to. Then run your function:
188188
189189``` sh
190- java -jar java-function-invoker-1.0.0-alpha-2-rc4 .jar \
190+ java -jar java-function-invoker-1.0.0-alpha-2-rc5 .jar \
191191 --classpath myfunction.jar \
192192 --target com.example.HelloWorld
193193```
@@ -207,7 +207,7 @@ configurations {
207207
208208dependencies {
209209 implementation 'com.google.cloud.functions:functions-framework-api:1.0.1'
210- invoker 'com.google.cloud.functions.invoker:java-function-invoker:1.0.0-alpha-2-rc4 '
210+ invoker 'com.google.cloud.functions.invoker:java-function-invoker:1.0.0-alpha-2-rc5 '
211211}
212212
213213tasks.register("runFunction", JavaExec) {
@@ -280,7 +280,7 @@ Framework directly, you must use `--classpath` to indicate how to find the code
280280and its dependencies. For example:
281281
282282```
283- java -jar java-function-invoker-1.0.0-alpha-2-rc4 .jar \
283+ java -jar java-function-invoker-1.0.0-alpha-2-rc5 .jar \
284284 --classpath 'myfunction.jar:/some/directory:/some/library/*' \
285285 --target com.example.HelloWorld
286286```
0 commit comments