Skip to content

Commit e23046d

Browse files
committed
sip
1 parent d0edb4d commit e23046d

File tree

2 files changed

+351
-4
lines changed

2 files changed

+351
-4
lines changed

pom.xml.releaseBackup

Lines changed: 340 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,340 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<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">
3+
<modelVersion>4.0.0</modelVersion>
4+
<groupId>com.datastax.astra</groupId>
5+
<artifactId>beam-sdks-java-io-astra</artifactId>
6+
<description>Apache Beam SDK to work with Astra Pipelines</description>
7+
<name>Beam SDK for Astra</name>
8+
<packaging>jar</packaging>
9+
<version>4.16.0-SNAPSHOT</version>
10+
<url>https://github.com/clun/beam-sdks-java-io-astra</url>
11+
12+
<properties>
13+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
14+
<maven.plugin.compiler.source>11</maven.plugin.compiler.source>
15+
<maven.plugin.compiler.target>11</maven.plugin.compiler.target>
16+
<!-- Beam -->
17+
<beam.version>2.48.0</beam.version>
18+
<!-- Astra -->
19+
<astra-sdk.version>0.6</astra-sdk.version>
20+
<cassandra-driver4x.version>4.16.0</cassandra-driver4x.version>
21+
<!-- Third Parties -->
22+
<slf4j.version>2.0.7</slf4j.version>
23+
<logback.version>1.4.7</logback.version>
24+
<auto-value.version>1.10.1</auto-value.version>
25+
<junit.version>4.13.2</junit.version>
26+
<hamcrest.version>2.2</hamcrest.version>
27+
<!-- Maven -->
28+
<version.maven.plugin.compiler>3.11.0</version.maven.plugin.compiler>
29+
<version.maven.plugin.dependency>3.5.0</version.maven.plugin.dependency>
30+
<version.maven.plugin.enforcer>3.3.0</version.maven.plugin.enforcer>
31+
<version.maven.plugin.exec>1.6.0</version.maven.plugin.exec>
32+
<version.maven.plugin.gpg>3.0.1</version.maven.plugin.gpg>
33+
<version.maven.plugin.jar>3.3.0</version.maven.plugin.jar>
34+
<version.maven.plugin.javadoc>3.4.1</version.maven.plugin.javadoc>
35+
<version.maven.plugin.license>2.0.0</version.maven.plugin.license>
36+
<version.maven.plugin.nexus>1.6.8</version.maven.plugin.nexus>
37+
<version.maven.plugin.release>2.5.2</version.maven.plugin.release>
38+
<version.maven.plugin.resources>3.3.1</version.maven.plugin.resources>
39+
<version.maven.plugin.shade>3.4.1</version.maven.plugin.shade>
40+
<version.maven.plugin.source>2.2.1</version.maven.plugin.source>
41+
<version.maven.plugin.surefire>2.22.2</version.maven.plugin.surefire>
42+
</properties>
43+
44+
<dependencies>
45+
46+
<!-- Beam -->
47+
<dependency>
48+
<groupId>org.apache.beam</groupId>
49+
<artifactId>beam-sdks-java-core</artifactId>
50+
<version>${beam.version}</version>
51+
</dependency>
52+
53+
<!-- Cassandra Driver 4x -->
54+
<dependency>
55+
<groupId>com.datastax.oss</groupId>
56+
<artifactId>java-driver-core</artifactId>
57+
<version>${cassandra-driver4x.version}</version>
58+
</dependency>
59+
<dependency>
60+
<groupId>com.datastax.oss</groupId>
61+
<artifactId>java-driver-query-builder</artifactId>
62+
<version>${cassandra-driver4x.version}</version>
63+
</dependency>
64+
<dependency>
65+
<groupId>com.datastax.oss</groupId>
66+
<artifactId>java-driver-mapper-runtime</artifactId>
67+
<version>${cassandra-driver4x.version}</version>
68+
</dependency>
69+
70+
<!-- AutoValue -->
71+
<dependency>
72+
<groupId>com.google.auto.value</groupId>
73+
<artifactId>auto-value</artifactId>
74+
<version>${auto-value.version}</version>
75+
</dependency>
76+
<dependency>
77+
<groupId>com.google.auto.value</groupId>
78+
<artifactId>auto-value-annotations</artifactId>
79+
<version>${auto-value.version}</version>
80+
</dependency>
81+
82+
<!-- Logging -->
83+
<dependency>
84+
<groupId>org.slf4j</groupId>
85+
<artifactId>slf4j-api</artifactId>
86+
<version>${slf4j.version}</version>
87+
</dependency>
88+
89+
<!-- Runtime -->
90+
<dependency>
91+
<groupId>ch.qos.logback</groupId>
92+
<artifactId>logback-classic</artifactId>
93+
<version>${logback.version}</version>
94+
<scope>runtime</scope>
95+
</dependency>
96+
<dependency>
97+
<groupId>ch.qos.logback</groupId>
98+
<artifactId>logback-core</artifactId>
99+
<version>${logback.version}</version>
100+
<scope>runtime</scope>
101+
</dependency>
102+
103+
<!-- Tests -->
104+
<dependency>
105+
<groupId>junit</groupId>
106+
<artifactId>junit</artifactId>
107+
<version>${junit.version}</version>
108+
<scope>test</scope>
109+
</dependency>
110+
<dependency>
111+
<groupId>org.hamcrest</groupId>
112+
<artifactId>hamcrest</artifactId>
113+
<version>${hamcrest.version}</version>
114+
<scope>test</scope>
115+
</dependency>
116+
<dependency>
117+
<groupId>com.datastax.astra</groupId>
118+
<artifactId>astra-sdk-devops</artifactId>
119+
<version>${astra-sdk.version}</version>
120+
<scope>test</scope>
121+
<exclusions>
122+
<exclusion>
123+
<groupId>ch.qos.logback</groupId>
124+
<artifactId>logback-classic</artifactId>
125+
</exclusion>
126+
</exclusions>
127+
</dependency>
128+
<dependency>
129+
<groupId>org.apache.beam</groupId>
130+
<artifactId>beam-runners-direct-java</artifactId>
131+
<version>${beam.version}</version>
132+
<scope>test</scope>
133+
</dependency>
134+
135+
</dependencies>
136+
137+
<build>
138+
<plugins>
139+
140+
<plugin>
141+
<groupId>org.apache.maven.plugins</groupId>
142+
<artifactId>maven-compiler-plugin</artifactId>
143+
<version>${version.maven.plugin.compiler}</version>
144+
<configuration>
145+
<source>${maven.plugin.compiler.source}</source>
146+
<target>${maven.plugin.compiler.target}</target>
147+
<showWarnings>false</showWarnings>
148+
<annotationProcessorPaths>
149+
<path>
150+
<groupId>com.google.auto.value</groupId>
151+
<artifactId>auto-value</artifactId>
152+
<version>${auto-value.version}</version>
153+
</path>
154+
<path>
155+
<groupId>com.datastax.oss</groupId>
156+
<artifactId>java-driver-mapper-processor</artifactId>
157+
<version>${cassandra-driver4x.version}</version>
158+
</path>
159+
</annotationProcessorPaths>
160+
</configuration>
161+
</plugin>
162+
163+
<plugin>
164+
<artifactId>maven-source-plugin</artifactId>
165+
<version>${version.maven.plugin.source}</version>
166+
<executions>
167+
<execution>
168+
<id>attach-sources</id>
169+
<goals>
170+
<goal>jar-no-fork</goal>
171+
</goals>
172+
</execution>
173+
</executions>
174+
</plugin>
175+
176+
<plugin>
177+
<artifactId>maven-release-plugin</artifactId>
178+
<version>${version.maven.plugin.release}</version>
179+
<configuration>
180+
<tagNameFormat>@{project.version}</tagNameFormat>
181+
<autoVersionSubmodules>true</autoVersionSubmodules>
182+
<useReleaseProfile>false</useReleaseProfile>
183+
<releaseProfiles>release</releaseProfiles>
184+
<goals>deploy</goals>
185+
</configuration>
186+
</plugin>
187+
188+
<!--
189+
<plugin>
190+
<groupId>org.apache.maven.plugins</groupId>
191+
<artifactId>maven-javadoc-plugin</artifactId>
192+
<version>${version.maven.plugin.javadoc}</version>
193+
<executions>
194+
<execution>
195+
<id>attach-javadocs</id>
196+
<goals>
197+
<goal>jar</goal>
198+
</goals>
199+
</execution>
200+
</executions>
201+
</plugin>
202+
-->
203+
204+
<plugin>
205+
<groupId>org.apache.maven.plugins</groupId>
206+
<artifactId>maven-dependency-plugin</artifactId>
207+
<version>${version.maven.plugin.dependency}</version>
208+
</plugin>
209+
210+
<plugin>
211+
<groupId>org.sonatype.plugins</groupId>
212+
<artifactId>nexus-staging-maven-plugin</artifactId>
213+
<version>${version.maven.plugin.nexus}</version>
214+
<extensions>true</extensions>
215+
<configuration>
216+
<serverId>ossrh</serverId>
217+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
218+
<autoReleaseAfterClose>false</autoReleaseAfterClose>
219+
<skipLocalStaging>true</skipLocalStaging>
220+
</configuration>
221+
</plugin>
222+
223+
<plugin>
224+
<groupId>org.apache.maven.plugins</groupId>
225+
<artifactId>maven-gpg-plugin</artifactId>
226+
<version>${version.maven.plugin.gpg}</version>
227+
</plugin>
228+
229+
<plugin>
230+
<groupId>org.codehaus.mojo</groupId>
231+
<artifactId>license-maven-plugin</artifactId>
232+
<version>${version.maven.plugin.license}</version>
233+
<configuration>
234+
<verbose>false</verbose>
235+
<extraExtensions>
236+
<myProprietaryExtension>java</myProprietaryExtension>
237+
</extraExtensions>
238+
</configuration>
239+
<executions>
240+
<execution>
241+
<id>add-license</id>
242+
<goals>
243+
<goal>update-file-header</goal>
244+
</goals>
245+
<phase>process-sources</phase>
246+
<configuration>
247+
<projectName>Beam SDK for Astra</projectName>
248+
<organizationName>DataStax</organizationName>
249+
<inceptionYear>2023</inceptionYear>
250+
<licenseName>apache2</licenseName>
251+
<licenseResolver>${project.baseUri}/src/license</licenseResolver>
252+
<addJavaLicenseAfterPackage>true</addJavaLicenseAfterPackage>
253+
<sectionDelimiter>--</sectionDelimiter>
254+
<roots>
255+
<root>src/main/java</root>
256+
</roots>
257+
</configuration>
258+
</execution>
259+
</executions>
260+
</plugin>
261+
262+
<plugin>
263+
<groupId>org.apache.maven.plugins</groupId>
264+
<artifactId>maven-jar-plugin</artifactId>
265+
<version>${version.maven.plugin.jar}</version>
266+
</plugin>
267+
268+
<plugin>
269+
<groupId>org.apache.maven.plugins</groupId>
270+
<artifactId>maven-resources-plugin</artifactId>
271+
<version>${version.maven.plugin.resources}</version>
272+
<configuration>
273+
<escapeString>\</escapeString>
274+
<encoding>UTF-8</encoding>
275+
</configuration>
276+
</plugin>
277+
</plugins>
278+
279+
</build>
280+
281+
<profiles>
282+
<profile>
283+
<id>release</id>
284+
<build>
285+
<plugins>
286+
<plugin>
287+
<groupId>org.apache.maven.plugins</groupId>
288+
<artifactId>maven-gpg-plugin</artifactId>
289+
<executions>
290+
<execution>
291+
<id>sign-artifacts</id>
292+
<phase>verify</phase>
293+
<goals>
294+
<goal>sign</goal>
295+
</goals>
296+
</execution>
297+
</executions>
298+
</plugin>
299+
</plugins>
300+
</build>
301+
</profile>
302+
</profiles>
303+
304+
<organization>
305+
<name>DataStax</name>
306+
<url>http://datastax.com</url>
307+
</organization>
308+
309+
<licenses>
310+
<license>
311+
<name>Apache 2</name>
312+
<url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
313+
<distribution>repo</distribution>
314+
</license>
315+
</licenses>
316+
317+
<scm>
318+
<connection>scm:git:git@github.com:clun/beam-sdks-java-io-astra.git</connection>
319+
<developerConnection>scm:git:git@github.com:clun/beam-sdks-java-io-astra.git</developerConnection>
320+
<url>https://github.com/clun/beam-sdks-java-io-astra</url>
321+
<tag>HEAD</tag>
322+
</scm>
323+
324+
<distributionManagement>
325+
<repository>
326+
<id>ossrh</id>
327+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
328+
</repository>
329+
</distributionManagement>
330+
331+
<developers>
332+
<developer>
333+
<id>clunven</id>
334+
<name>Cedrick Lunven</name>
335+
<email>cedrick.lunven@gmail.com</email>
336+
<url>https://github.com/clun</url>
337+
</developer>
338+
</developers>
339+
340+
</project>

