Skip to content

Commit 7fa2145

Browse files
committed
fix: undo core dependences change
1 parent 4f4f233 commit 7fa2145

1 file changed

Lines changed: 14 additions & 16 deletions

File tree

zenbpm-client-core/pom.xml

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
<swagger-annotations.version>1.5.22</swagger-annotations.version>
2222
<javax.annotation-api.version>1.3.2</javax.annotation-api.version>
2323
<jsr305.version>3.0.2</jsr305.version>
24-
<javax.ws.rs-api.version>2.1.1</javax.ws.rs-api.version>
2524
<grpc.version>1.78.0</grpc.version>
2625
<protobuf-java.version>4.33.2</protobuf-java.version>
2726
</properties>
@@ -50,12 +49,6 @@
5049
<version>${javax.annotation-api.version}</version>
5150
</dependency>
5251

53-
<dependency>
54-
<groupId>javax.ws.rs</groupId>
55-
<artifactId>javax.ws.rs-api</artifactId>
56-
<version>${javax.ws.rs-api.version}</version>
57-
</dependency>
58-
5952
<dependency>
6053
<groupId>com.google.code.findbugs</groupId>
6154
<artifactId>jsr305</artifactId>
@@ -117,7 +110,7 @@
117110
<plugin>
118111
<groupId>org.openapitools</groupId>
119112
<artifactId>openapi-generator-maven-plugin</artifactId>
120-
<version>6.6.0</version>
113+
<version>7.17.0</version>
121114
<executions>
122115
<execution>
123116
<phase>generate-sources</phase>
@@ -151,20 +144,25 @@
151144
</plugin>
152145

153146
<plugin>
154-
<groupId>org.xolstice.maven.plugins</groupId>
147+
<groupId>io.github.ascopes</groupId>
155148
<artifactId>protobuf-maven-plugin</artifactId>
156-
<version>0.6.1</version>
157149
<configuration>
158-
<protocArtifact>com.google.protobuf:protoc:${protobuf-java.version}:exe:${os.detected.classifier}</protocArtifact>
159-
<pluginId>grpc-java</pluginId>
160-
<pluginArtifact>io.grpc:protoc-gen-grpc-java:${grpc.version}:exe:${os.detected.classifier}</pluginArtifact>
161-
<protoSourceRoot>${project.basedir}/src/main/resources/proto</protoSourceRoot>
150+
<protoc>${protobuf-java.version}</protoc>
151+
<sourceDirectories>
152+
<directory>src/main/resources/proto</directory>
153+
</sourceDirectories>
154+
<plugins>
155+
<plugin kind="binary-maven">
156+
<groupId>io.grpc</groupId>
157+
<artifactId>protoc-gen-grpc-java</artifactId>
158+
<version>${grpc.version}</version>
159+
</plugin>
160+
</plugins>
162161
</configuration>
163162
<executions>
164163
<execution>
165164
<goals>
166-
<goal>compile</goal>
167-
<goal>compile-custom</goal>
165+
<goal>generate</goal>
168166
</goals>
169167
</execution>
170168
</executions>

0 commit comments

Comments
 (0)