Coder Social home page Coder Social logo

classicvalues / protobuf-jar-publisher Goto Github PK

View Code? Open in Web Editor NEW

This project forked from avast/protobuf-jar-publisher

0.0 1.0 0.0 107 KB

Docker image that compiles proto files to single JAR and publishes it to a Maven repository.

License: MIT License

Dockerfile 100.00%

protobuf-jar-publisher's Introduction

Protobuf JAR Publisher Docker Automated build

Docker image that compiles proto files to single JAR and publishes it to a Maven repository.

docker run --rm -v /path/to/my/protos:/in avastsoftware/protobuf-jar-publisher \
 -PprotobufVersion=3.9.1 -PgrpcVersion=1.23.0 \
 -PgroupId=com.mycompany.backend -PartifactId=myapp -Pversion=1.0.0 \
 -PmavenUrl=https://maven.mycompany.com -PpublishMavenUrl=https://maven.mycompany.com -PmavenUsername=me -PmavenPassword=secret

It's implemented as Gradle project so all the properties are prefixed with -P.

Property Required Default value Description
protobufVersion yes Version of protoc and protobuf-java to be used for compilation.
grpcVersion no gRPC version to use. If not specified then gRPC plugin is not activated.
groupId yes groupId of the published artifact.
artifactId yes artifactId of the published artifact.
version yes Version of the published artifact.
mavenUrl no Maven Central Url Maven used to resolve runtime dependencies.
publishMavenUrl no mavenUrl Maven to publish to.
mavenUsername no Username used when publishing to Maven.
mavenPassword no Password used when publishing to Maven.

protobuf-jar-publisher's People

Contributors

augi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.