Skip to content

Commit 4f19b71

Browse files
eolivelli315157973
authored andcommitted
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
1 parent 660b78d commit 4f19b71

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

tests/integration/pom.xml

+21
Original file line numberDiff line numberDiff line change
@@ -238,5 +238,26 @@
238238
</plugins>
239239
</build>
240240
</profile>
241+
<profile>
242+
<id>apache-release</id>
243+
<build>
244+
<plugins>
245+
<plugin>
246+
<groupId>org.apache.maven.plugins</groupId>
247+
<artifactId>maven-surefire-plugin</artifactId>
248+
<configuration>
249+
<skipTests>true</skipTests>
250+
</configuration>
251+
</plugin>
252+
<plugin>
253+
<groupId>org.apache.maven.plugins</groupId>
254+
<artifactId>maven-deploy-plugin</artifactId>
255+
<configuration>
256+
<skip>${maven.deploy.skip}</skip>
257+
</configuration>
258+
</plugin>
259+
</plugins>
260+
</build>
261+
</profile>
241262
</profiles>
242263
</project>

0 commit comments

Comments
 (0)