Grayshirts' Java library with services and util classes for Spring Framework projects.
To add this library to your project, depending of your building tool, these are the configuration settings you need:
Add the following configuration to the pom.xml
file
of your project:
-
dependencies
section:<dependency> <groupId>ar.com.grayshirts</groupId> <artifactId>spring-commons</artifactId> <version>1.0.0</version> </dependency>
-
repositories
section:<repository> <id>grayshirts-public</id> <name>Grayshirts Public Repository</name> <url>https://dl.bintray.com/grayshirts/public</url> </repository>
Add the following configuration to the build.gradle
file
of your project:
-
dependencies
section:compile 'ar.com.grayshirts:spring-commons:1.0.0'
-
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()
...
To build this library locally, run the tests, generate the .jar file and install it in your local Maven repo:
$ mvn
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
Licensed under Apache Software License 2.0.
Developed by Grayshirts.