This commit is contained in:
uPagge 2020-11-05 01:48:43 +03:00
parent e400942a69
commit f49f87ca43
No known key found for this signature in database
GPG Key ID: A76EB343414E022E
2 changed files with 112 additions and 16 deletions

View File

@ -6,22 +6,9 @@
<groupId>org.sadtech.telegram</groupId> <groupId>org.sadtech.telegram</groupId>
<artifactId>telegram-bot</artifactId> <artifactId>telegram-bot</artifactId>
<version>0.0.1-DEVELOPER</version> <version>0.0.1-RELEASE</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>8</source>
<target>8</target>
</configuration>
</plugin>
</plugins>
</build>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.sadtech.social</groupId> <groupId>org.sadtech.social</groupId>
@ -35,7 +22,6 @@
<version>4.9.1</version> <version>4.9.1</version>
</dependency> </dependency>
<!-- https://mvnrepository.com/artifact/org.telegram/telegrambots-abilities -->
<dependency> <dependency>
<groupId>org.telegram</groupId> <groupId>org.telegram</groupId>
<artifactId>telegrambots-abilities</artifactId> <artifactId>telegrambots-abilities</artifactId>
@ -49,6 +35,21 @@
</dependency> </dependency>
</dependencies> </dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>8</source>
<target>8</target>
</configuration>
</plugin>
</plugins>
</build>
<developers> <developers>
<developer> <developer>
<id>uPagge</id> <id>uPagge</id>

97
pom.xml
View File

@ -7,10 +7,105 @@
<groupId>org.sadtech.telegram</groupId> <groupId>org.sadtech.telegram</groupId>
<artifactId>telegram</artifactId> <artifactId>telegram</artifactId>
<packaging>pom</packaging> <packaging>pom</packaging>
<version>0.0.1-DEV</version> <version>0.0.1-RELEASE</version>
<modules> <modules>
<module>bot</module> <module>bot</module>
</modules> </modules>
<name>Telegram Bot</name>
<description>Allows you to create bots for Telegram</description>
<url>https://github.com/uPagge/telegram-bot</url>
<licenses>
<license>
<name>Apache 2 License</name>
<url>https://github.com/uPagge/telegram-bot/blob/master/LICENSE</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<connection>scm:git:https://github.com/uPagge/telegram-bot.git</connection>
<url>https://github.com/uPagge/telegram-bot</url>
<developerConnection>scm:git:https://github.com/uPagge/telegram-bot.git</developerConnection>
</scm>
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>
<profiles>
<profile>
<id>release</id>
<build>
<plugins>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.7</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.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>2.9.1</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.5</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.7</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project> </project>