[FLINK-30850][Tests] Prevent publishing E2E tests
diff --git a/flink-connector-gcp-pubsub-e2e-tests/pom.xml b/flink-connector-gcp-pubsub-e2e-tests/pom.xml
index 4a47b82..695ebc2 100644
--- a/flink-connector-gcp-pubsub-e2e-tests/pom.xml
+++ b/flink-connector-gcp-pubsub-e2e-tests/pom.xml
@@ -89,6 +89,14 @@
 
 	<build>
 		<plugins>
+			<!-- Don't publish the E2E tests -->
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-deploy-plugin</artifactId>
+				<configuration>
+					<skip>true</skip>
+				</configuration>
+			</plugin>
 			<!-- Disabling convergence check because there are multiple problems within the used pubsub dependencies -->
 			<plugin>
 				<groupId>org.apache.maven.plugins</groupId>