44555. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 8/1/2019 1:42:49 PM Eastern Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

44555.1 Files compared

# Location File Last Modified
1 JLV_2_8_0_0_0_July_2019.zip\JLV_2_8_0_0_0_July_2019\reportbuilder_va mvnw Mon Jul 8 18:59:10 2019 UTC
2 JLV_2_8_0_0_0_July_2019.zip\JLV_2_8_0_0_0_July_2019\reportbuilder_va mvnw Tue Jul 30 19:47:10 2019 UTC

44555.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 2 448
Changed 1 2
Inserted 0 0
Removed 0 0

44555.3 Comparison options

Whitespace
Character case Differences in character case are significant
Line endings Differences in line endings (CR and LF characters) are ignored
CR/LF characters Not shown in the comparison detail

44555.4 Active regular expressions

No regular expressions were active.

44555.5 Comparison detail

  1   #!/bin/sh
  2   # -------- ---------- ---------- ---------- ---------- ---------- ---------- --------
  3   # Licensed  to the Ap ache Softw are Founda tion (ASF)  under one
  4   # or more  contributo r license  agreements .  See the  NOTICE fi le
  5   # distribu ted with t his work f or additio nal inform ation
  6   # regardin g copyrigh t ownershi p.  The AS F licenses  this file
  7   # to you u nder the A pache Lice nse, Versi on 2.0 (th e
  8   # "License "); you ma y not use  this file  except in  compliance
  9   # with the  License.   You may o btain a co py of the  License at
  10   #
  11   #    http: //www.apac he.org/lic enses/LICE NSE-2.0
  12   #
  13   # Unless r equired by  applicabl e law or a greed to i n writing,
  14   # software  distribut ed under t he License  is distri buted on a n
  15   # "AS IS"  BASIS, WIT HOUT WARRA NTIES OR C ONDITIONS  OF ANY
  16   # KIND, ei ther expre ss or impl ied.  See  the Licens e for the
  17   # specific  language  governing  permission s and limi tations
  18   # under th e License.
  19   # -------- ---------- ---------- ---------- ---------- ---------- ---------- --------
  20  
  21   # -------- ---------- ---------- ---------- ---------- ---------- ---------- --------
  22   # Maven2 S tart Up Ba tch script
  23   #
  24   # Required  ENV vars:
  25   # -------- ----------
  26   #   JAVA_H OME - loca tion of a  JDK home d ir
  27   #
  28   # Optional  ENV vars
  29   # -------- ---------
  30   #   M2_HOM E - locati on of mave n2's insta lled home  dir
  31   #   MAVEN_ OPTS - par ameters pa ssed to th e Java VM  when runni ng Maven
  32   #     e.g.  to debug  Maven itse lf, use
  33   #       se t MAVEN_OP TS=-Xdebug  -Xrunjdwp :transport =dt_socket ,server=y, suspend=y, address=80 00
  34   #   MAVEN_ SKIP_RC -  flag to di sable load ing of mav enrc files
  35   # -------- ---------- ---------- ---------- ---------- ---------- ---------- --------
  36  
  37   if [ -z "$ MAVEN_SKIP _RC" ] ; t hen
  38  
  39     if [ -f  /etc/maven rc ] ; the n
  40       . /etc /mavenrc
  41     fi
  42  
  43     if [ -f  "$HOME/.ma venrc" ] ;  then
  44       . "$HO ME/.mavenr c"
  45     fi
  46  
  47   fi
  48  
  49   # OS speci fic suppor t.  $var _ must_ be s et to eith er true or  false.
  50   cygwin=fal se;
  51   darwin=fal se;
  52   mingw=fals e
  53   case "`una me`" in
  54     CYGWIN*)  cygwin=tr ue ;;
  55     MINGW*)  mingw=true ;;
  56     Darwin*)  darwin=tr ue
  57       # Use  /usr/libex ec/java_ho me if avai lable, oth erwise fal l back to  /Library/J ava/Home
  58       # See  https://de veloper.ap ple.com/li brary/mac/ qa/qa1170/ _index.htm l
  59       if [ - z "$JAVA_H OME" ]; th en
  60         if [  -x "/usr/ libexec/ja va_home" ] ; then
  61           ex port JAVA_ HOME="`/us r/libexec/ java_home` "
  62         else
  63           ex port JAVA_ HOME="/Lib rary/Java/ Home"
  64         fi
  65       fi
  66       ;;
  67   esac
  68  
  69   if [ -z "$ JAVA_HOME"  ] ; then
  70     if [ -r  /etc/gento o-release  ] ; then
  71       JAVA_H OME=`java- config --j re-home`
  72     fi
  73   fi
  74  
  75   if [ -z "$ M2_HOME" ]  ; then
  76     ## resol ve links -  $0 may be  a link to  maven's h ome
  77     PRG="$0"
  78  
  79     # need t his for re lative sym links
  80     while [  -h "$PRG"  ] ; do
  81       ls=`ls  -ld "$PRG "`
  82       link=` expr "$ls"  : '.*-> \ (.*\)$'`
  83       if exp r "$link"  : '/.*' >  /dev/null;  then
  84         PRG= "$link"
  85       else
  86         PRG= "`dirname  "$PRG"`/$l ink"
  87       fi
  88     done
  89  
  90     saveddir =`pwd`
  91  
  92     M2_HOME= `dirname " $PRG"`/..
  93  
  94     # make i t fully qu alified
  95     M2_HOME= `cd "$M2_H OME" && pw d`
  96  
  97     cd "$sav eddir"
  98     # echo U sing m2 at  $M2_HOME
  99   fi
  100  
  101   # For Cygw in, ensure  paths are  in UNIX f ormat befo re anythin g is touch ed
  102   if $cygwin  ; then
  103     [ -n "$M 2_HOME" ]  &&
  104       M2_HOM E=`cygpath  --unix "$ M2_HOME"`
  105     [ -n "$J AVA_HOME"  ] &&
  106       JAVA_H OME=`cygpa th --unix  "$JAVA_HOM E"`
  107     [ -n "$C LASSPATH"  ] &&
  108       CLASSP ATH=`cygpa th --path  --unix "$C LASSPATH"`
  109   fi
  110  
  111   # For Migw n, ensure  paths are  in UNIX fo rmat befor e anything  is touche d
  112   if $mingw  ; then
  113     [ -n "$M 2_HOME" ]  &&
  114       M2_HOM E="`(cd "$ M2_HOME";  pwd)`"
  115     [ -n "$J AVA_HOME"  ] &&
  116       JAVA_H OME="`(cd  "$JAVA_HOM E"; pwd)`"
  117     # TODO c lasspath?
  118   fi
  119  
  120   if [ -z "$ JAVA_HOME"  ]; then
  121     javaExec utable="`w hich javac `"
  122     if [ -n  "$javaExec utable" ]  && ! [ "`e xpr \"$jav aExecutabl e\" : '\([ ^ ]*\)'`"  = "no" ];  then
  123       # read link(1) is  not avail able as st andard on  Solaris 10 .
  124       readLi nk=`which  readlink`
  125       if [ !  `expr "$r eadLink" :  '\([^ ]*\ )'` = "no"  ]; then
  126         if $ darwin ; t hen
  127           ja vaHome="`d irname \"$ javaExecut able\"`"
  128           ja vaExecutab le="`cd \" $javaHome\ " && pwd - P`/javac"
  129         else
  130           ja vaExecutab le="`readl ink -f \"$ javaExecut able\"`"
  131         fi
  132         java Home="`dir name \"$ja vaExecutab le\"`"
  133         java Home=`expr  "$javaHom e" : '\(.* \)/bin'`
  134         JAVA _HOME="$ja vaHome"
  135         expo rt JAVA_HO ME
  136       fi
  137     fi
  138   fi
  139  
  140   if [ -z "$ JAVACMD" ]  ; then
  141     if [ -n  "$JAVA_HOM E"  ] ; th en
  142       if [ - x "$JAVA_H OME/jre/sh /java" ] ;  then
  143         # IB M's JDK on  AIX uses  strange lo cations fo r the exec utables
  144         JAVA CMD="$JAVA _HOME/jre/ sh/java"
  145       else
  146         JAVA CMD="$JAVA _HOME/bin/ java"
  147       fi
  148     else
  149       JAVACM D="`which  java`"
  150     fi
  151   fi
  152  
  153   if [ ! -x  "$JAVACMD"  ] ; then
  154     echo "Er ror: JAVA_ HOME is no t defined  correctly. " >&2
  155     echo "   We cannot  execute $J AVACMD" >& 2
  156     exit 1
  157   fi
  158  
  159   if [ -z "$ JAVA_HOME"  ] ; then
  160     echo "Wa rning: JAV A_HOME env ironment v ariable is  not set."
  161   fi
  162  
  163   CLASSWORLD S_LAUNCHER =org.codeh aus.plexus .classworl ds.launche r.Launcher
  164  
  165   # traverse s director y structur e from pro cess work  directory  to filesys tem root
  166   # first di rectory wi th .mvn su bdirectory  is consid ered proje ct base di rectory
  167   find_maven _basedir()  {
  168  
  169     if [ -z  "$1" ]
  170     then
  171       echo " Path not s pecified t o find_mav en_basedir "
  172       return  1
  173     fi
  174  
  175     basedir= "$1"
  176     wdir="$1 "
  177     while [  "$wdir" !=  '/' ] ; d o
  178       if [ - d "$wdir"/ .mvn ] ; t hen
  179         base dir=$wdir
  180         brea k
  181       fi
  182       # work around for  JBEAP-893 7 (on Sola ris 10/Spa rc)
  183       if [ - d "${wdir} " ]; then
  184         wdir =`cd "$wdi r/.."; pwd `
  185       fi
  186       # end  of workaro und
  187     done
  188     echo "${ basedir}"
  189   }
  190  
  191   # concaten ates all l ines of a  file
  192   concat_lin es() {
  193     if [ -f  "$1" ]; th en
  194       echo " $(tr -s '\ n' ' ' < " $1")"
  195     fi
  196   }
  197  
  198   BASE_DIR=` find_maven _basedir " $(pwd)"`
  199   if [ -z "$ BASE_DIR"  ]; then
  200     exit 1;
  201   fi
  202  
  203   export MAV EN_PROJECT BASEDIR=${ MAVEN_BASE DIR:-"$BAS E_DIR"}
  204   echo $MAVE N_PROJECTB ASEDIR
  205   MAVEN_OPTS ="$(concat _lines "$M AVEN_PROJE CTBASEDIR/ .mvn/jvm.c onfig") $M AVEN_OPTS"
  206  
  207   # For Cygw in, switch  paths to  Windows fo rmat befor e running  java
  208   if $cygwin ; then
  209     [ -n "$M 2_HOME" ]  &&
  210       M2_HOM E=`cygpath  --path -- windows "$ M2_HOME"`
  211     [ -n "$J AVA_HOME"  ] &&
  212       JAVA_H OME=`cygpa th --path  --windows  "$JAVA_HOM E"`
  213     [ -n "$C LASSPATH"  ] &&
  214       CLASSP ATH=`cygpa th --path  --windows  "$CLASSPAT H"`
  215     [ -n "$M AVEN_PROJE CTBASEDIR"  ] &&
  216       MAVEN_ PROJECTBAS EDIR=`cygp ath --path  --windows  "$MAVEN_P ROJECTBASE DIR"`
  217   fi
  218  
  219   WRAPPER_LA UNCHER=org .apache.ma ven.wrappe r.MavenWra pperMain
  220  
  221   exec "$JA
D NS    " \
  222     $MAVEN_O PTS \
  223     -classpa th "$MAVEN _PROJECTBA SEDIR/.mvn /wrapper/m aven-wrapp er.jar" \
  224     "-Dmaven .home=${M2 _HOME}" "- Dmaven.mul tiModulePr ojectDirec tory=${MAV EN_PROJECT BASEDIR}"  \
  225     ${WRAPPE R_LAUNCHER } $MAVEN_C ONFIG "$@"