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

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

commit d4f2d05f6fbab8fc5936cf7927ce3a070a8287c8
Author: Enrico Olivelli <[email protected]>
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 eebfc35..5b8d860 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>

Reply via email to