diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 000000000..14152e92f --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,11 @@ +import com.mainstreethub.jenkins.pipelines.Notifier +import com.mainstreethub.jenkins.pipelines.java.library.Pipeline + +def notifier = new Notifier([ + steps: this, + ownerChannels: ["gps-dify-content-noti"] +]) + +new Pipeline(this).run([ + notifier: notifier +]) \ No newline at end of file diff --git a/pom.xml b/pom.xml index c19927c63..6c87e33e4 100644 --- a/pom.xml +++ b/pom.xml @@ -1,4 +1,10 @@ + + com.mainstreethub + parent-pom + 1.6.0 + + 4.0.0 org.twitter4j twitter4j @@ -6,7 +12,6 @@ pom twitter4j A Java library for the Twitter API - http://twitter4j.org/ Apache License 2.0 @@ -14,14 +19,6 @@ repo - - https://github.com/yusuke/twitter4j - scm:git:https://github.com/yusuke/twitter4j.git - scm:git:https://github.com/yusuke/twitter4j.git - - - 4.0.8-SNAPSHOT - yusuke @@ -75,19 +72,20 @@ + org.apache.maven.plugins - maven-gpg-plugin - 1.4 - - - sign-artifacts - verify - - sign - - - + maven-compiler-plugin + 3.2 + + ${java.minimum.version} + ${java.minimum.version} + + -Xlint:all + + true + true + diff --git a/twitter4j-core/src/main/java/twitter4j/DirectMessage.java b/twitter4j-core/src/main/java/twitter4j/DirectMessage.java index 7921b953c..cc7c4668d 100644 --- a/twitter4j-core/src/main/java/twitter4j/DirectMessage.java +++ b/twitter4j-core/src/main/java/twitter4j/DirectMessage.java @@ -40,20 +40,6 @@ public interface DirectMessage extends TwitterResponse, EntitySupport, java.io.S Date getCreatedAt(); - /** - * - * @return quick reply options - * @since Twitter4J 4.0.7 - */ - QuickReply[] getQuickReplies(); - - /** - * - * @return quick reply response metadata - * @since Twitter4J 4.0.7 - */ - String getQuickReplyResponse(); - /** * * @return quick reply options