From fce2dbb4e41f19241884457c0a2b734b87365948 Mon Sep 17 00:00:00 2001 From: Auto Agent Date: Thu, 14 May 2026 16:08:06 +0000 Subject: [PATCH] [TOOLCM-4386] Enable dual publish to CodeArtifact and Nexus Add maven-deploy-plugin configuration to publish artifacts to AWS CodeArtifact while maintaining existing Nexus deployment. Bump version from 4.0.6-dmevents to 4.1.0-dmevents. Because module POMs do not inherit from the root POM, the deploy plugin is added to each module individually. Co-Authored-By: Claude Opus 4.6 --- pom.xml | 35 ++++++++++++++++++++++++++++++++- twitter4j-appengine/pom.xml | 21 ++++++++++++++++++-- twitter4j-async/pom.xml | 21 ++++++++++++++++++-- twitter4j-core/pom.xml | 19 +++++++++++++++++- twitter4j-examples/pom.xml | 27 ++++++++++++++++++++----- twitter4j-http2-support/pom.xml | 21 ++++++++++++++++++-- twitter4j-media-support/pom.xml | 21 ++++++++++++++++++-- twitter4j-stream/pom.xml | 23 +++++++++++++++++++--- 8 files changed, 170 insertions(+), 18 deletions(-) diff --git a/pom.xml b/pom.xml index 40116b2bb..cdc6fb8d1 100644 --- a/pom.xml +++ b/pom.xml @@ -2,7 +2,7 @@ 4.0.0 com.sproutsocial.org.twitter4j twitter4j - 4.0.6-dmevents + 4.1.0-dmevents pom twitter4j A Java library for the Twitter API @@ -55,6 +55,39 @@ http://nexus.int.sproutsocial.com:8081/nexus/content/repositories/releases + + + + org.apache.maven.plugins + maven-deploy-plugin + 3.1.4 + + + us-deploy + deploy + + deploy + + + sproutsocial-us-releases::https://sproutsocial-412335208158.d.codeartifact.us-east-1.amazonaws.com/maven/mvn_releases/ + + + + + + + + + sproutsocial-us-releases + https://sproutsocial-412335208158.d.codeartifact.us-east-1.amazonaws.com/maven/mvn_releases/ + + true + + + false + + + release-sign-artifacts diff --git a/twitter4j-appengine/pom.xml b/twitter4j-appengine/pom.xml index 616ee4441..c307d4383 100644 --- a/twitter4j-appengine/pom.xml +++ b/twitter4j-appengine/pom.xml @@ -3,7 +3,7 @@ com.sproutsocial.org.twitter4j twitter4j-appengine - 4.0.6-dmevents + 4.1.0-dmevents jar twitter4j-appengine A Java library for the Twitter API @@ -89,7 +89,7 @@ com.sproutsocial.org.twitter4j twitter4j-core - 4.0.6-dmevents + 4.1.0-dmevents com.google.appengine @@ -192,6 +192,23 @@ 2.5 + + org.apache.maven.plugins + maven-deploy-plugin + 3.1.4 + + + us-deploy + deploy + + deploy + + + sproutsocial-us-releases::https://sproutsocial-412335208158.d.codeartifact.us-east-1.amazonaws.com/maven/mvn_releases/ + + + + diff --git a/twitter4j-async/pom.xml b/twitter4j-async/pom.xml index 10c8fe332..b1db8d589 100644 --- a/twitter4j-async/pom.xml +++ b/twitter4j-async/pom.xml @@ -3,7 +3,7 @@ com.sproutsocial.org.twitter4j twitter4j-async - 4.0.6-dmevents + 4.1.0-dmevents jar twitter4j-async A Java library for the Twitter API @@ -89,7 +89,7 @@ com.sproutsocial.org.twitter4j twitter4j-core - 4.0.6-dmevents + 4.1.0-dmevents junit @@ -176,6 +176,23 @@ 2.5 + + org.apache.maven.plugins + maven-deploy-plugin + 3.1.4 + + + us-deploy + deploy + + deploy + + + sproutsocial-us-releases::https://sproutsocial-412335208158.d.codeartifact.us-east-1.amazonaws.com/maven/mvn_releases/ + + + + diff --git a/twitter4j-core/pom.xml b/twitter4j-core/pom.xml index 6db4597d5..54e6ad0a9 100644 --- a/twitter4j-core/pom.xml +++ b/twitter4j-core/pom.xml @@ -3,7 +3,7 @@ com.sproutsocial.org.twitter4j twitter4j-core - 4.0.6-dmevents + 4.1.0-dmevents jar twitter4j-core A Java library for the Twitter API @@ -220,6 +220,23 @@ 2.5 + + org.apache.maven.plugins + maven-deploy-plugin + 3.1.4 + + + us-deploy + deploy + + deploy + + + sproutsocial-us-releases::https://sproutsocial-412335208158.d.codeartifact.us-east-1.amazonaws.com/maven/mvn_releases/ + + + + diff --git a/twitter4j-examples/pom.xml b/twitter4j-examples/pom.xml index 43c152354..8b4d3b2ee 100644 --- a/twitter4j-examples/pom.xml +++ b/twitter4j-examples/pom.xml @@ -3,7 +3,7 @@ com.sproutsocial.org.twitter4j twitter4j-examples - 4.0.6-dmevents + 4.1.0-dmevents jar twitter4j-examples A Java library for the Twitter API @@ -89,22 +89,22 @@ com.sproutsocial.org.twitter4j twitter4j-core - 4.0.6-dmevents + 4.1.0-dmevents com.sproutsocial.org.twitter4j twitter4j-async - 4.0.6-dmevents + 4.1.0-dmevents com.sproutsocial.org.twitter4j twitter4j-stream - 4.0.6-dmevents + 4.1.0-dmevents com.sproutsocial.org.twitter4j twitter4j-media-support - 4.0.6-dmevents + 4.1.0-dmevents junit @@ -191,6 +191,23 @@ 2.5 + + org.apache.maven.plugins + maven-deploy-plugin + 3.1.4 + + + us-deploy + deploy + + deploy + + + sproutsocial-us-releases::https://sproutsocial-412335208158.d.codeartifact.us-east-1.amazonaws.com/maven/mvn_releases/ + + + + diff --git a/twitter4j-http2-support/pom.xml b/twitter4j-http2-support/pom.xml index 16c4d23cf..1074a0765 100644 --- a/twitter4j-http2-support/pom.xml +++ b/twitter4j-http2-support/pom.xml @@ -3,7 +3,7 @@ com.sproutsocial.org.twitter4j twitter4j-http2-support - 4.0.6-dmevents + 4.1.0-dmevents jar twitter4j-http2-support A Java library for the Twitter API @@ -89,7 +89,7 @@ com.sproutsocial.org.twitter4j twitter4j-core - 4.0.6-dmevents + 4.1.0-dmevents com.squareup.okhttp3 @@ -196,6 +196,23 @@ 2.5 + + org.apache.maven.plugins + maven-deploy-plugin + 3.1.4 + + + us-deploy + deploy + + deploy + + + sproutsocial-us-releases::https://sproutsocial-412335208158.d.codeartifact.us-east-1.amazonaws.com/maven/mvn_releases/ + + + + diff --git a/twitter4j-media-support/pom.xml b/twitter4j-media-support/pom.xml index 5cefa502d..f376690c3 100644 --- a/twitter4j-media-support/pom.xml +++ b/twitter4j-media-support/pom.xml @@ -3,7 +3,7 @@ com.sproutsocial.org.twitter4j twitter4j-media-support - 4.0.6-dmevents + 4.1.0-dmevents jar twitter4j-media-support Twitter4J optional component adds multimedia support @@ -90,7 +90,7 @@ com.sproutsocial.org.twitter4j twitter4j-core - 4.0.6-dmevents + 4.1.0-dmevents junit @@ -172,6 +172,23 @@ 2.5 + + org.apache.maven.plugins + maven-deploy-plugin + 3.1.4 + + + us-deploy + deploy + + deploy + + + sproutsocial-us-releases::https://sproutsocial-412335208158.d.codeartifact.us-east-1.amazonaws.com/maven/mvn_releases/ + + + + diff --git a/twitter4j-stream/pom.xml b/twitter4j-stream/pom.xml index 796c53945..343d53435 100644 --- a/twitter4j-stream/pom.xml +++ b/twitter4j-stream/pom.xml @@ -3,7 +3,7 @@ org.twitter4j twitter4j-stream - 4.0.6-dmevents + 4.1.0-dmevents jar twitter4j-stream A Java library for the Twitter API @@ -89,12 +89,12 @@ com.sproutsocial.org.twitter4j twitter4j-core - 4.0.6-dmevents + 4.1.0-dmevents com.sproutsocial.org.twitter4j twitter4j-async - 4.0.6-dmevents + 4.1.0-dmevents test @@ -188,6 +188,23 @@ 2.4.3 + + org.apache.maven.plugins + maven-deploy-plugin + 3.1.4 + + + us-deploy + deploy + + deploy + + + sproutsocial-us-releases::https://sproutsocial-412335208158.d.codeartifact.us-east-1.amazonaws.com/maven/mvn_releases/ + + + +