Advertisement
Nickster258

fixMaven.sh (Temporarily fix surefire bug)

Nov 5th, 2018
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.36 KB | None | 0 0
  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"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement