Code Monkey home page Code Monkey logo

mavenrepopublisher's Introduction

MavenRepoPublisher

简介

本程序主要用于把本地maven仓库中的jar包发布到远程的git仓库中。

Build

./gradlew shadowJar

在libs目录下会生成build的输出,这个输出会把整个依赖库打包在一起,这样就可以直接运行。

使用方法

java -jar MavenRepoPublisher-1.0-SNAPSHOT-all.jar [local maven repository directory] [maven repo]

参数说明:

  • [local maven repository directory] :本地仓库目录
  • [maven repo] : 本地git maven 目录

例如:

java -jar MavenRepoPublisher-1.0-SNAPSHOT-all.jar org/grails/grails-datastore-gorm-mongodb ../maven

实现逻辑

  1. 用git pull来更新本地maven库
  2. 把.m2目录下的本地库复制到本地maven项目目录下
  3. git commit
  4. git push

mavenrepopublisher's People

Contributors

dreampursuernew 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.