GEBIT / protobuf-dt

A plugin for Eclipse to edit Protocol Buffer (.proto) files
https://marketplace.eclipse.org/content/protocol-buffer-editor
Eclipse Public License 1.0
5 stars 2 forks source link

Dependency inclusion only works for Java projects, not (pure) Maven projects #7

Closed S1artie closed 3 days ago

S1artie commented 3 days ago

In issue #1 support for inclusion of .proto imports from project dependencies was added. However, this support only worked if the Eclipse project that contained the .proto files with the import statements was a Java project. If it was just a Maven project (having the Maven nature and not the Java nature), the Maven dependencies were not resolved and .proto files in those dependencies were not found.

A workaround was converting the project to a Java nature, but ideally, protobuf-dt should also be able to resolve the Maven dependencies directly, with help of m2eclipse.