Skip to content

Commit bb1a283

Browse files
committed
Prepared pom.xml for publishing
1 parent 04196e6 commit bb1a283

File tree

1 file changed

+103
-2
lines changed

1 file changed

+103
-2
lines changed

pom.xml

Lines changed: 103 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,57 @@
44
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

7-
<groupId>org.example</groupId>
7+
<groupId>io.github.mulla028</groupId>
88
<artifactId>PolyglotCode</artifactId>
9-
<version>1.0-SNAPSHOT</version>
9+
<version>1.0</version>
10+
<name>PolyglotCode</name>
11+
<description>Simple CLI Tool that translates your code in ANY programming language! Powered by AI.</description>
12+
<url>https://github.com/mulla028/PolyglotCode</url>
13+
<licenses>
14+
<license>
15+
<name>MIT License</name>
16+
<url>https://opensource.org/licenses/MIT</url>
17+
<distribution>repo</distribution>
18+
</license>
19+
</licenses>
20+
21+
<distributionManagement>
22+
<repository>
23+
<id>ossrh</id>
24+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
25+
</repository>
26+
<snapshotRepository>
27+
<id>ossrh</id>
28+
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
29+
</snapshotRepository>
30+
</distributionManagement>
31+
32+
<profiles>
33+
<profile>
34+
<id>ossrh</id>
35+
<properties>
36+
<gpg.executable>gpg</gpg.executable>
37+
<gpg.keyname>8882786B85D55E84</gpg.keyname>
38+
</properties>
39+
<activation>
40+
<activeByDefault>true</activeByDefault>
41+
</activation>
42+
</profile>
43+
</profiles>
44+
45+
<developers>
46+
<developer>
47+
<id>mulla028</id>
48+
<name>Amir Mullagaliev</name>
49+
<email>[email protected]</email>
50+
</developer>
51+
</developers>
52+
53+
<scm>
54+
<connection>scm:git:https://github.com/mulla028/PolyglotCode.git</connection>
55+
<developerConnection>scm:git:ssh://github.com/mulla028/PolyglotCode.git</developerConnection>
56+
<url>https://github.com/mulla028/PolyglotCode</url>
57+
</scm>
1058

1159
<properties>
1260
<maven.compiler.source>21</maven.compiler.source>
@@ -123,6 +171,59 @@
123171
</executions>
124172
</plugin>
125173

174+
<plugin>
175+
<groupId>org.apache.maven.plugins</groupId>
176+
<artifactId>maven-gpg-plugin</artifactId>
177+
<version>3.0.1</version>
178+
<executions>
179+
<execution>
180+
<id>sign-artifacts</id>
181+
<phase>verify</phase>
182+
<goals>
183+
<goal>sign</goal>
184+
</goals>
185+
</execution>
186+
</executions>
187+
</plugin>
188+
189+
<plugin>
190+
<groupId>org.apache.maven.plugins</groupId>
191+
<artifactId>maven-source-plugin</artifactId>
192+
<version>3.2.1</version>
193+
<executions>
194+
<execution>
195+
<id>attach-sources</id>
196+
<goals>
197+
<goal>jar</goal>
198+
</goals>
199+
</execution>
200+
</executions>
201+
</plugin>
202+
203+
<plugin>
204+
<groupId>org.apache.maven.plugins</groupId>
205+
<artifactId>maven-javadoc-plugin</artifactId>
206+
<version>3.4.1</version>
207+
<executions>
208+
<execution>
209+
<id>attach-javadocs</id>
210+
<goals>
211+
<goal>jar</goal>
212+
</goals>
213+
</execution>
214+
</executions>
215+
</plugin>
216+
217+
<plugin>
218+
<groupId>org.sonatype.central</groupId>
219+
<artifactId>central-publishing-maven-plugin</artifactId>
220+
<version>0.6.0</version>
221+
<extensions>true</extensions>
222+
<configuration>
223+
<publishingServerId>ossrh</publishingServerId>
224+
<waitUntil>published</waitUntil>
225+
</configuration>
226+
</plugin>
126227

127228
</plugins>
128229
</build>

0 commit comments

Comments
 (0)