Skip to content

Commit 9f350c6

Browse files
committed
Import the modified pom.xml files from the latest release, and update the README to reflect the new version numbers.
PiperOrigin-RevId: 300445429
1 parent 0862d45 commit 9f350c6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -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
153153
You 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
166166
mvn 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

171171
In this example we use the current directory `.` but you can specify any other
172172
directory 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
222222
and 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

Comments
 (0)