Skip to content

Commit

Permalink
Updating pom.xml to have licences, developers, scm and distributionMa…
Browse files Browse the repository at this point in the history
…nagement properties
  • Loading branch information
dostonhamrakulov committed Dec 28, 2023
1 parent 320b078 commit 58663fb
Showing 1 changed file with 64 additions and 1 deletion.
65 changes: 64 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
@@ -1,14 +1,46 @@
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>uz.dosha.web</groupId>
<groupId>com.github.dostonhamrakulov</groupId>
<artifactId>java-telegram-bot-calendar</artifactId>
<packaging>jar</packaging>
<version>1.0-SNAPSHOT</version>
<name>java-telegram-bot-calendar Maven Webapp</name>
<description>Calendar for Telegram Bot in Java that you can use in your java based telegram bots</description>
<url>https://dosha.uz/</url>

<licenses>
<license>
<name>MIT License</name>
<url>http://www.opensource.org/licenses/mit-license.php</url>
</license>
</licenses>

<developers>
<developer>
<id>dostonhamrakulov</id>
<name>Doston Hamrakulov</name>
<url>https://github.com/dostonhamrakulov</url>
</developer>
</developers>

<scm>
<connection>scm:git:git://github.com/dostonhamrakulov/java-telegram-bot-calendar.git</connection>
<developerConnection>scm:git:ssh://github.com:dostonhamrakulov/java-telegram-bot-calendar.git</developerConnection>
<url>https://github.com/dostonhamrakulov/java-telegram-bot-calendar/tree/master</url>
</scm>

<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>

<dependencies>
<dependency>
<groupId>junit</groupId>
Expand Down Expand Up @@ -40,6 +72,37 @@
<target>8</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.2.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.2.0</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.2</version>
</plugin>
</plugins>
</build>
</project>

0 comments on commit 58663fb

Please sign in to comment.