Skip to content

Commit e6b9582

Browse files
committed
updated pom to release
1 parent 7205182 commit e6b9582

File tree

4 files changed

+104
-3
lines changed

4 files changed

+104
-3
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;

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44

55
Java bindings for BrowserStack Local.
66

7+
## Installation
8+
```
9+
mvn install browserstack-local
10+
```
11+
712
## Example
813

914
```

pom.xml

Lines changed: 97 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>
@@ -22,6 +54,17 @@
2254
</dependencies>
2355
<build>
2456
<plugins>
57+
<plugin>
58+
<groupId>org.sonatype.plugins</groupId>
59+
<artifactId>nexus-staging-maven-plugin</artifactId>
60+
<version>1.6.3</version>
61+
<extensions>true</extensions>
62+
<configuration>
63+
<serverId>ossrh</serverId>
64+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
65+
<autoReleaseAfterClose>false</autoReleaseAfterClose>
66+
</configuration>
67+
</plugin>
2568
<plugin>
2669
<groupId>org.apache.maven.plugins</groupId>
2770
<artifactId>maven-compiler-plugin</artifactId>
@@ -36,6 +79,58 @@
3679
<artifactId>maven-surefire-plugin</artifactId>
3780
<version>2.4.2</version>
3881
</plugin>
82+
<plugin>
83+
<groupId>org.apache.maven.plugins</groupId>
84+
<artifactId>maven-gpg-plugin</artifactId>
85+
<executions>
86+
<execution>
87+
<id>sign-artifacts</id>
88+
<phase>verify</phase>
89+
<goals>
90+
<goal>sign</goal>
91+
</goals>
92+
</execution>
93+
</executions>
94+
</plugin>
95+
<plugin>
96+
<groupId>org.sonatype.plugins</groupId>
97+
<artifactId>nexus-staging-maven-plugin</artifactId>
98+
<version>1.6.3</version>
99+
<extensions>true</extensions>
100+
<configuration>
101+
<serverId>ossrh</serverId>
102+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
103+
<stagingProfileId>19375019933d12</stagingProfileId>
104+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
105+
</configuration>
106+
</plugin>
107+
<plugin>
108+
<groupId>org.apache.maven.plugins</groupId>
109+
<artifactId>maven-source-plugin</artifactId>
110+
<executions>
111+
<execution>
112+
<id>attach-sources</id>
113+
<goals>
114+
<goal>jar</goal>
115+
</goals>
116+
</execution>
117+
</executions>
118+
</plugin>
119+
<plugin>
120+
<groupId>org.apache.maven.plugins</groupId>
121+
<artifactId>maven-javadoc-plugin</artifactId>
122+
<executions>
123+
<execution>
124+
<id>attach-javadocs</id>
125+
<goals>
126+
<goal>jar</goal>
127+
</goals>
128+
</execution>
129+
</executions>
130+
<configuration>
131+
<additionalparam>-Xdoclint:none</additionalparam>
132+
</configuration>
133+
</plugin>
39134
</plugins>
40135
</build>
41136
</project>

0 commit comments

Comments
 (0)