From 7205182ce910db989be9444b35d55c93c7011fb5 Mon Sep 17 00:00:00 2001 From: Vibhaj Rajan Date: Sun, 1 May 2016 16:02:01 +0530 Subject: [PATCH 1/4] added license --- MIT-LICENSE.txt | 22 ++++++++++++++++++++++ README.md | 2 +- 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 MIT-LICENSE.txt diff --git a/MIT-LICENSE.txt b/MIT-LICENSE.txt new file mode 100644 index 0000000..e070d10 --- /dev/null +++ b/MIT-LICENSE.txt @@ -0,0 +1,22 @@ +The MIT License (MIT) + +Copyright (c) 2016 BrowserStack + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + diff --git a/README.md b/README.md index 931800c..68766c3 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![Build Status](https://travis-ci.org/browserstack/browserstack-local-java.svg?branch=master)](https://travis-ci.org/browserstack/browserstack-local-java) -A simple Java wrapper for BrowserStack Local Binary. +Java bindings for BrowserStack Local. ## Example From e6b958298d6490dfe2abbb13fd8b8b2901c7f79c Mon Sep 17 00:00:00 2001 From: Vibhaj Rajan Date: Wed, 4 May 2016 01:06:29 +0530 Subject: [PATCH 2/4] updated pom to release --- .gitignore | 1 + BrowserStackLocalExample.java | 2 +- README.md | 5 ++ pom.xml | 99 ++++++++++++++++++++++++++++++++++- 4 files changed, 104 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 45d0c6f..d82a2d4 100644 --- a/.gitignore +++ b/.gitignore @@ -12,4 +12,5 @@ buildNumber.properties *.swp .project local.log +settings.xml diff --git a/BrowserStackLocalExample.java b/BrowserStackLocalExample.java index 018bc8d..2680bf2 100644 --- a/BrowserStackLocalExample.java +++ b/BrowserStackLocalExample.java @@ -1,4 +1,4 @@ -package com.BrowserStack; +package com.browserstack; import java.net.URL; import java.util.HashMap; diff --git a/README.md b/README.md index 68766c3..ab20b65 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,11 @@ Java bindings for BrowserStack Local. +## Installation +``` +mvn install browserstack-local +``` + ## Example ``` diff --git a/pom.xml b/pom.xml index 5134f7f..7c12c72 100644 --- a/pom.xml +++ b/pom.xml @@ -4,9 +4,41 @@ com.browserstack browserstack-local-java jar - 1.0-SNAPSHOT + 0.1.0 + browserstack-local-java - http://maven.apache.org + Java bindings for BrowserStack Local + https://www.browserstack.com + + + + MIT + https://opensource.org/licenses/MIT + + + + + + BrowserStack + support@browserstack.com + BrowserStack + https://www.browserstack.com + + + + + scm:git:git@github.com:browserstack/browserstack-local-java.git + scm:git:git@github.com:browserstack/browserstack-local-java.git + git@github.com:browserstack/browserstack-local-java.git + + + + + ossrh + https://oss.sonatype.org/content/repositories/snapshots + + + junit @@ -22,6 +54,17 @@ + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.3 + true + + ossrh + https://oss.sonatype.org/ + false + + org.apache.maven.plugins maven-compiler-plugin @@ -36,6 +79,58 @@ maven-surefire-plugin 2.4.2 + + org.apache.maven.plugins + maven-gpg-plugin + + + sign-artifacts + verify + + sign + + + + + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.3 + true + + ossrh + https://oss.sonatype.org/ + 19375019933d12 + true + + + + org.apache.maven.plugins + maven-source-plugin + + + attach-sources + + jar + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + + + attach-javadocs + + jar + + + + + -Xdoclint:none + + From 7812c253338334031b3c635b7ff38e54e6e4f0aa Mon Sep 17 00:00:00 2001 From: Vibhaj Rajan Date: Thu, 5 May 2016 01:38:01 +0530 Subject: [PATCH 3/4] update pom.xml --- pom.xml | 1 - 1 file changed, 1 deletion(-) diff --git a/pom.xml b/pom.xml index 7c12c72..a000d88 100644 --- a/pom.xml +++ b/pom.xml @@ -100,7 +100,6 @@ ossrh https://oss.sonatype.org/ - 19375019933d12 true From 2e6e1bae13af28b1b027add86a89d229a9222e81 Mon Sep 17 00:00:00 2001 From: Vibhaj Rajan Date: Thu, 5 May 2016 01:42:47 +0530 Subject: [PATCH 4/4] make mvn build with activation mvn -DperformRelease=true --- pom.xml | 119 ++++++++++++++++++++++++++++++++------------------------ 1 file changed, 68 insertions(+), 51 deletions(-) diff --git a/pom.xml b/pom.xml index a000d88..eac06c7 100644 --- a/pom.xml +++ b/pom.xml @@ -52,6 +52,74 @@ 1.3.2 + + + + release-sign-artifacts + + + performRelease + true + + + + + + org.apache.maven.plugins + maven-gpg-plugin + + + sign-artifacts + verify + + sign + + + + + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.3 + true + + ossrh + https://oss.sonatype.org/ + true + + + + org.apache.maven.plugins + maven-source-plugin + + + attach-sources + + jar + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + + + attach-javadocs + + jar + + + + + -Xdoclint:none + + + + + + + @@ -79,57 +147,6 @@ maven-surefire-plugin 2.4.2 - - org.apache.maven.plugins - maven-gpg-plugin - - - sign-artifacts - verify - - sign - - - - - - org.sonatype.plugins - nexus-staging-maven-plugin - 1.6.3 - true - - ossrh - https://oss.sonatype.org/ - true - - - - org.apache.maven.plugins - maven-source-plugin - - - attach-sources - - jar - - - - - - org.apache.maven.plugins - maven-javadoc-plugin - - - attach-javadocs - - jar - - - - - -Xdoclint:none - -