From 91c560bdb3e4ffb5401ea6f957b2edf1a3167a76 Mon Sep 17 00:00:00 2001 From: Michael Suzuki Date: Thu, 9 Feb 2017 13:16:29 +0000 Subject: [PATCH] Search-298, updated the build to replace vulnerable jar with safe ones --- packaging/pom.xml | 173 ++++++++++--------- packaging/src/assembly/solr-distribution.xml | 3 +- 2 files changed, 98 insertions(+), 78 deletions(-) diff --git a/packaging/pom.xml b/packaging/pom.xml index 39edfeb93..811cc4ffd 100644 --- a/packaging/pom.xml +++ b/packaging/pom.xml @@ -52,6 +52,7 @@ + org.apache.maven.plugins maven-dependency-plugin @@ -131,85 +132,103 @@ true + + replace + validate + + copy + + + + + commons-fileupload + commons-fileupload + 1.3.2 + ${project.build.directory}/solr-libs/libs + + + + - - - maven-antrun-plugin - - - prepare-package - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - run - - - - - - maven-assembly-plugin - - - make-assembly - package - - single - - - - - false - - src/assembly/solr-distribution.xml - - - + + + + maven-antrun-plugin + + + prepare-package + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + run + + + + + + maven-assembly-plugin + + + make-assembly + package + + single + + + + + false + + src/assembly/solr-distribution.xml + + + diff --git a/packaging/src/assembly/solr-distribution.xml b/packaging/src/assembly/solr-distribution.xml index 55ef89f1b..8de3429d6 100644 --- a/packaging/src/assembly/solr-distribution.xml +++ b/packaging/src/assembly/solr-distribution.xml @@ -32,7 +32,7 @@ **/example/** **/bin/solr.in.sh **/bin/solr.in.cmd - + **/commons-fileupload-1.3.1.jar @@ -52,6 +52,7 @@ **/workspace-SpacesStore/** **/archive-SpacesStore/** + **/commons-fileupload-1.3.1.jar context.xml