Skip to content

Commit 80447c4

Browse files
authored
update dependency for vulnerablilities fix (#701)
* update dependency for vulnerablilities fix * remove parent to resolve vul issue * update surefire version
1 parent 4111a33 commit 80447c4

File tree

1 file changed

+18
-9
lines changed

1 file changed

+18
-9
lines changed

pom.xml

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@
44
<artifactId>azure-functions-java-worker</artifactId>
55
<version>2.9.1</version>
66
<packaging>jar</packaging>
7-
<parent>
8-
<groupId>com.microsoft.maven</groupId>
9-
<artifactId>java-8-parent</artifactId>
10-
<version>8.0.0</version>
11-
</parent>
127
<name>Azure Functions Java Worker</name>
138
<description>This package contains the Java Language Worker used by Azure functions host to execute java functions</description>
149
<url>https://azure.microsoft.com/en-us/services/functions</url>
@@ -77,17 +72,17 @@
7772
<dependency>
7873
<groupId>io.grpc</groupId>
7974
<artifactId>grpc-protobuf</artifactId>
80-
<version>1.45.0</version>
75+
<version>1.45.2</version>
8176
</dependency>
8277
<dependency>
8378
<groupId>io.grpc</groupId>
8479
<artifactId>grpc-stub</artifactId>
85-
<version>1.45.0</version>
80+
<version>1.45.2</version>
8681
</dependency>
8782
<dependency>
8883
<groupId>io.grpc</groupId>
8984
<artifactId>grpc-netty-shaded</artifactId>
90-
<version>1.45.0</version>
85+
<version>1.45.2</version>
9186
</dependency>
9287
<dependency>
9388
<groupId>com.google.code.gson</groupId>
@@ -102,7 +97,7 @@
10297
<dependency>
10398
<groupId>commons-cli</groupId>
10499
<artifactId>commons-cli</artifactId>
105-
<version>1.4</version>
100+
<version>1.5.0</version>
106101
</dependency>
107102
<dependency>
108103
<groupId>javax.annotation</groupId>
@@ -294,6 +289,20 @@
294289
</execution>
295290
</executions>
296291
</plugin>
292+
<plugin>
293+
<groupId>org.apache.maven.plugins</groupId>
294+
<artifactId>maven-surefire-plugin</artifactId>
295+
<version>2.22.1</version>
296+
<configuration>
297+
<workingDirectory>${project.build.directory}</workingDirectory>
298+
<systemProperties>
299+
<property>
300+
<name>testing-project-jar</name>
301+
<value>${project.artifactId}-${project.version}-tests.jar</value>
302+
</property>
303+
</systemProperties>
304+
</configuration>
305+
</plugin>
297306
</plugins>
298307
</build>
299308
</project>

0 commit comments

Comments
 (0)