How would I publish a java protobuf jar to my nexus repo?

On my build server I'm planning on generating a JAR file from my proto spec. I'd like to ideally publish that jar to my nexus server so my Java projects can pull that dependency down like any other dependency. How should I structure that on the build server side?

Answers


You haven't specified which build tool you're using.

One option is to upload the file using the Maven command-line:

A second option is to use the Nexus repository upload UI.

(In both cases the Maven module POM will be generated for you).


Need Your Help

Display thumbnails before upload

javascript jquery image thumbnails

I am very unexperienced in Javascript/Jquery therefore I use the JavaScript Load Image plugin to handle the front end of my image upload process.

WPF Binding dynamic control in code behind to ViewModel

wpf dynamic controls code-behind

I'm building a custom UserControl in WPF, which has a ViewModel associated. I also want do dynamically make controls in the code behind. But now I'm having problems binding the generated controls w...