This is an automated email from the ASF dual-hosted git repository. robbie pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/qpid-broker-j.git
The following commit(s) were added to refs/heads/main by this push: new 321abf3 NO-JIRA: alternative approach to only using the repo for bdb dep where really needed, to speed up build 321abf3 is described below commit 321abf347586e426626d4b8784508d9cc602f642 Author: Robbie Gemmell <rob...@apache.org> AuthorDate: Mon Jun 14 12:15:51 2021 +0100 NO-JIRA: alternative approach to only using the repo for bdb dep where really needed, to speed up build Although core build worked fine with prev version, it seemed to cause issue with CI 'checks' job failing. --- apache-qpid-broker-j/pom.xml | 1 + bdbstore/pom.xml | 19 ++++--------------- pom.xml | 17 +++++++++++++++++ 3 files changed, 22 insertions(+), 15 deletions(-) diff --git a/apache-qpid-broker-j/pom.xml b/apache-qpid-broker-j/pom.xml index fc2326f..3ecedf4 100644 --- a/apache-qpid-broker-j/pom.xml +++ b/apache-qpid-broker-j/pom.xml @@ -28,6 +28,7 @@ <properties> <dependency-change-verification>true</dependency-change-verification> + <bdb-repo-enabled>true</bdb-repo-enabled> </properties> <dependencies> diff --git a/bdbstore/pom.xml b/bdbstore/pom.xml index 79ad93b..b7064a3 100644 --- a/bdbstore/pom.xml +++ b/bdbstore/pom.xml @@ -28,6 +28,10 @@ <name>Apache Qpid Broker-J BDB Message Store Plug-in</name> <description>BDB message store implementation using Oracle Berkeley DB Java Edition</description> + <properties> + <bdb-repo-enabled>true</bdb-repo-enabled> + </properties> + <dependencies> <dependency> <groupId>org.apache.qpid</groupId> @@ -78,21 +82,6 @@ </dependency> </dependencies> - <repositories> - <!-- For the BDB JE dependency --> - <repository> - <id>oracle.releases</id> - <url>https://download.oracle.com/maven</url> - <layout>default</layout> - <releases> - <enabled>true</enabled> - </releases> - <snapshots> - <enabled>false</enabled> - </snapshots> - </repository> - </repositories> - <build> <resources> <resource> diff --git a/pom.xml b/pom.xml index 7905059..eaf3b06 100644 --- a/pom.xml +++ b/pom.xml @@ -159,6 +159,8 @@ <bcpkix-version>1.68</bcpkix-version> <logback-gelf-version>3.0.0</logback-gelf-version> <prometheus-client-version>0.9.0</prometheus-client-version> + + <bdb-repo-enabled>false</bdb-repo-enabled> </properties> <modules> @@ -1107,6 +1109,21 @@ </plugins> </build> + <repositories> + <!-- For the BDB JE dependency --> + <repository> + <id>oracle.releases</id> + <url>https://download.oracle.com/maven</url> + <layout>default</layout> + <releases> + <enabled>${bdb-repo-enabled}</enabled> + </releases> + <snapshots> + <enabled>false</enabled> + </snapshots> + </repository> + </repositories> + <reporting> <plugins> <plugin> --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org