> 1) The scope is changed to "provided" in this case, why the final jar still
> contains protobuf-java classes?
> 2) If the above way is not the right way to handle this case, what should I
> do? Basically, I want hive-jdbc as "compile", but exclude "protobuf-java"
> dependency.

1. Not sure why that is happening.

2. Try adding an explicit dependency to protobuf-java in your own
project pom, and specify the scope as provided there. See if that
forces it to do what you want.

Wayne

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to