Skip to content

Commit 62fc397

Browse files
authored
Updategrpc (#125)
* Dependency and plugin updates
1 parent 98e653a commit 62fc397

File tree

3 files changed

+31
-14
lines changed

3 files changed

+31
-14
lines changed

README.md

+17
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,23 @@ And the binary will be built to `"./azure-functions-java-worker/target/azure-fun
4242

4343
If you have updated the core interface (azure-functions-java-core), a `mvn clean install` is required for your test functions app to reference the latest core package.
4444

45+
## Updating Dependencies and Plugins
46+
* Update dependencies
47+
```
48+
mvn versions:use-latest-versions
49+
```
50+
* Update plugins
51+
```
52+
mvn versions:display-plugin-updates
53+
54+
```
55+
For each of the plugin that displayed, update pom.xml
56+
57+
* Update version
58+
59+
```
60+
mvn release:update-versions
61+
```
4562
## Debug
4663

4764
The Java worker alone is not enough to establish the functions app, we also need the support from [Azure Functions Host](https://github.com/Azure/azure-functions-host). You may either use a published host CLI or use the in-development host. But both of the methods require you to attach to the java process if you want a step-by-step debugging experience.

appveyor.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ build_script:
2727
- ps: |
2828
$buildNumber = 0
2929
if($env:APPVEYOR_REPO_TAG -eq "true") {
30-
$buildNumber = $env:APPVEYOR_REPO_TAG_NAME
31-
Write-Host “Found git tag. Setting package suffix to '$buildNumber'"
30+
$buildNumber = ""
31+
Write-Host “Found git tag. Not setting package suffix"
3232
}
3333
else {
3434
$buildNumber = "-$env:APPVEYOR_BUILD_NUMBER"
35-
Write-Host “No git tag found. Setting package suffix to '$buildNumber'"
35+
Write-Host “git tag not found. Setting package suffix to '$buildNumber'"
3636
}
3737
nuget pack ./tools/AzureFunctionsJavaWorker.nuspec -Properties versionsuffix=$buildNumber
3838

pom.xml

+11-11
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<modelVersion>4.0.0</modelVersion>
33
<groupId>com.microsoft.azure.functions</groupId>
44
<artifactId>azure-functions-java-worker</artifactId>
5-
<version>1.0.0-beta-5</version>
5+
<version>1.0.0-beta-6</version>
66
<packaging>jar</packaging>
77

88
<name>Microsoft Azure Functions Java Runtime</name>
@@ -49,32 +49,32 @@
4949
<dependency>
5050
<groupId>com.google.protobuf</groupId>
5151
<artifactId>protobuf-java</artifactId>
52-
<version>3.4.0</version>
52+
<version>3.5.1</version>
5353
</dependency>
5454
<dependency>
5555
<groupId>io.grpc</groupId>
5656
<artifactId>grpc-protobuf</artifactId>
57-
<version>1.6.1</version>
57+
<version>1.12.0</version>
5858
</dependency>
5959
<dependency>
6060
<groupId>io.grpc</groupId>
6161
<artifactId>grpc-stub</artifactId>
62-
<version>1.6.1</version>
62+
<version>1.12.0</version>
6363
</dependency>
6464
<dependency>
6565
<groupId>io.grpc</groupId>
6666
<artifactId>grpc-netty</artifactId>
67-
<version>1.6.1</version>
67+
<version>1.12.0</version>
6868
</dependency>
6969
<dependency>
7070
<groupId>com.google.guava</groupId>
7171
<artifactId>guava</artifactId>
72-
<version>23.2-jre</version>
72+
<version>25.1-jre</version>
7373
</dependency>
7474
<dependency>
7575
<groupId>org.apache.commons</groupId>
7676
<artifactId>commons-lang3</artifactId>
77-
<version>3.6</version>
77+
<version>3.7</version>
7878
</dependency>
7979
<dependency>
8080
<groupId>commons-cli</groupId>
@@ -84,17 +84,17 @@
8484
<dependency>
8585
<groupId>com.fasterxml.jackson.core</groupId>
8686
<artifactId>jackson-databind</artifactId>
87-
<version>2.9.5</version>
87+
<version>2.9.6</version>
8888
</dependency>
8989
<dependency>
9090
<groupId>com.fasterxml.jackson.core</groupId>
9191
<artifactId>jackson-annotations</artifactId>
92-
<version>2.9.5</version>
92+
<version>2.9.6</version>
9393
</dependency>
9494
<dependency>
9595
<groupId>javax.annotation</groupId>
9696
<artifactId>javax.annotation-api</artifactId>
97-
<version>1.3.1</version>
97+
<version>1.3.2</version>
9898
</dependency>
9999
<dependency>
100100
<groupId>junit</groupId>
@@ -116,7 +116,7 @@
116116
<plugin>
117117
<groupId>org.xolstice.maven.plugins</groupId>
118118
<artifactId>protobuf-maven-plugin</artifactId>
119-
<version>0.5.0</version>
119+
<version>0.5.1</version>
120120
<configuration>
121121
<protocArtifact>com.google.protobuf:protoc:3.4.0:exe:${os.detected.classifier}</protocArtifact>
122122
<pluginId>grpc-java</pluginId>

0 commit comments

Comments
 (0)