|
2 | 2 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
3 | 3 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> |
4 | 4 | <modelVersion>4.0.0</modelVersion> |
| 5 | + <parent> |
| 6 | + <groupId>org.springframework.boot</groupId> |
| 7 | + <artifactId>spring-boot-starter-parent</artifactId> |
| 8 | + <version>2.3.3.RELEASE</version> |
| 9 | + <relativePath/> <!-- lookup parent from repository --> |
| 10 | + </parent> |
| 11 | + |
5 | 12 | <groupId>io.github.majusko</groupId> |
6 | 13 | <artifactId>grpc-jwt-spring-boot-starter</artifactId> |
7 | 14 | <version>1.0.4</version> |
|
12 | 19 | <java.version>1.8</java.version> |
13 | 20 | <maven.compiler.target>1.8</maven.compiler.target> |
14 | 21 | <maven.compiler.source>1.8</maven.compiler.source> |
15 | | - <grpc.version>1.24.0</grpc.version> |
| 22 | + <grpc.version>1.31.1</grpc.version> |
16 | 23 | <os-maven-plugin.version>1.6.2</os-maven-plugin.version> |
17 | 24 | <protobuf-maven-plugin.version>0.6.1</protobuf-maven-plugin.version> |
18 | 25 | </properties> |
|
34 | 41 | <dependency> |
35 | 42 | <groupId>io.jsonwebtoken</groupId> |
36 | 43 | <artifactId>jjwt-impl</artifactId> |
37 | | - <version>0.10.5</version> |
| 44 | + <version>0.11.2</version> |
38 | 45 | <scope>runtime</scope> |
39 | 46 | </dependency> |
40 | 47 |
|
41 | 48 | <dependency> |
42 | 49 | <groupId>io.jsonwebtoken</groupId> |
43 | 50 | <artifactId>jjwt-jackson</artifactId> |
44 | | - <version>0.10.5</version> |
| 51 | + <version>0.11.2</version> |
45 | 52 | <scope>runtime</scope> |
46 | 53 | </dependency> |
47 | 54 |
|
48 | 55 | <dependency> |
49 | 56 | <groupId>io.github.lognet</groupId> |
50 | 57 | <artifactId>grpc-spring-boot-starter</artifactId> |
51 | | - <version>3.4.3</version> |
| 58 | + <version>3.5.7</version> |
| 59 | + </dependency> |
| 60 | + |
| 61 | + <dependency> |
| 62 | + <groupId>org.projectlombok</groupId> |
| 63 | + <artifactId>lombok</artifactId> |
| 64 | + <version>1.18.12</version> |
| 65 | + <scope>provided</scope> |
52 | 66 | </dependency> |
53 | 67 |
|
| 68 | + |
| 69 | + <!-- TESTS --> |
54 | 70 | <dependency> |
55 | 71 | <groupId>org.springframework.boot</groupId> |
56 | 72 | <artifactId>spring-boot-starter-test</artifactId> |
57 | | - <version>1.5.13.RELEASE</version> |
58 | 73 | <scope>test</scope> |
| 74 | + <exclusions> |
| 75 | + <!-- exclude junit 4 --> |
| 76 | + <exclusion> |
| 77 | + <groupId>junit</groupId> |
| 78 | + <artifactId>junit</artifactId> |
| 79 | + </exclusion> |
| 80 | + <exclusion> |
| 81 | + <groupId>org.junit.vintage</groupId> |
| 82 | + <artifactId>junit-vintage-engine</artifactId> |
| 83 | + </exclusion> |
| 84 | + </exclusions> |
59 | 85 | </dependency> |
60 | 86 |
|
| 87 | + <!-- include junit 5 --> |
61 | 88 | <dependency> |
62 | | - <groupId>io.grpc</groupId> |
63 | | - <artifactId>grpc-testing</artifactId> |
64 | | - <version>${grpc.version}</version> |
| 89 | + <groupId>org.junit.jupiter</groupId> |
| 90 | + <artifactId>junit-jupiter-engine</artifactId> |
| 91 | + <version>${junit-jupiter.version}</version> |
65 | 92 | <scope>test</scope> |
66 | 93 | </dependency> |
67 | 94 |
|
68 | 95 | <dependency> |
69 | | - <groupId>org.projectlombok</groupId> |
70 | | - <artifactId>lombok</artifactId> |
71 | | - <version>1.18.12</version> |
72 | | - <scope>provided</scope> |
| 96 | + <groupId>io.grpc</groupId> |
| 97 | + <artifactId>grpc-testing</artifactId> |
| 98 | + <version>${grpc.version}</version> |
| 99 | + <scope>test</scope> |
73 | 100 | </dependency> |
74 | 101 |
|
75 | 102 | </dependencies> |
|
116 | 143 | <groupId>org.springframework.boot</groupId> |
117 | 144 | <artifactId>spring-boot-maven-plugin</artifactId> |
118 | 145 | <version>2.3.3.RELEASE</version> |
| 146 | + <executions> |
| 147 | + <!-- use original jar for install/deploy instead of executable spring boot jar --> |
| 148 | + <execution> |
| 149 | + <id>repackage</id> |
| 150 | + <goals> |
| 151 | + <goal>repackage</goal> |
| 152 | + </goals> |
| 153 | + <configuration> |
| 154 | + <attach>false</attach> |
| 155 | + </configuration> |
| 156 | + </execution> |
| 157 | + </executions> |
119 | 158 | </plugin> |
| 159 | + |
120 | 160 | <plugin> |
121 | 161 | <artifactId>maven-compiler-plugin</artifactId> |
| 162 | + <version>3.8.1</version> |
122 | 163 | <configuration> |
123 | | - <source>1.8</source> |
124 | | - <target>1.8</target> |
| 164 | + <source>${maven.compiler.source}</source> |
| 165 | + <target>${maven.compiler.target}</target> |
125 | 166 | </configuration> |
126 | 167 | </plugin> |
| 168 | + |
127 | 169 | <plugin> |
128 | 170 | <groupId>org.jacoco</groupId> |
129 | 171 | <artifactId>jacoco-maven-plugin</artifactId> |
|
155 | 197 | </plugins> |
156 | 198 | </build> |
157 | 199 |
|
| 200 | + <distributionManagement> |
| 201 | + <snapshotRepository> |
| 202 | + <id>ossrh</id> |
| 203 | + <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 204 | + </snapshotRepository> |
| 205 | + <repository> |
| 206 | + <id>ossrh</id> |
| 207 | + <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 208 | + </repository> |
| 209 | + </distributionManagement> |
| 210 | + |
158 | 211 | <licenses> |
159 | 212 | <license> |
160 | 213 | <name>Apache License, Version 2.0</name> |
|
0 commit comments