You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by li...@apache.org on 2021/12/18 03:02:10 UTC

[pulsar] branch branch-2.8 updated: Release: allow Integration Tests Jar to be deployed to Maven central (#12292)

This is an automated email from the ASF dual-hosted git repository.

linlin pushed a commit to branch branch-2.8
in repository https://gitbox.apache.org/repos/asf/pulsar.git


The following commit(s) were added to refs/heads/branch-2.8 by this push:
     new 4f19b71  Release: allow Integration Tests Jar to be deployed to Maven central (#12292)
4f19b71 is described below

commit 4f19b71f47547fb47df7ae6b07e018ac67d089bb
Author: Enrico Olivelli <eo...@gmail.com>
AuthorDate: Fri Oct 8 08:23:23 2021 +0200

    Release: allow Integration Tests Jar to be deployed to Maven central (#12292)
    
    - integration tests framework is needed by Pulsar Adapters project
    - during the release procedure, while running 'mvn deploy -DskipTests -Papache-release -DintegrationTests --settings src/settings.xml' allow to deploy integration tests jars
---
 tests/integration/pom.xml | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/tests/integration/pom.xml b/tests/integration/pom.xml
index 70313e1..99f0c47 100644
--- a/tests/integration/pom.xml
+++ b/tests/integration/pom.xml
@@ -238,5 +238,26 @@
         </plugins>
       </build>
     </profile>
+    <profile>
+      <id>apache-release</id>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-surefire-plugin</artifactId>
+            <configuration>
+              <skipTests>true</skipTests>
+            </configuration>
+          </plugin>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-deploy-plugin</artifactId>
+            <configuration>
+              <skip>${maven.deploy.skip}</skip>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
   </profiles>
 </project>