Skip to content

Commit 04f256c

Browse files
committed
Merge pull request #11 from browserstack/release
Initial release
2 parents 08eca87 + 2e6e1ba commit 04f256c

File tree

5 files changed

+143
-4
lines changed

5 files changed

+143
-4
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@ buildNumber.properties
1212
*.swp
1313
.project
1414
local.log
15+
settings.xml
1516

BrowserStackLocalExample.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.BrowserStack;
1+
package com.browserstack;
22

33
import java.net.URL;
44
import java.util.HashMap;

MIT-LICENSE.txt

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2016 BrowserStack
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in
13+
all copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
THE SOFTWARE.
22+

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,12 @@
22

33
[![Build Status](https://travis-ci.org/browserstack/browserstack-local-java.svg?branch=master)](https://travis-ci.org/browserstack/browserstack-local-java)
44

5-
A simple Java wrapper for BrowserStack Local Binary.
5+
Java bindings for BrowserStack Local.
6+
7+
## Installation
8+
```
9+
mvn install browserstack-local
10+
```
611

712
## Example
813

pom.xml

Lines changed: 113 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,41 @@
44
<groupId>com.browserstack</groupId>
55
<artifactId>browserstack-local-java</artifactId>
66
<packaging>jar</packaging>
7-
<version>1.0-SNAPSHOT</version>
7+
<version>0.1.0</version>
8+
89
<name>browserstack-local-java</name>
9-
<url>http://maven.apache.org</url>
10+
<description>Java bindings for BrowserStack Local</description>
11+
<url>https://www.browserstack.com</url>
12+
13+
<licenses>
14+
<license>
15+
<name>MIT</name>
16+
<url>https://opensource.org/licenses/MIT</url>
17+
</license>
18+
</licenses>
19+
20+
<developers>
21+
<developer>
22+
<name>BrowserStack</name>
23+
<email>[email protected]</email>
24+
<organization>BrowserStack</organization>
25+
<organizationUrl>https://www.browserstack.com</organizationUrl>
26+
</developer>
27+
</developers>
28+
29+
<scm>
30+
<connection>scm:git:[email protected]:browserstack/browserstack-local-java.git</connection>
31+
<developerConnection>scm:git:[email protected]:browserstack/browserstack-local-java.git</developerConnection>
32+
<url>[email protected]:browserstack/browserstack-local-java.git</url>
33+
</scm>
34+
35+
<distributionManagement>
36+
<snapshotRepository>
37+
<id>ossrh</id>
38+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
39+
</snapshotRepository>
40+
</distributionManagement>
41+
1042
<dependencies>
1143
<dependency>
1244
<groupId>junit</groupId>
@@ -20,8 +52,87 @@
2052
<version>1.3.2</version>
2153
</dependency>
2254
</dependencies>
55+
56+
<profiles>
57+
<profile>
58+
<id>release-sign-artifacts</id>
59+
<activation>
60+
<property>
61+
<name>performRelease</name>
62+
<value>true</value>
63+
</property>
64+
</activation>
65+
<build>
66+
<plugins>
67+
<plugin>
68+
<groupId>org.apache.maven.plugins</groupId>
69+
<artifactId>maven-gpg-plugin</artifactId>
70+
<executions>
71+
<execution>
72+
<id>sign-artifacts</id>
73+
<phase>verify</phase>
74+
<goals>
75+
<goal>sign</goal>
76+
</goals>
77+
</execution>
78+
</executions>
79+
</plugin>
80+
<plugin>
81+
<groupId>org.sonatype.plugins</groupId>
82+
<artifactId>nexus-staging-maven-plugin</artifactId>
83+
<version>1.6.3</version>
84+
<extensions>true</extensions>
85+
<configuration>
86+
<serverId>ossrh</serverId>
87+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
88+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
89+
</configuration>
90+
</plugin>
91+
<plugin>
92+
<groupId>org.apache.maven.plugins</groupId>
93+
<artifactId>maven-source-plugin</artifactId>
94+
<executions>
95+
<execution>
96+
<id>attach-sources</id>
97+
<goals>
98+
<goal>jar</goal>
99+
</goals>
100+
</execution>
101+
</executions>
102+
</plugin>
103+
<plugin>
104+
<groupId>org.apache.maven.plugins</groupId>
105+
<artifactId>maven-javadoc-plugin</artifactId>
106+
<executions>
107+
<execution>
108+
<id>attach-javadocs</id>
109+
<goals>
110+
<goal>jar</goal>
111+
</goals>
112+
</execution>
113+
</executions>
114+
<configuration>
115+
<additionalparam>-Xdoclint:none</additionalparam>
116+
</configuration>
117+
</plugin>
118+
</plugins>
119+
</build>
120+
</profile>
121+
</profiles>
122+
23123
<build>
24124
<plugins>
125+
<plugin>
126+
<groupId>org.sonatype.plugins</groupId>
127+
<artifactId>nexus-staging-maven-plugin</artifactId>
128+
<version>1.6.3</version>
129+
<extensions>true</extensions>
130+
<configuration>
131+
<serverId>ossrh</serverId>
132+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
133+
<autoReleaseAfterClose>false</autoReleaseAfterClose>
134+
</configuration>
135+
</plugin>
25136
<plugin>
26137
<groupId>org.apache.maven.plugins</groupId>
27138
<artifactId>maven-compiler-plugin</artifactId>

0 commit comments

Comments
 (0)