File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -53,20 +53,6 @@ if [ -f pom.xml ]; then
5353 </server>
5454 </servers>
5555EOL
56- # # NB: Use maven.scijava.org instead of Central if defined in repositories.
57- # # This hopefully avoids intermittent "ReasonPhrase:Forbidden" errors
58- # # when the Travis build pings Maven Central; see travis-ci/travis-ci#6593.
59- # grep -A 2 '<repository>' pom.xml | grep -q 'maven.scijava.org' &&
60- # cat >>"$settingsFile" <<EOL
61- # <mirrors>
62- # <mirror>
63- # <id>scijava-mirror</id>
64- # <name>SciJava mirror</name>
65- # <url>https://maven.scijava.org/content/groups/public/</url>
66- # <mirrorOf>central</mirrorOf>
67- # </mirror>
68- # </mirrors>
69- # EOL
7056 cat >> " $settingsFile " << EOL
7157 <profiles>
7258 <profile>
9480 echo " Output of failed attempt follows:"
9581 echo " $ciURL "
9682 else
97- # https://developer.okta.com/blog/2020/05/18/travis-ci-to-github-actions
98- # This website specifies Travis environment variables with their
99- # equivalent GitHub Actions environment variables
10083 ciRepo=${ciURL##*/ }
10184 ciPrefix=${ciURL%/* }
10285 ciOrg=${ciPrefix##*/ }
You can’t perform that action at this time.
0 commit comments