Nickster258

fixMaven.sh (Temporarily fix surefire bug)

Nov 5th, 2018
84
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2. str="<profiles>\n    <profile>\n      <id>SUREFIRE-1588</id>\n      <activation>\n        <activeByDefault>true</activeByDefault>\n      </activation>\n      <properties>\n        <argLine>-Djdk.net.URLClassPath.disableClassPathURLCheck=true</argLine>\n      </properties>\n    </profile>"
  3. sed -i "s|<profiles>|$str|g" "apache-maven-3.5.0/conf/settings.xml"
RAW Paste Data