SHARE
TWEET

fixMaven.sh (Temporarily fix surefire bug)

Nickster258 Nov 5th, 2018 80 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
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top