mirror of https://github.com/apache/druid.git
Fix SIGAR dependency connection timeout (#8258)
After enabling parallel builds for "mvn install", the sigar dependency would sometimes resolve to the incorrect artifact repo for some of the maven modules. This issue seems to be fixed by moving the definition of the sigar dependency's artifact repo to the root POM. Also, depending on network speeds, "mvn -q install" may take longer than the default 10 minute timeout to print any output. Use travis_wait to extend the timeout to 15 minutes.
This commit is contained in:
parent
76675d6163
commit
b359c5b3d9
|
@ -42,8 +42,9 @@ env:
|
||||||
"
|
"
|
||||||
|
|
||||||
# Add various options to make 'mvn install' fast and skip javascript compile (-Ddruid.console.skip=true) since it is not
|
# Add various options to make 'mvn install' fast and skip javascript compile (-Ddruid.console.skip=true) since it is not
|
||||||
# needed. Use travis_retry to address intermittent connection timeouts when resolving the SIGAR dependency.
|
# needed. Depending on network speeds, "mvn -q install" may take longer than the default 10 minute timeout to print any
|
||||||
install: MAVEN_OPTS='-Xmx3000m' travis_retry $MVN clean install -q -ff ${MAVEN_SKIP} -DskipTests -T1.0C
|
# output. To compensate, use travis_wait to extend the timeout.
|
||||||
|
install: MAVEN_OPTS='-Xmx3000m' travis_wait 15 $MVN clean install -q -ff ${MAVEN_SKIP} -DskipTests -T1.0C
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
|
|
|
@ -363,13 +363,6 @@
|
||||||
</resources>
|
</resources>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
<repositories>
|
|
||||||
<repository>
|
|
||||||
<id>sigar</id>
|
|
||||||
<url>https://repository.jboss.org/nexus/content/repositories/thirdparty-uploads/</url>
|
|
||||||
</repository>
|
|
||||||
</repositories>
|
|
||||||
|
|
||||||
<profiles>
|
<profiles>
|
||||||
<profile>
|
<profile>
|
||||||
<id>strict</id>
|
<id>strict</id>
|
||||||
|
|
6
pom.xml
6
pom.xml
|
@ -182,6 +182,12 @@
|
||||||
<name>${repoOrgName}</name>
|
<name>${repoOrgName}</name>
|
||||||
<url>${repoOrgUrl}</url>
|
<url>${repoOrgUrl}</url>
|
||||||
</repository>
|
</repository>
|
||||||
|
|
||||||
|
<!-- Only used by core, but moved to root for parallel build dependency resolution -->
|
||||||
|
<repository>
|
||||||
|
<id>sigar</id>
|
||||||
|
<url>https://repository.jboss.org/nexus/content/repositories/thirdparty-uploads/</url>
|
||||||
|
</repository>
|
||||||
</repositories>
|
</repositories>
|
||||||
|
|
||||||
<dependencyManagement>
|
<dependencyManagement>
|
||||||
|
|
Loading…
Reference in New Issue