You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ro...@apache.org on 2021/06/09 13:46:14 UTC

[qpid-broker-j] branch main updated: NO-JIRA: move repo definition for bdb dep into bdbstore module where needed, speed up build

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 3b24949  NO-JIRA: move repo definition for bdb dep into bdbstore module where needed, speed up build
3b24949 is described below

commit 3b24949a02ae254970fbbdc8bd1eff58f7a5a9b0
Author: Robbie Gemmell <ro...@apache.org>
AuthorDate: Wed Jun 9 14:35:54 2021 +0100

    NO-JIRA: move repo definition for bdb dep into bdbstore module where needed, speed up build
    
    The repo is slow, and due to being in the root pom it is tried first for many
    files that will never be found in the repo. Only the bdbstore module needs it,
    for 2 files, but it is tried for >400 files that will never be found there.
    
    Reduces build time on clean install from ~7.5min to ~2min
---
 bdbstore/pom.xml | 15 +++++++++++++++
 pom.xml          | 15 ---------------
 2 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/bdbstore/pom.xml b/bdbstore/pom.xml
index 81ba182..79ad93b 100644
--- a/bdbstore/pom.xml
+++ b/bdbstore/pom.xml
@@ -78,6 +78,21 @@
     </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 a249a63..7905059 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1107,21 +1107,6 @@
     </plugins>
   </build>
 
-  <repositories>
-    <!-- For the BDB JE dependency of the optional bdbstore plugin modules-->
-    <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>
-
   <reporting>
     <plugins>
       <plugin>

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org