We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb40488 commit 3c61949Copy full SHA for 3c61949
travis-build.sh
@@ -156,6 +156,15 @@ EOL
156
echo "== Cutting and deploying release version =="
157
mvn -B $BUILD_ARGS release:perform
158
checkSuccess $?
159
+ echo "== Invalidating SciJava Maven repository cache =="
160
+ curl -fsLO https://raw.githubusercontent.com/scijava/scijava-scripts/master/maven-helper.sh &&
161
+ gav=$(sh maven-helper.sh gav-from-pom pom.xml) &&
162
+ ga=${gav%:*} &&
163
+ echo "machine maven.scijava.org" > "$HOME/.netrc" &&
164
+ echo " login travis" >> "$HOME/.netrc" &&
165
+ echo " password $MAVEN_PASS" >> "$HOME/.netrc" &&
166
+ sh maven-helper.sh invalidate-cache "$ga"
167
+ checkSuccess $?
168
else
169
echo
170
echo "== Building the artifact locally only =="
0 commit comments