Skip to content

Commit d8f8981

Browse files
author
talhadilber
committed
pom prepared for maven central for deployment
1 parent 3bc945a commit d8f8981

File tree

1 file changed

+95
-1
lines changed

1 file changed

+95
-1
lines changed

pom.xml

Lines changed: 95 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,38 @@
1111
<relativePath/>
1212
</parent>
1313

14-
<groupId>com.beyt</groupId>
14+
<groupId>io.github.tdilber</groupId>
1515
<artifactId>spring-jpa-dynamic-query</artifactId>
1616
<version>0.2.0</version>
17+
<packaging>jar</packaging>
18+
<name>Spring Jpa Dynamic Query</name>
19+
<description>Spring Jpa Dynamic Query Project</description>
20+
<url>https://github.com/tdilber/spring-jpa-generic-criteria</url>
21+
22+
<licenses>
23+
<license>
24+
<name>The Apache License, Version 2.0</name>
25+
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
26+
</license>
27+
</licenses>
28+
29+
<developers>
30+
<developer>
31+
<name>Talha Dilber</name>
32+
<email>dilber.talha@gmail.com</email>
33+
</developer>
34+
</developers>
35+
36+
<scm>
37+
<connection>scm:git:git://github.com/tdilber/spring-jpa-generic-criteria.git</connection>
38+
<developerConnection>scm:git:ssh://github.com:tdilber/spring-jpa-generic-criteria.git</developerConnection>
39+
<url>http://github.com/tdilber/spring-jpa-generic-criteria/tree/master</url>
40+
</scm>
1741

1842

1943
<properties>
2044
<java.version>17</java.version>
45+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2146
</properties>
2247

2348
<dependencies>
@@ -96,4 +121,73 @@
96121
<scope>test</scope>
97122
</dependency>
98123
</dependencies>
124+
125+
<distributionManagement>
126+
<snapshotRepository>
127+
<id>ossrh</id>
128+
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
129+
</snapshotRepository>
130+
<repository>
131+
<id>ossrh</id>
132+
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
133+
</repository>
134+
</distributionManagement>
135+
136+
<build>
137+
<plugins>
138+
<plugin>
139+
<groupId>org.apache.maven.plugins</groupId>
140+
<artifactId>maven-source-plugin</artifactId>
141+
<version>3.2.1</version>
142+
<executions>
143+
<execution>
144+
<id>attach-sources</id>
145+
<goals>
146+
<goal>jar-no-fork</goal>
147+
</goals>
148+
</execution>
149+
</executions>
150+
</plugin>
151+
<plugin>
152+
<groupId>org.apache.maven.plugins</groupId>
153+
<artifactId>maven-javadoc-plugin</artifactId>
154+
<version>2.9.1</version>
155+
<executions>
156+
<execution>
157+
<id>attach-javadocs</id>
158+
<phase>package</phase>
159+
<goals>
160+
<goal>jar</goal>
161+
</goals>
162+
</execution>
163+
</executions>
164+
</plugin>
165+
<plugin>
166+
<groupId>org.apache.maven.plugins</groupId>
167+
<artifactId>maven-gpg-plugin</artifactId>
168+
<version>1.5</version>
169+
<executions>
170+
<execution>
171+
<id>sign-artifacts</id>
172+
<phase>verify</phase>
173+
<goals>
174+
<goal>sign</goal>
175+
</goals>
176+
</execution>
177+
</executions>
178+
</plugin>
179+
<plugin>
180+
<groupId>org.sonatype.central</groupId>
181+
<artifactId>central-publishing-maven-plugin</artifactId>
182+
<version>0.3.0</version>
183+
<extensions>true</extensions>
184+
<configuration>
185+
<publishingServerId>central</publishingServerId>
186+
<tokenAuth>true</tokenAuth>
187+
</configuration>
188+
</plugin>
189+
</plugins>
190+
</build>
191+
192+
99193
</project>

0 commit comments

Comments
 (0)