@@ -135,7 +135,7 @@ You can configure the plugin in `pom.xml`:
135135<plugin >
136136 <groupId >com.google.cloud.functions</groupId >
137137 <artifactId >function-maven-plugin</artifactId >
138- <version >0.9</version >
138+ <version >0.9.1 </version >
139139 <configuration >
140140 <functionTarget >com.example.function.Echo</functionTarget >
141141 </configuration >
@@ -153,7 +153,7 @@ mvn function:run
153153You can alternatively configure the plugin with properties on the command line:
154154
155155``` sh
156- mvn com.google.cloud.functions:function:0.9:run \
156+ mvn com.google.cloud.functions:function:0.9.1 :run \
157157 -Drun.functionTarget=com.example.function.Echo
158158```
159159
@@ -164,15 +164,15 @@ Copy the Functions Framework jar to a local location like this:
164164
165165``` sh
166166mvn dependency:copy \
167- -Dartifact=' com.google.cloud.functions.invoker:java-function-invoker:1.0.0-alpha-2-rc3 ' \
167+ -Dartifact=' com.google.cloud.functions.invoker:java-function-invoker:1.0.0-alpha-2-rc4 ' \
168168 -DoutputDirectory=.
169169```
170170
171171In this example we use the current directory ` . ` but you can specify any other
172172directory to copy to. Then run your function:
173173
174174``` sh
175- java -jar java-function-invoker-1.0.0-alpha-2-rc3 .jar \
175+ java -jar java-function-invoker-1.0.0-alpha-2-rc4 .jar \
176176 --classpath myfunction.jar \
177177 --target com.example.HelloWorld
178178```
@@ -222,7 +222,7 @@ Framework directly, you must use `--classpath` to indicate how to find the code
222222and its dependencies. For example:
223223
224224```
225- java -jar java-function-invoker-1.0.0-alpha-2-rc3 .jar \
225+ java -jar java-function-invoker-1.0.0-alpha-2-rc4 .jar \
226226 --classpath 'myfunction.jar:/some/directory:/some/library/*' \
227227 --target com.example.HelloWorld
228228```
0 commit comments