Skip to content

Commit 39cb48f

Browse files
Maven central preparations (#91)
1 parent 2733f93 commit 39cb48f

24 files changed

Lines changed: 143 additions & 97 deletions

File tree

pom.xml

Lines changed: 94 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,43 @@
1515
~ limitations under the License.
1616
-->
1717

18-
<project xmlns="http://maven.apache.org/POM/4.0.0"
19-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
18+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2119
<modelVersion>4.0.0</modelVersion>
2220

2321
<groupId>com.twosigma.webtau</groupId>
2422
<artifactId>webtau-parent</artifactId>
25-
<version>0.1</version>
23+
<version>0.17-SNAPSHOT</version>
2624
<packaging>pom</packaging>
2725

26+
<url>https://github.com/twosigma/webtau</url>
27+
28+
<licenses>
29+
<license>
30+
<name>Apache License, Version 2.0</name>
31+
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
32+
<distribution>repo</distribution>
33+
</license>
34+
</licenses>
35+
36+
<scm>
37+
<url>https://github.com/twosigma/webtau</url>
38+
<connection>scm:git:https://github.com/twosigma/webtau.git</connection>
39+
<developerConnection>scm:git:https://github.com/twosigma/webtau.git</developerConnection>
40+
<tag>HEAD</tag>
41+
</scm>
42+
43+
<distributionManagement>
44+
<snapshotRepository>
45+
<id>ossrh</id>
46+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
47+
</snapshotRepository>
48+
49+
<repository>
50+
<id>ossrh</id>
51+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
52+
</repository>
53+
</distributionManagement>
54+
2855
<modules>
2956
<module>webtau-utils</module>
3057
<module>webtau-utils-testing-data</module>
@@ -183,5 +210,68 @@
183210
</plugin>
184211
</plugins>
185212
</pluginManagement>
213+
214+
<plugins>
215+
<plugin>
216+
<groupId>org.apache.maven.plugins</groupId>
217+
<artifactId>maven-release-plugin</artifactId>
218+
<version>2.5.3</version>
219+
<configuration>
220+
<autoVersionSubmodules>true</autoVersionSubmodules>
221+
<useReleaseProfile>false</useReleaseProfile>
222+
<releaseProfiles>release</releaseProfiles>
223+
<tagNameFormat>@{project.version}</tagNameFormat>
224+
<goals>deploy</goals>
225+
</configuration>
226+
</plugin>
227+
228+
<plugin>
229+
<groupId>org.sonatype.plugins</groupId>
230+
<artifactId>nexus-staging-maven-plugin</artifactId>
231+
<version>1.6.8</version>
232+
<extensions>true</extensions>
233+
<configuration>
234+
<serverId>ossrh</serverId>
235+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
236+
<autoReleaseAfterClose>false</autoReleaseAfterClose>
237+
</configuration>
238+
</plugin>
239+
</plugins>
186240
</build>
241+
242+
<profiles>
243+
<profile>
244+
<id>releases</id>
245+
<build>
246+
<plugins>
247+
<plugin>
248+
<groupId>org.apache.maven.plugins</groupId>
249+
<artifactId>maven-source-plugin</artifactId>
250+
<version>3.0.1</version>
251+
<executions>
252+
<execution>
253+
<id>attach-sources</id>
254+
<goals>
255+
<goal>jar-no-fork</goal>
256+
</goals>
257+
</execution>
258+
</executions>
259+
</plugin>
260+
<plugin>
261+
<groupId>org.apache.maven.plugins</groupId>
262+
<artifactId>maven-javadoc-plugin</artifactId>
263+
<version>3.0.1</version>
264+
<executions>
265+
<execution>
266+
<id>attach-javadocs</id>
267+
<goals>
268+
<goal>jar</goal>
269+
</goals>
270+
</execution>
271+
</executions>
272+
</plugin>
273+
</plugins>
274+
</build>
275+
</profile>
276+
</profiles>
187277
</project>

webtau-config/pom.xml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,13 @@
1515
~ limitations under the License.
1616
-->
1717

18-
<project xmlns="http://maven.apache.org/POM/4.0.0"
19-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
18+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2119
<modelVersion>4.0.0</modelVersion>
2220

2321
<parent>
2422
<groupId>com.twosigma.webtau</groupId>
2523
<artifactId>webtau-parent</artifactId>
26-
<version>0.1</version>
24+
<version>0.17-SNAPSHOT</version>
2725
</parent>
2826

2927
<artifactId>webtau-config</artifactId>

webtau-console/pom.xml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,13 @@
1515
~ limitations under the License.
1616
-->
1717

18-
<project xmlns="http://maven.apache.org/POM/4.0.0"
19-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
18+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2119
<modelVersion>4.0.0</modelVersion>
2220

2321
<parent>
2422
<groupId>com.twosigma.webtau</groupId>
2523
<artifactId>webtau-parent</artifactId>
26-
<version>0.1</version>
24+
<version>0.17-SNAPSHOT</version>
2725
</parent>
2826

2927
<artifactId>webtau-console</artifactId>

webtau-core-groovy/pom.xml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,17 @@
1515
~ limitations under the License.
1616
-->
1717

18-
<project xmlns="http://maven.apache.org/POM/4.0.0"
19-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
18+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2119
<modelVersion>4.0.0</modelVersion>
2220

2321
<parent>
2422
<groupId>com.twosigma.webtau</groupId>
2523
<artifactId>webtau-parent</artifactId>
26-
<version>0.1</version>
24+
<version>0.17-SNAPSHOT</version>
2725
</parent>
2826

2927
<artifactId>webtau-core-groovy</artifactId>
30-
<version>0.1</version>
28+
<version>0.17-SNAPSHOT</version>
3129

3230
<dependencies>
3331
<dependency>

webtau-core/pom.xml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,17 @@
1515
~ limitations under the License.
1616
-->
1717

18-
<project xmlns="http://maven.apache.org/POM/4.0.0"
19-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
18+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2119
<modelVersion>4.0.0</modelVersion>
2220

2321
<parent>
2422
<groupId>com.twosigma.webtau</groupId>
2523
<artifactId>webtau-parent</artifactId>
26-
<version>0.1</version>
24+
<version>0.17-SNAPSHOT</version>
2725
</parent>
2826

2927
<artifactId>webtau-core</artifactId>
30-
<version>0.1</version>
28+
<version>0.17-SNAPSHOT</version>
3129

3230
<dependencies>
3331
<dependency>

webtau-dist/pom.xml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,13 @@
1515
~ limitations under the License.
1616
-->
1717

18-
<project xmlns="http://maven.apache.org/POM/4.0.0"
19-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
18+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2119
<modelVersion>4.0.0</modelVersion>
2220

2321
<parent>
2422
<groupId>com.twosigma.webtau</groupId>
2523
<artifactId>webtau-parent</artifactId>
26-
<version>0.1</version>
24+
<version>0.17-SNAPSHOT</version>
2725
</parent>
2826

2927
<artifactId>webtau-dist</artifactId>

webtau-docs/pom.xml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,13 @@
1515
~ limitations under the License.
1616
-->
1717

18-
<project xmlns="http://maven.apache.org/POM/4.0.0"
19-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
18+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2119
<modelVersion>4.0.0</modelVersion>
2220

2321
<parent>
2422
<groupId>com.twosigma.webtau</groupId>
2523
<artifactId>webtau-parent</artifactId>
26-
<version>0.1</version>
24+
<version>0.17-SNAPSHOT</version>
2725
</parent>
2826

2927
<artifactId>webtau-docs</artifactId>

webtau-groovy-ast/pom.xml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,13 @@
1515
~ limitations under the License.
1616
-->
1717

18-
<project xmlns="http://maven.apache.org/POM/4.0.0"
19-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
18+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2119
<modelVersion>4.0.0</modelVersion>
2220

2321
<parent>
2422
<groupId>com.twosigma.webtau</groupId>
2523
<artifactId>webtau-parent</artifactId>
26-
<version>0.1</version>
24+
<version>0.17-SNAPSHOT</version>
2725
</parent>
2826

2927
<artifactId>webtau-groovy-ast</artifactId>

webtau-groovy/pom.xml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,13 @@
1515
~ limitations under the License.
1616
-->
1717

18-
<project xmlns="http://maven.apache.org/POM/4.0.0"
19-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
18+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2119
<modelVersion>4.0.0</modelVersion>
2220

2321
<parent>
2422
<groupId>com.twosigma.webtau</groupId>
2523
<artifactId>webtau-parent</artifactId>
26-
<version>0.1</version>
24+
<version>0.17-SNAPSHOT</version>
2725
</parent>
2826

2927
<artifactId>webtau-groovy</artifactId>

webtau-http-groovy/pom.xml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,13 @@
1515
~ limitations under the License.
1616
-->
1717

18-
<project xmlns="http://maven.apache.org/POM/4.0.0"
19-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
18+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2119
<modelVersion>4.0.0</modelVersion>
2220

2321
<parent>
2422
<groupId>com.twosigma.webtau</groupId>
2523
<artifactId>webtau-parent</artifactId>
26-
<version>0.1</version>
24+
<version>0.17-SNAPSHOT</version>
2725
</parent>
2826

2927
<artifactId>webtau-http-groovy</artifactId>

0 commit comments

Comments
 (0)