skip to Main Content

How To Host My Telegram Bot [JAVA] Using Heroku & Maven and GitHub? – Telegram API

My pom.xml File : <modelVersion>4.0.0</modelVersion> <groupId>TelegramBOT</groupId> <artifactId>TelegramBOT</artifactId> <version>0.0.1-SNAPSHOT</version> <build> <sourceDirectory>src</sourceDirectory> <plugins> <plugin> <groupId>com.heroku.sdk</groupId> <artifactId>heroku-maven-plugin</artifactId> <version>3.0.2</version> <configuration> <release>13</release> <appName>TelegramBOT</appName> <processTypes> <web>java $JAVA_OPTS -cp target/classes:target/dependency/* Main</web> </processTypes> </configuration> </plugin> </plugins> </build> <dependencies> <!-- https://mvnrepository.com/artifact/org.telegram/telegrambots --> <dependency> <groupId>org.telegram</groupId> <artifactId>telegrambots</artifactId> <version>4.9</version> </dependency> </dependencies> </project>…

VIEW QUESTION
Back To Top
Search