Skip to content

Commit faf1bdd

Browse files
committed
adding sonatype release information
1 parent c09aaf0 commit faf1bdd

File tree

1 file changed

+85
-1
lines changed

1 file changed

+85
-1
lines changed

pom.xml

Lines changed: 85 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,26 @@
66

77
<name>getting-started-with-selenium-framework</name>
88
<url>http://github.com/ddavison/getting-started-with-selenium-framework</url>
9-
<version>1.0.0</version>
9+
<version>1.0</version>
1010
<description>A quick and easy start-up browser automation framework using Selenium</description>
1111

12+
<parent>
13+
<groupId>org.sonatype.oss</groupId>
14+
<artifactId>oss-parent</artifactId>
15+
<version>9</version>
16+
</parent>
17+
18+
<distributionManagement>
19+
<snapshotRepository>
20+
<id>ossrh</id>
21+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
22+
</snapshotRepository>
23+
<repository>
24+
<id>ossrh</id>
25+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
26+
</repository>
27+
</distributionManagement>
28+
1229
<licenses>
1330
<license>
1431
<name>Apache License, Version 2.0</name>
@@ -17,6 +34,73 @@
1734
</license>
1835
</licenses>
1936

37+
<build>
38+
<plugins>
39+
<plugin>
40+
<groupId>org.sonatype.plugins</groupId>
41+
<artifactId>nexus-staging-maven-plugin</artifactId>
42+
<version>1.6.3</version>
43+
<extensions>true</extensions>
44+
<configuration>
45+
<serverId>ossrh</serverId>
46+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
47+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
48+
</configuration>
49+
</plugin>
50+
<plugin>
51+
<groupId>org.apache.maven.plugins</groupId>
52+
<artifactId>maven-source-plugin</artifactId>
53+
<version>2.2.1</version>
54+
<executions>
55+
<execution>
56+
<id>attach-sources</id>
57+
<goals>
58+
<goal>jar-no-fork</goal>
59+
</goals>
60+
</execution>
61+
</executions>
62+
</plugin>
63+
<plugin>
64+
<groupId>org.apache.maven.plugins</groupId>
65+
<artifactId>maven-javadoc-plugin</artifactId>
66+
<version>2.9.1</version>
67+
<executions>
68+
<execution>
69+
<id>attach-javadocs</id>
70+
<goals>
71+
<goal>jar</goal>
72+
</goals>
73+
</execution>
74+
</executions>
75+
</plugin>
76+
<plugin>
77+
<groupId>org.apache.maven.plugins</groupId>
78+
<artifactId>maven-gpg-plugin</artifactId>
79+
<version>1.5</version>
80+
<executions>
81+
<execution>
82+
<id>sign-artifacts</id>
83+
<phase>verify</phase>
84+
<goals>
85+
<goal>sign</goal>
86+
</goals>
87+
</execution>
88+
</executions>
89+
</plugin>
90+
<plugin>
91+
<groupId>org.sonatype.plugins</groupId>
92+
<artifactId>nexus-staging-maven-plugin</artifactId>
93+
<version>1.6.3</version>
94+
<extensions>true</extensions>
95+
<configuration>
96+
<serverId>ossrh</serverId>
97+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
98+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
99+
</configuration>
100+
</plugin>
101+
</plugins>
102+
</build>
103+
20104
<scm>
21105
<url>http://github.com/ddavison/getting-started-with-selenium-framework</url>
22106
</scm>

0 commit comments

Comments
 (0)