Skip to content

Commit d49b002

Browse files
authored
Merge pull request #10 from BinaryIgor/release-setup
Release setup
2 parents 34da2e9 + 157ed22 commit d49b002

2 files changed

Lines changed: 119 additions & 3 deletions

File tree

LICENSE.txt

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2025 Igor Roztropiński
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

pom.xml

Lines changed: 98 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,39 @@
77
<groupId>com.binaryigor</groupId>
88
<artifactId>eventsql</artifactId>
99
<version>0.0.1-SNAPSHOT</version>
10+
<packaging>jar</packaging>
11+
12+
<name>EventSQL</name>
13+
<description>Events over SQL.</description>
14+
<url>https://github.com/BinaryIgor/EventSQL</url>
15+
16+
<licenses>
17+
<license>
18+
<name>MIT License</name>
19+
<url>https://opensource.org/license/mit</url>
20+
</license>
21+
</licenses>
22+
23+
<developers>
24+
<developer>
25+
<name>Igor Roztropiński</name>
26+
<email>[email protected]</email>
27+
<organization>Binary Igor</organization>
28+
<organizationUrl>https://binaryigor.com</organizationUrl>
29+
</developer>
30+
</developers>
31+
32+
<scm>
33+
<connection>scm:git:git://github.com/BinaryIgor/EventSQL.git</connection>
34+
<developerConnection>scm:git:ssh://github.com:BinaryIgor/EventSQL.git</developerConnection>
35+
<url>https://github.com/BinaryIgor/EventSQL/tree/master</url>
36+
</scm>
1037

1138
<properties>
12-
<maven.compiler.source>21</maven.compiler.source>
13-
<maven.compiler.target>21</maven.compiler.target>
14-
<maven.compiler.release>21</maven.compiler.release>
39+
<java.version>21</java.version>
40+
<maven.compiler.source>${java.version}</maven.compiler.source>
41+
<maven.compiler.target>${java.version}</maven.compiler.target>
42+
<maven.compiler.release>${java.version}</maven.compiler.release>
1543
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1644
<!-- not latest, for safer support of older dbs: https://www.jooq.org/download/support-matrix -->
1745
<jooq.version>3.19.11</jooq.version>
@@ -24,6 +52,12 @@
2452
<mysql.driver.version>9.1.0</mysql.driver.version>
2553
<mariadb.driver.version>3.5.3</mariadb.driver.version>
2654
<jacoco.version>0.8.13</jacoco.version>
55+
56+
<!-- plugins -->
57+
<maven.central.publish.plugin.version>0.7.0</maven.central.publish.plugin.version>
58+
<maven.source.plugin.version>2.2.1</maven.source.plugin.version>
59+
<maven.javadoc.plugin.version>2.9.1</maven.javadoc.plugin.version>
60+
<maven.gpg.plugin.version>1.5</maven.gpg.plugin.version>
2761
</properties>
2862

2963
<dependencies>
@@ -135,5 +169,66 @@
135169
</plugins>
136170
</build>
137171
</profile>
172+
<profile>
173+
<id>release</id>
174+
<build>
175+
<plugins>
176+
<plugin>
177+
<groupId>org.sonatype.central</groupId>
178+
<artifactId>central-publishing-maven-plugin</artifactId>
179+
<version>${maven.central.publish.plugin.version}</version>
180+
<extensions>true</extensions>
181+
<configuration>
182+
<publishingServerId>central</publishingServerId>
183+
</configuration>
184+
</plugin>
185+
<plugin>
186+
<groupId>org.apache.maven.plugins</groupId>
187+
<artifactId>maven-source-plugin</artifactId>
188+
<version>${maven.source.plugin.version}</version>
189+
<executions>
190+
<execution>
191+
<id>attach-sources</id>
192+
<goals>
193+
<goal>jar-no-fork</goal>
194+
</goals>
195+
</execution>
196+
</executions>
197+
</plugin>
198+
<plugin>
199+
<groupId>org.apache.maven.plugins</groupId>
200+
<artifactId>maven-javadoc-plugin</artifactId>
201+
<version>${maven.javadoc.plugin.version}</version>
202+
<configuration>
203+
<links>
204+
<link>https://docs.oracle.com/en/java/javase/${java.version}/docs/api</link>
205+
</links>
206+
</configuration>
207+
<executions>
208+
<execution>
209+
<id>attach-javadocs</id>
210+
<goals>
211+
<goal>jar</goal>
212+
</goals>
213+
</execution>
214+
</executions>
215+
</plugin>
216+
<plugin>
217+
<groupId>org.apache.maven.plugins</groupId>
218+
<artifactId>maven-gpg-plugin</artifactId>
219+
<version>${maven.gpg.plugin.version}</version>
220+
<executions>
221+
<execution>
222+
<id>sign-artifacts</id>
223+
<phase>verify</phase>
224+
<goals>
225+
<goal>sign</goal>
226+
</goals>
227+
</execution>
228+
</executions>
229+
</plugin>
230+
</plugins>
231+
</build>
232+
</profile>
138233
</profiles>
139234
</project>

0 commit comments

Comments
 (0)