GithubHelp home page GithubHelp logo

shuttlecraft's Introduction

Shuttlecraft

A small library for deploying your artifacts to the remote repository

Supported remote repositories:

  • Maven2 (including Nexus and Artifactory)

Soon to be supported:

  • Nexus release staging
  • Publishing to a local directory (e. g. ~/.m2)

Usage

See Demo.scala

implicit val dir = Paths.get(System.getProperty("fury.sharedDir"))

val jar = Paths.get("target", "shuttlecraft-demo.jar")

val artifact = Artifact(
  groupId = "com.example",
  artifactId = "shuttlecraft",
  version = "0.0.1-SNAPSHOT",
  author = None,
  license = None,
  dependencies = Set(
    ("com.lihaoyi","ujson_2.12","0.7.1")
  ),
  jar = jar
)

val mvnApi = new Maven2HttpApi(
  repositoryUrl = "http://localhost:8081/nexus/content/repositories/snapshots/",
  username = "admin",
  password = "admin123"
)

val bar = new Maven2ResourceFactory(gpgPassphrase = None, signed = false)

val publisher = new Maven2Publisher(mvnApi, resourceGen)

publisher.publish(artifact).recover{ case NonFatal(e) => log.error("Failed to publish the artifact", e) }

shuttlecraft's People

Contributors

odisseus avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

shuttlecraft's Issues

Adding a license to the artifact

The user should be able to add a custom license file, which would be published along with the rest of the files that comprise the artifact.

Reporting progress

Shuttlecraft should report the progress of tasks more or less in real time, e. g. by drawing progress bars in the terminal.

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.