release.properties

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,18 @@
11
#release configuration
2-
#Wed Jun 21 19:46:01 CEST 2023
2+
#Wed Jun 21 19:47:11 CEST 2023
33
projectVersionPolicyId=default
4-
scm.tagNameFormat=@{project.version}
54
remoteTagging=true
5+
project.rel.com.datastax.astra\:beam-sdks-java-io-astra=4.16.0
66
scm.commentPrefix=[maven-release-plugin]
7-
pushChanges=true
8-
completedPhase=check-poms
7+
project.scm.com.datastax.astra\:beam-sdks-java-io-astra.developerConnection=scm\:git\:git@github.com\:clun/beam-sdks-java-io-astra.git
8+
project.scm.com.datastax.astra\:beam-sdks-java-io-astra.connection=scm\:git\:git@github.com\:clun/beam-sdks-java-io-astra.git
9+
completedPhase=generate-release-poms
910
scm.url=scm\:git\:git@github.com\:clun/beam-sdks-java-io-astra.git
11+
project.scm.com.datastax.astra\:beam-sdks-java-io-astra.tag=HEAD
12+
project.dev.com.datastax.astra\:beam-sdks-java-io-astra=4.16.1-SNAPSHOT
13+
scm.tagNameFormat=@{project.version}
14+
pushChanges=true
15+
project.scm.com.datastax.astra\:beam-sdks-java-io-astra.url=https\://github.com/clun/beam-sdks-java-io-astra
16+
scm.tag=4.16.0
1017
exec.snapshotReleasePluginAllowed=false
1118
preparationGoals=clean verify

0 commit comments

Comments
 (0)