From 42fbe742991ec9882e04e79bad3998ea02fa8253 Mon Sep 17 00:00:00 2001 From: Norman Maurer Date: Mon, 17 Sep 2018 16:58:39 +0200 Subject: [PATCH] Skip re-download and re-compile of APR / *SSL when already done before. Motivation: At the moment we redownload and re-compile APR / *SSL when building our static compiled version of netty-tcnative even if it was compiled before and we did not request a "clean" during the build. We should better only do it when "clean" is explicit requested to speed up build times when working on changes. Modifications: Verify if we already compiled APR / *SSL and if so skip the step. Result: Be able to faster iterate and build --- boringssl-static/pom.xml | 70 ++++++++------ libressl-static/pom.xml | 41 +++++--- openssl-static/pom.xml | 202 ++++++++++++++++++++++----------------- pom.xml | 104 ++++++++++++-------- 4 files changed, 248 insertions(+), 169 deletions(-) diff --git a/boringssl-static/pom.xml b/boringssl-static/pom.xml index 2334614f5..33d9390fa 100644 --- a/boringssl-static/pom.xml +++ b/boringssl-static/pom.xml @@ -135,42 +135,52 @@ - - - + - - - - + - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - diff --git a/libressl-static/pom.xml b/libressl-static/pom.xml index 96eca3e88..6255a0d2e 100644 --- a/libressl-static/pom.xml +++ b/libressl-static/pom.xml @@ -172,20 +172,33 @@ - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openssl-static/pom.xml b/openssl-static/pom.xml index 6d9abc775..b53f642d8 100644 --- a/openssl-static/pom.xml +++ b/openssl-static/pom.xml @@ -133,46 +133,56 @@ - - - - - - - + - Move old version of openssl to correct directory - - - - - - - - - - - - - - - - - - - - - + - - - - - - - + + + + + + + + + + + + Move old version of openssl to correct directory + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -206,35 +216,45 @@ - - - - - - - + - Move old version of openssl to correct directory - + - - - - - + + + + + + + + + + + + + Move old version of openssl to correct directory + + + + + + + - - - - - - - - - - - + + + + + + + + + + + + + @@ -266,35 +286,45 @@ - - - - - - - + - Move old version of openssl to correct directory - + - - - - - + + - - - - - - - - - - - + + + + + + + + + + Move old version of openssl to correct directory + + + + + + + + + + + + + + + + + + + + + diff --git a/pom.xml b/pom.xml index b8f9bedde..96fc322d4 100644 --- a/pom.xml +++ b/pom.xml @@ -320,28 +320,41 @@ - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -370,23 +383,36 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +