Skip to content

Latest commit

 

History

History
109 lines (74 loc) · 2.17 KB

README.md

File metadata and controls

109 lines (74 loc) · 2.17 KB

gs-spring-commons

Grayshirts' Java library with services and util classes for Spring Framework projects.

Build settings

To add this library to your project, depending of your building tool, these are the configuration settings you need:

Maven

Add the following configuration to the pom.xml file of your project:

  1. dependencies section:

    <dependency>
        <groupId>ar.com.grayshirts</groupId>
        <artifactId>spring-commons</artifactId>
        <version>1.0.0</version>
    </dependency>
  2. repositories section:

    <repository>
        <id>grayshirts-public</id>
        <name>Grayshirts Public Repository</name>
        <url>https://dl.bintray.com/grayshirts/public</url>
    </repository>

Gradle

Add the following configuration to the build.gradle file of your project:

  1. dependencies section:

    compile 'ar.com.grayshirts:spring-commons:1.0.0'
    
  2. repositories section:

    maven() {
        url "https://dl.bintray.com/grayshirts/public"
    }
    

If you build this library locally with Maven, and you want to include in a Gradle project the local build, add in the repositories section:

repositories {
  mavenLocal()
  ...

Build

To build this library locally, run the tests, generate the .jar file and install it in your local Maven repo:

$ mvn

Deploy

To deploy the .jar file to the Bintray Central repository:

$ mvn deploy -s settings.xml

Before publish to Bintray, you need to setup your account credentials as environment variables.

You can configure these variables in your shell startup file (~/.bashrc, ~/.zshrc, ~/.profile...) like this:

# Bintray credentials
export BINTRAY_USERNAME="myusername"
export BINTRAY_PASSWORD="XXXXXXXXXXXXXXXXXXXXXXXX"

Also remember to update the version number of the library before publish a new release from the pom.xml file.

To see all the releases, check https://bintray.com/grayshirts/public/gs-spring-commons

About

Licensed under Apache Software License 2.0.

Developed by Grayshirts.