Skip to content

Commit 1510b54

Browse files
Update version for spring-reactive, add build instructions (#162)
1 parent e800cce commit 1510b54

File tree

5 files changed

+114
-10
lines changed

5 files changed

+114
-10
lines changed

ingestors/java/readme.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
To deploy,
2+
- make sure that there's a distributionManagement component that looks like
3+
```xml
4+
<distributionManagement>
5+
<snapshotRepository>
6+
<id>ossrh</id>
7+
<url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url>
8+
9+
</snapshotRepository>
10+
<repository>
11+
<id>ossrh</id>
12+
<url>https://s01.oss.sonatype.org/content/repositories/releases/</url>
13+
</repository>
14+
</distributionManagement>
15+
```
16+
- Run `mvn clean deploy`
17+
18+
Reference : [this video](https://www.youtube.com/watch?v=bxP9IuJbcDQ)

ingestors/java/spring-reactive/pom.xml

Lines changed: 68 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<project xmlns="http://maven.apache.org/POM/4.0.0"
3-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
55
<modelVersion>4.0.0</modelVersion>
66

77
<name>spring-reactive-parent</name>
88
<groupId>com.metlo</groupId>
99
<artifactId>spring-reactive-parent</artifactId>
10-
<version>0.3</version>
10+
<version>0.0.1</version>
1111
<packaging>pom</packaging>
1212

1313
<url>https://www.github.com/metlo-labs/metlo</url>
@@ -90,9 +90,73 @@
9090
</dependency>
9191
</dependencies>
9292
</dependencyManagement>
93+
94+
<distributionManagement>
95+
<snapshotRepository>
96+
<id>ossrh</id>
97+
<url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url>
98+
99+
</snapshotRepository>
100+
<repository>
101+
<id>ossrh</id>
102+
<url>https://s01.oss.sonatype.org/content/repositories/releases/</url>
103+
</repository>
104+
</distributionManagement>
105+
93106
<build>
94107
<pluginManagement>
95108
<plugins>
109+
<plugin>
110+
<groupId>org.sonatype.plugins</groupId>
111+
<artifactId>nexus-staging-maven-plugin</artifactId>
112+
<version>1.6.13</version>
113+
<extensions>true</extensions>
114+
<configuration>
115+
<serverId>ossrh</serverId>
116+
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
117+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
118+
</configuration>
119+
</plugin>
120+
<plugin>
121+
<groupId>org.apache.maven.plugins</groupId>
122+
<artifactId>maven-source-plugin</artifactId>
123+
<version>2.2.1</version>
124+
<executions>
125+
<execution>
126+
<id>attach-sources</id>
127+
<goals>
128+
<goal>jar-no-fork</goal>
129+
</goals>
130+
</execution>
131+
</executions>
132+
</plugin>
133+
<plugin>
134+
<groupId>org.apache.maven.plugins</groupId>
135+
<artifactId>maven-javadoc-plugin</artifactId>
136+
<version>3.4.1</version>
137+
<executions>
138+
<execution>
139+
<id>attach-javadocs</id>
140+
<goals>
141+
<goal>jar</goal>
142+
</goals>
143+
</execution>
144+
</executions>
145+
</plugin>
146+
<plugin>
147+
<groupId>org.apache.maven.plugins</groupId>
148+
<artifactId>maven-gpg-plugin</artifactId>
149+
<version>1.5</version>
150+
<executions>
151+
<execution>
152+
<id>sign-artifacts</id>
153+
<phase>verify</phase>
154+
<goals>
155+
<goal>sign</goal>
156+
</goals>
157+
</execution>
158+
</executions>
159+
</plugin>
96160
<plugin>
97161
<groupId>org.apache.maven.plugins</groupId>
98162
<artifactId>maven-install-plugin</artifactId>
@@ -168,4 +232,4 @@
168232
</plugin>
169233
</plugins>
170234
</build>
171-
</project>
235+
</project>

ingestors/java/spring-reactive/spring-boot-reactive-starter/pom.xml

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<project xmlns="http://maven.apache.org/POM/4.0.0"
3-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
55
<modelVersion>4.0.0</modelVersion>
66

77
<parent>
88
<groupId>com.metlo</groupId>
99
<artifactId>spring-reactive-parent</artifactId>
10-
<version>0.3</version>
10+
<version>0.0.1</version>
1111
</parent>
1212

1313
<artifactId>spring-boot-reactive-starter</artifactId>
@@ -41,6 +41,17 @@
4141
</plugins>
4242
</build>
4343

44+
<distributionManagement>
45+
<snapshotRepository>
46+
<id>ossrh</id>
47+
<url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url>
48+
49+
</snapshotRepository>
50+
<repository>
51+
<id>ossrh</id>
52+
<url>https://s01.oss.sonatype.org/content/repositories/releases/</url>
53+
</repository>
54+
</distributionManagement>
4455

4556
<dependencies>
4657
<dependency>
@@ -86,4 +97,4 @@
8697
<scope>provided</scope>
8798
</dependency>
8899
</dependencies>
89-
</project>
100+
</project>

ingestors/java/spring-reactive/spring-reactive-client/pom.xml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>com.metlo</groupId>
99
<artifactId>spring-reactive-parent</artifactId>
10-
<version>0.3</version>
10+
<version>0.0.1</version>
1111
</parent>
1212

1313
<artifactId>spring-reactive-client</artifactId>
@@ -37,6 +37,17 @@
3737
</plugins>
3838
</build>
3939

40+
<distributionManagement>
41+
<snapshotRepository>
42+
<id>ossrh</id>
43+
<url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url>
44+
45+
</snapshotRepository>
46+
<repository>
47+
<id>ossrh</id>
48+
<url>https://s01.oss.sonatype.org/content/repositories/releases/</url>
49+
</repository>
50+
</distributionManagement>
4051

4152
<dependencies>
4253
<dependency>

ingestors/java/spring/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
</snapshotRepository>
9999
<repository>
100100
<id>ossrh</id>
101-
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
101+
<url>https://s01.oss.sonatype.org/content/repositories/releases/</url>
102102
</repository>
103103
</distributionManagement>
104104

0 commit comments

Comments
 (0)