-
Environment
ProblemWhen using Full plugin configuration used: <plugin>
<groupId>io.github.ascopes</groupId>
<artifactId>protobuf-maven-plugin</artifactId>
<version>${protobuf-maven-plugin.version}</version>
<configuration>
<protoc>${protobuf.version}</protoc>
<sourceDirectories>
<sourceDirectory>${project.basedir}/../schemas/proto</sourceDirectory>
</sourceDirectories>
<plugins>
<plugin kind="jvm-maven">
<groupId>io.grpc</groupId>
<artifactId>protoc-gen-grpc-kotlin</artifactId>
<version>1.5.0</version>
</plugin>
</plugins>
</configuration>
<executions>
<execution>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
</plugin>The artifact is successfully resolved from Maven Central (the download attempts are visible in the log), but the plugin resolver crashes internally when processing it — seemingly because it expects at least one element in a list that ends up empty. QuestionCould you please provide a working example of how to correctly configure I couldn't find an official example in the documentation covering the |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 9 replies
-
|
Hey No I'd definitely expect this to work! I shall take a look into it and get back to you. Will convert this to an issue. Even if it wasn't supported, we'd want to give a sensible error in this case! Apologies for the problems. |
Beta Was this translation helpful? Give feedback.
-
|
Raised an issue. The problem seems to be no dependency is being resolved (and we're not handling that correctly 🤦🏻) Can you try |
Beta Was this translation helpful? Give feedback.
https://repo1.maven.org/maven2/io/grpc/protoc-gen-grpc-kotlin/1.5.0/
seems the artifact has a classifier on it