You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2019/09/19 10:34:33 UTC
[camel-quarkus] branch master updated: Set the missing deploy
plugin properties for the reusable-test-jar execution
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
The following commit(s) were added to refs/heads/master by this push:
new 7139f71 Set the missing deploy plugin properties for the reusable-test-jar execution
new 76570d8 Merge pull request #204 from ppalaga/190919-deployer-properties
7139f71 is described below
commit 7139f71efa2def06502c629c7d1ef75fb1172e35
Author: Peter Palaga <pp...@redhat.com>
AuthorDate: Thu Sep 19 11:23:09 2019 +0200
Set the missing deploy plugin properties for the reusable-test-jar execution
---
integration-tests/pom.xml | 24 +++++++++++++++++++++++-
1 file changed, 23 insertions(+), 1 deletion(-)
diff --git a/integration-tests/pom.xml b/integration-tests/pom.xml
index 947233a..93d975a 100644
--- a/integration-tests/pom.xml
+++ b/integration-tests/pom.xml
@@ -138,9 +138,9 @@
<plugin>
<groupId>org.codehaus.gmaven</groupId>
<artifactId>groovy-maven-plugin</artifactId>
- <inherited>false</inherited>
<executions>
<execution>
+ <inherited>false</inherited>
<id>generate-test-poms</id>
<goals>
<goal>execute</goal>
@@ -188,6 +188,26 @@
</executions>
</plugin>
<plugin>
+ <groupId>org.codehaus.gmaven</groupId>
+ <artifactId>groovy-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>set-deployer-properties</id>
+ <goals>
+ <goal>execute</goal>
+ </goals>
+ <phase>deploy</phase>
+ <configuration>
+ <source><![CDATA[
+ def distManagementRepo = project.version.endsWith('-SNAPSHOT') ? project.distributionManagement.snapshotRepository : project.distributionManagement.repository
+ project.properties.setProperty('deploy.test.jar.repositoryId', distManagementRepo.id)
+ project.properties.setProperty('deploy.test.jar.url', distManagementRepo.url)
+ ]]></source>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<executions>
@@ -198,6 +218,8 @@
</goals>
<phase>deploy</phase>
<configuration>
+ <repositoryId>${deploy.test.jar.repositoryId}</repositoryId><!-- set via groovy above -->
+ <url>${deploy.test.jar.url}</url><!-- set via groovy above -->
<pomFile>${basedir}/../target/${project.artifactId}-tests-pom.xml</pomFile>
<version>${project.version}</version>
<file>${basedir}/target/${project.artifactId}-${project.version}-tests.jar</file>