From 7cfcca3ae37b250c1ad8124d64108baf7ad77afe Mon Sep 17 00:00:00 2001 From: rubenlagus Date: Tue, 10 Sep 2019 22:29:10 +0100 Subject: [PATCH] Fix error importing project --- .gitignore | 3 + README.md | 8 +- TelegramBots.wiki/Changelog.md | 3 + TelegramBots.wiki/Getting-Started.md | 4 +- TelegramBots.wiki/abilities/Simple-Example.md | 2 +- pom.xml | 87 ++++++++++++++++++- telegrambots-abilities/README.md | 8 +- telegrambots-abilities/pom.xml | 4 +- .../src/test/resources/log4j2-test.xml | 19 ++++ telegrambots-chat-session-bot/README.md | 2 +- telegrambots-chat-session-bot/pom.xml | 4 +- telegrambots-extensions/README.md | 4 +- telegrambots-extensions/pom.xml | 4 +- telegrambots-meta/pom.xml | 2 +- .../src/test/resources/log4j2-test.xml | 19 ++++ telegrambots-spring-boot-starter/pom.xml | 4 +- .../src/test/resources/log4j2-test.xml | 19 ++++ telegrambots/pom.xml | 4 +- .../src/test/resources/log4j2-test.xml | 19 ++++ 19 files changed, 191 insertions(+), 28 deletions(-) create mode 100644 telegrambots-abilities/src/test/resources/log4j2-test.xml create mode 100644 telegrambots-meta/src/test/resources/log4j2-test.xml create mode 100644 telegrambots-spring-boot-starter/src/test/resources/log4j2-test.xml create mode 100644 telegrambots/src/test/resources/log4j2-test.xml diff --git a/.gitignore b/.gitignore index 737c7ac7..c0b06615 100644 --- a/.gitignore +++ b/.gitignore @@ -41,3 +41,6 @@ copyright/ #File System specific files .DS_STORE + +# Default ignored files +/Bots.iws \ No newline at end of file diff --git a/README.md b/README.md index 5d45b712..15de0465 100644 --- a/README.md +++ b/README.md @@ -27,16 +27,16 @@ Just import add the library to your project with one of these options: org.telegram telegrambots - 4.4.0 + 4.4.0.1 ``` ```gradle - compile "org.telegram:telegrambots:4.4.0" + compile "org.telegram:telegrambots:4.4.0.1" ``` - 2. Using Jitpack from [here](https://jitpack.io/#rubenlagus/TelegramBots/4.4.0) - 3. Download the jar(including all dependencies) from [here](https://mvnrepository.com/artifact/org.telegram/telegrambots/4.4.0) + 2. Using Jitpack from [here](https://jitpack.io/#rubenlagus/TelegramBots/4.4.0.1) + 3. Download the jar(including all dependencies) from [here](https://mvnrepository.com/artifact/org.telegram/telegrambots/4.4.0.1) In order to use Long Polling mode, just create your own bot extending `org.telegram.telegrambots.bots.TelegramLongPollingBot`. diff --git a/TelegramBots.wiki/Changelog.md b/TelegramBots.wiki/Changelog.md index d234ab7c..4f686e71 100644 --- a/TelegramBots.wiki/Changelog.md +++ b/TelegramBots.wiki/Changelog.md @@ -1,3 +1,6 @@ +### 4.4.0.1 ### +1. Bug fix when importing the project + ### 4.4.0 ### 1. Update Api version [4.4](https://core.telegram.org/bots/api-changelog#july-29-2019) 2. Removed BotLogger, replaced with [log4j2](https://logging.apache.org/log4j/2.x/) diff --git a/TelegramBots.wiki/Getting-Started.md b/TelegramBots.wiki/Getting-Started.md index e0878bbe..0f9d2a6c 100644 --- a/TelegramBots.wiki/Getting-Started.md +++ b/TelegramBots.wiki/Getting-Started.md @@ -11,13 +11,13 @@ First you need ot get the library and add it to your project. There are few poss org.telegram telegrambots - 4.4.0 + 4.4.0.1 ``` * With **Gradle**: ```groovy - compile group: 'org.telegram', name: 'telegrambots', version: '4.4.0' + compile group: 'org.telegram', name: 'telegrambots', version: '4.4.0.1' ``` 2. Don't like **Maven Central Repository**? It can also be taken from [Jitpack](https://jitpack.io/#rubenlagus/TelegramBots). diff --git a/TelegramBots.wiki/abilities/Simple-Example.md b/TelegramBots.wiki/abilities/Simple-Example.md index 3aa89b8a..04bf57f5 100644 --- a/TelegramBots.wiki/abilities/Simple-Example.md +++ b/TelegramBots.wiki/abilities/Simple-Example.md @@ -9,7 +9,7 @@ As with any Java project, you will need to set your dependencies. org.telegram telegrambots-abilities - 4.4.0 + 4.4.0.1 ``` * **Gradle** diff --git a/pom.xml b/pom.xml index c6869154..5498fb4d 100644 --- a/pom.xml +++ b/pom.xml @@ -7,7 +7,7 @@ org.telegram Bots pom - 4.4.0 + 4.4.0.1 telegrambots @@ -26,14 +26,47 @@ + Bots + https://github.com/rubenlagus/TelegramBots + Easy to use library to create Telegram Bots + + + https://github.com/rubenlagus/TelegramBots/issues + GitHub Issues + + + + https://github.com/rubenlagus/TelegramBots + scm:git:git://github.com/rubenlagus/TelegramBots.git + scm:git:git@github.com:rubenlagus/TelegramBots.git + + + + + rberlopez@gmail.com + Ruben Bermudez + https://github.com/rubenlagus + rubenlagus + + + + + + ossrh + https://oss.sonatype.org/content/repositories/snapshots + + + ossrh + https://oss.sonatype.org/service/local/staging/deploy/maven2/ + + + 11 8 ${java.version} ${java.version} - true - 5.5.1 3.0.0 3.0.0 @@ -113,4 +146,52 @@ ${slf4j.version} + + + + + org.apache.maven.plugins + maven-gpg-plugin + 1.6 + + + sign-artifacts + verify + + sign + + + + + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.8 + true + + ossrh + https://oss.sonatype.org/ + true + + + + org.apache.maven.plugins + maven-enforcer-plugin + 3.0.0-M2 + + + enforce-versions + + enforce + + + + + + + + + + + \ No newline at end of file diff --git a/telegrambots-abilities/README.md b/telegrambots-abilities/README.md index d43fa96c..483334c0 100644 --- a/telegrambots-abilities/README.md +++ b/telegrambots-abilities/README.md @@ -18,19 +18,19 @@ Usage org.telegram telegrambots-abilities - 4.4.0 + 4.4.0.1 ``` **Gradle** ```gradle - compile "org.telegram:telegrambots-abilities:4.4.0" + compile "org.telegram:telegrambots-abilities:4.4.0.1" ``` -**JitPack** - [JitPack](https://jitpack.io/#rubenlagus/TelegramBots/v4.4.0) +**JitPack** - [JitPack](https://jitpack.io/#rubenlagus/TelegramBots/v4.4.0.1) -**Plain imports** - [Here](https://github.com/rubenlagus/TelegramBots/releases/tag/v4.4.0) +**Plain imports** - [Here](https://github.com/rubenlagus/TelegramBots/releases/tag/v4.4.0.1) Motivation ---------- diff --git a/telegrambots-abilities/pom.xml b/telegrambots-abilities/pom.xml index 7f420e0a..7325fd3a 100644 --- a/telegrambots-abilities/pom.xml +++ b/telegrambots-abilities/pom.xml @@ -7,7 +7,7 @@ org.telegram Bots - 4.4.0 + 4.4.0.1 telegrambots-abilities @@ -85,7 +85,7 @@ org.telegram telegrambots - 4.4.0 + 4.4.0.1 org.apache.commons diff --git a/telegrambots-abilities/src/test/resources/log4j2-test.xml b/telegrambots-abilities/src/test/resources/log4j2-test.xml new file mode 100644 index 00000000..8054f7f7 --- /dev/null +++ b/telegrambots-abilities/src/test/resources/log4j2-test.xml @@ -0,0 +1,19 @@ + + + + %d{yyyy-MM-dd'T'HH:mm:ss.SSSZ} [%t] %-5level %logger{36} - %msg%n + App + + + + + + + + + + + + + + \ No newline at end of file diff --git a/telegrambots-chat-session-bot/README.md b/telegrambots-chat-session-bot/README.md index 212ceb0a..f0616b41 100644 --- a/telegrambots-chat-session-bot/README.md +++ b/telegrambots-chat-session-bot/README.md @@ -15,7 +15,7 @@ Usage org.telegram telegrambots-chat-session-bot - 4.4.0 + 4.4.0.1 ``` diff --git a/telegrambots-chat-session-bot/pom.xml b/telegrambots-chat-session-bot/pom.xml index 3765c8f4..606db6ac 100644 --- a/telegrambots-chat-session-bot/pom.xml +++ b/telegrambots-chat-session-bot/pom.xml @@ -7,7 +7,7 @@ org.telegram Bots - 4.4.0 + 4.4.0.1 telegrambots-chat-session-bot @@ -84,7 +84,7 @@ org.telegram telegrambots - 4.4.0 + 4.4.0.1 diff --git a/telegrambots-extensions/README.md b/telegrambots-extensions/README.md index 6e1d2173..448d404c 100644 --- a/telegrambots-extensions/README.md +++ b/telegrambots-extensions/README.md @@ -16,12 +16,12 @@ Just import add the library to your project with one of these options: org.telegram telegrambotsextensions - 4.4.0 + 4.4.0.1 ``` 2. Using Gradle: ```gradle - compile "org.telegram:telegrambotsextensions:4.4.0" + compile "org.telegram:telegrambotsextensions:4.4.0.1" ``` \ No newline at end of file diff --git a/telegrambots-extensions/pom.xml b/telegrambots-extensions/pom.xml index b5990489..ea44f782 100644 --- a/telegrambots-extensions/pom.xml +++ b/telegrambots-extensions/pom.xml @@ -7,7 +7,7 @@ org.telegram Bots - 4.4.0 + 4.4.0.1 telegrambotsextensions @@ -75,7 +75,7 @@ org.telegram telegrambots - 4.4.0 + 4.4.0.1 diff --git a/telegrambots-meta/pom.xml b/telegrambots-meta/pom.xml index c2eb4616..78b37e06 100644 --- a/telegrambots-meta/pom.xml +++ b/telegrambots-meta/pom.xml @@ -7,7 +7,7 @@ org.telegram Bots - 4.4.0 + 4.4.0.1 telegrambots-meta diff --git a/telegrambots-meta/src/test/resources/log4j2-test.xml b/telegrambots-meta/src/test/resources/log4j2-test.xml new file mode 100644 index 00000000..8054f7f7 --- /dev/null +++ b/telegrambots-meta/src/test/resources/log4j2-test.xml @@ -0,0 +1,19 @@ + + + + %d{yyyy-MM-dd'T'HH:mm:ss.SSSZ} [%t] %-5level %logger{36} - %msg%n + App + + + + + + + + + + + + + + \ No newline at end of file diff --git a/telegrambots-spring-boot-starter/pom.xml b/telegrambots-spring-boot-starter/pom.xml index c28a9bdf..f2a6a2b9 100644 --- a/telegrambots-spring-boot-starter/pom.xml +++ b/telegrambots-spring-boot-starter/pom.xml @@ -7,7 +7,7 @@ org.telegram Bots - 4.4.0 + 4.4.0.1 telegrambots-spring-boot-starter @@ -78,7 +78,7 @@ org.telegram telegrambots - 4.4.0 + 4.4.0.1 org.springframework.boot diff --git a/telegrambots-spring-boot-starter/src/test/resources/log4j2-test.xml b/telegrambots-spring-boot-starter/src/test/resources/log4j2-test.xml new file mode 100644 index 00000000..8054f7f7 --- /dev/null +++ b/telegrambots-spring-boot-starter/src/test/resources/log4j2-test.xml @@ -0,0 +1,19 @@ + + + + %d{yyyy-MM-dd'T'HH:mm:ss.SSSZ} [%t] %-5level %logger{36} - %msg%n + App + + + + + + + + + + + + + + \ No newline at end of file diff --git a/telegrambots/pom.xml b/telegrambots/pom.xml index 1143fd5e..cb8e45ef 100644 --- a/telegrambots/pom.xml +++ b/telegrambots/pom.xml @@ -7,7 +7,7 @@ org.telegram Bots - 4.4.0 + 4.4.0.1 telegrambots @@ -95,7 +95,7 @@ org.telegram telegrambots-meta - 4.4.0 + 4.4.0.1 com.fasterxml.jackson.core diff --git a/telegrambots/src/test/resources/log4j2-test.xml b/telegrambots/src/test/resources/log4j2-test.xml new file mode 100644 index 00000000..8054f7f7 --- /dev/null +++ b/telegrambots/src/test/resources/log4j2-test.xml @@ -0,0 +1,19 @@ + + + + %d{yyyy-MM-dd'T'HH:mm:ss.SSSZ} [%t] %-5level %logger{36} - %msg%n + App + + + + + + + + + + + + + + \ No newline at end of file