From bae864d86f28263e03191a1e3306e2a464ff06a3 Mon Sep 17 00:00:00 2001 From: Ruben Bermudez Date: Sun, 22 May 2016 15:03:32 +0200 Subject: [PATCH 1/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5e9c2f73..1047c346 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ A simple to use library to create Telegram Bots in Java ## Contributions -Feel free to fork this project, work on it and then make a pull request. Most of the times I will accept them if they add something valuable to the code. +Feel free to fork this project, work on it and then make a pull request against **DEV** branch. Most of the times I will accept them if they add something valuable to the code. Please, **DO NOT PUSH ANY TOKEN OR API KEY**, I will never accept a pull request with that content. From 1a77291d5bb2269cddc63dc32561d64874232f36 Mon Sep 17 00:00:00 2001 From: d2a-raudenaerde Date: Wed, 29 Jun 2016 17:59:35 +0200 Subject: [PATCH 2/2] Shading http components --- pom.xml | 336 ++++++++++++++++++++++++++++++-------------------------- 1 file changed, 182 insertions(+), 154 deletions(-) diff --git a/pom.xml b/pom.xml index f932c507..1e52c814 100644 --- a/pom.xml +++ b/pom.xml @@ -1,163 +1,191 @@ - 4.0.0 - jar - org.telegram - telegrambots - 2.3.3.4 + xmlns="http://maven.apache.org/POM/4.0.0" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + 4.0.0 + jar + org.telegram + telegrambots + 2.3.3.4 - Telegram Bots - https://telegram.me/JavaBotsApi - Easy to use library to create Telegram Bots + Telegram Bots + https://telegram.me/JavaBotsApi + Easy to use library to create Telegram Bots - - - GNU General Public License (GPL) - http://www.gnu.org/licenses/gpl.html - - + + + GNU General Public License (GPL) + http://www.gnu.org/licenses/gpl.html + + - - UTF-8 - UTF-8 - 2.23 - 1.19.1 - 4.5.2 - 20160212 - 2.7.4 - + + UTF-8 + UTF-8 + 2.23 + 1.19.1 + 4.5.2 + 20160212 + 2.7.4 + - - - - org.glassfish.jersey - jersey-bom - ${jersey.version} - pom - import - - - + + + + org.glassfish.jersey + jersey-bom + ${jersey.version} + pom + import + + + - - - org.glassfish.jersey.containers - jersey-container-grizzly2-http - ${jersey.version} - - - org.glassfish.jersey.media - jersey-media-json-jackson - ${jersey.version} - - - com.sun.jersey - jersey-bundle - ${jerseybundle.version} - - - com.sun.jersey - jersey-grizzly2-servlet - ${jerseybundle.version} - - - org.json - json - ${json.version} - - - org.apache.httpcomponents - httpclient - ${httpcompontents.version} - - - org.apache.httpcomponents - httpmime - ${httpcompontents.version} - - + + + org.glassfish.jersey.containers + jersey-container-grizzly2-http + ${jersey.version} + + + org.glassfish.jersey.media + jersey-media-json-jackson + ${jersey.version} + + + com.sun.jersey + jersey-bundle + ${jerseybundle.version} + + + com.sun.jersey + jersey-grizzly2-servlet + ${jerseybundle.version} + + + org.json + json + ${json.version} + + + org.apache.httpcomponents + httpclient + ${httpcompontents.version} + + + org.apache.httpcomponents + httpmime + ${httpcompontents.version} + + - - ${project.basedir}/target - ${project.build.directory}/classes - ${project.artifactId}-${project.version} - ${project.build.directory}/test-classes - ${project.basedir}/src/main/java - - - maven-clean-plugin - 3.0.0 - - - clean-project - clean - - clean - - - - - - maven-assembly-plugin - 2.6 - - - jar-with-dependencies - - - - - make-assembly - package - - single - - - - - - org.apache.maven.plugins - maven-source-plugin - 3.0.0 - - - attach-sources - verify - - jar-no-fork - - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 2.10.3 - - - attach-javadocs - site - - javadoc-no-fork - - - - - - - - - org.apache.maven.plugins - maven-compiler-plugin - - 1.8 - 1.8 - UTF-8 - - - - - + + ${project.basedir}/target + ${project.build.directory}/classes + ${project.artifactId}-${project.version} + ${project.build.directory}/test-classes + ${project.basedir}/src/main/java + + + maven-clean-plugin + 3.0.0 + + + clean-project + clean + + clean + + + + + + maven-assembly-plugin + 2.6 + + + jar-with-dependencies + + + + + make-assembly + package + + single + + + + + + org.apache.maven.plugins + maven-source-plugin + 3.0.0 + + + attach-sources + verify + + jar-no-fork + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.10.3 + + + attach-javadocs + site + + javadoc-no-fork + + + + + + org.apache.maven.plugins + maven-shade-plugin + 2.4.3 + + + package + + shade + + + false + true + + + org.apache.httpcomponents:* + + + + + org.apache.http + embedded.org.apache.http + + + + + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + + 1.8 + 1.8 + UTF-8 + + + + + \ No newline at end of file