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

[qpid-broker-j] 01/03: 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.

orudyy pushed a commit to branch 8.0.x
in repository https://gitbox.apache.org/repos/asf/qpid-broker-j.git

commit 6b7ff4c3b5116098a7b7fa3b594b198ca40d0ed3
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 d0921ba..e761c1d 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 3f94166..e9e8435 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1104,21 +1104,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