Coder Social home page Coder Social logo

savant's Introduction

Codeship Codacy grade

Savant

Savant is a command-line tool that aims to make working with Maven easier on macOS. It can be used to quickly initialize Java & Kotlin Maven projects, search for dependencies and to add JavaDocs for your dependencies to Dash.

End-user documentation can be found at http://spilth.org/projects/savant/

Building from Source

If you want to build the tool from source, do the following:

$ git clone [email protected]:spilth/savant.git
$ cd savant
$ mvn package
$ alias savant="java -jar ./target/savant-1.6.0-SNAPSHOT.jar"
$ savant search hamcrest-core
<dependency>
    <groupId>org.hamcrest</groupId>
    <artifactId>hamcrest-core</artifactId>
    <version>1.3</version>
</dependency>
<dependency>
    <groupId>org.ops4j.pax.tipi</groupId>
    <artifactId>org.ops4j.pax.tipi.hamcrest.core</artifactId>
    <version>1.3.0.1</version>
</dependency>

savant's People

Contributors

spilth avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

savant's Issues

savant dash should resolve dependency version number properties

If your pom.xml has the following:

<properties>
  <kotlin.version>1.1.51</kotlin.version>
</properties>
<dependencies>
  <dependency>
    <groupId>org.jetbrains.kotlin</groupId>
    <artifactId>kotlin-stdlib-jre8</artifactId>
    <version>${kotlin.version}</version>
  </dependency>
</dependencies>

Then savant dash will end up outputting the following:

Requesting docs for org.jetbrains.kotlin:kotlin-stdlib-jre8:${kotlin.version}

And then fail to install the JavaDocs for that dependency.

Instead it should resolve the property in order to get the version number of the dependency.

Defaults File

Allow defaults for groupId, language and format to be set in a ~/.savantrc file.

For example:

language: kotlin
groupId: org.spilth
format: gradle

Version Command

savant --version and savant -v should return Savant 1.3.0

Main argument should be the artifactId

Instead of doing:

savant init -a helloworld

I'd like to be able to do:

savant init helloworld

Since a project name/directory is the main thing a user will likely want to change the name of.

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.