sbt-github-packages | A simple sbt plugin for publishing to GitHub Packages, in the style of sbt-sonatype and sbt-bintray | Build Tool library

 by   djspiewak Scala Version: v0.5.3 License: Apache-2.0

kandi X-RAY | sbt-github-packages Summary

kandi X-RAY | sbt-github-packages Summary

sbt-github-packages is a Scala library typically used in Utilities, Build Tool applications. sbt-github-packages has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

A simple sbt plugin for publishing to GitHub Packages, in the style of sbt-sonatype and sbt-bintray
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              sbt-github-packages has a low active ecosystem.
              It has 158 star(s) with 28 fork(s). There are 7 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 21 open issues and 18 have been closed. On average issues are closed in 54 days. There are 6 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of sbt-github-packages is v0.5.3

            kandi-Quality Quality

              sbt-github-packages has 0 bugs and 0 code smells.

            kandi-Security Security

              sbt-github-packages has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              sbt-github-packages code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              sbt-github-packages is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              sbt-github-packages releases are available to install and integrate.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of sbt-github-packages
            Get all kandi verified functions for this library.

            sbt-github-packages Key Features

            No Key Features are available at this moment for sbt-github-packages.

            sbt-github-packages Examples and Code Snippets

            No Code Snippets are available at this moment for sbt-github-packages.

            Community Discussions

            QUESTION

            How can I upload a directory full of artifacts to GitHub Packages?
            Asked 2020-Oct-27 at 15:18

            Executive summary: I'd like to, if possible, just upload a directory full of files to a "GitHub Package". Not a GitHub "repository", but a "Github Package", which are described here. Unfortunately, the documentation doesn't tell you how to do such a thing. It only tells you how to upload build artifacts using build tools for JavaScript, Ruby, Java, and .NET.

            Why do I want to do this? I answer this immediately below. Though if there is also an easy solution using Maven, then Maven will also work for me:

            We're hoping to migrate from a locally-hosted Nexus artifact repository to GitHub Packages as a way of making our build artifacts (e.g., jar files) available to everyone in our development team.

            The programming language we're using is Scala, which is a JVM-targeted language, so it's designed to largely interoperate with the Java ecosystem. For managing builds, however, we use sbt, not Maven. Sbt is the standard Scala build tool.

            There is a plugin for sbt (called sbt-github-packages), which actually works great. It allows us to easily publish our Scala jar files, etc., to GitHub just by typing "sbt publish".

            The problem that we have yet to solve, however, is uploading to a GitHub Package third-party artifacts, such as Oracle's jdbc drivers. This is not a problem for most third-party artifacts, since most of them are stored in publicly available Maven or Ivy artifact repositories, and sbt will just automatically fetch them as needed.

            Unfortunately, Oracle doesn't provide their jdbc drivers in such a standard way. There are also other artifacts we need to use that we don't author and which are not located in public artifact repositories. We currently solve this problem by uploading them into our locally-hosted Nexus artifact repository.

            The instructions on GitHub for publishing artifacts to GitHub Packages say only to cd into your Java source code Git repo and type "mvn deploy". (You have to add some config stuff to the pom file first, but that's easy enough.) But these instructions are intended for compiling Java source code and then publishing the compiled artifacts into the GitHub Package. They are not complete instructions that tell you how to deal with the case where you don't have source code, but instead have only prebuilt artifacts.

            I'm sure that if I understood Maven well, I could probably figure out how to make this work, but I know very, very little about Maven. As I mentioned above, we use sbt instead.

            I did get something to work, but it's not quite right. I made a directory with all of Oracle's ojdbc7 artifacts. I made a symlink from ojdbc7-12.1.0.2.pom to pom.xml and then I ran "mvn deploy". This did upload ojdbc7-12.1.0.2.jar and ojdbc7-12.1.0.2.pom to the GitHub Package, but other artifacts were not uploaded. For instance, this did not upload ojdbc7-12.1.0.2-javadoc.jar.

            Also, if there were a source-code jar in this directory, I'm sure that it also wouldn't have been uploaded.

            If anyone knows what I need to do to publish to the GitHub Package all of the artifacts in my ojdbc7 directory, I will be very thankful.

            ...

            ANSWER

            Answered 2020-Oct-12 at 07:54

            Oracle JDBC drivers are already available in Central Maven. YOu should use Central Maven. Refer to the instructions on this page.

            The below GAV will get JDBC driver along with all the other complimentary jars.

            Source https://stackoverflow.com/questions/63961062

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install sbt-github-packages

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/djspiewak/sbt-github-packages.git

          • CLI

            gh repo clone djspiewak/sbt-github-packages

          • sshUrl

            git@github.com:djspiewak/sbt-github-packages.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link