Skip to content

Commit 6eca6c3

Browse files
committed
Fix whatsnew.sh to work with SciJava Nexus v3
Unfortunately, maven.scijava.org can no longer proxy Maven Central. So we need to instruct Maven to scan for artifact versions differently.
1 parent f345a57 commit 6eca6c3

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

settings.xml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,21 @@
44
<id>scijava-mirror</id>
55
<name>SciJava public repositories</name>
66
<url>https://maven.scijava.org/content/groups/public</url>
7-
<mirrorOf>*</mirrorOf>
7+
<mirrorOf>*,!central</mirrorOf>
88
</mirror>
99
</mirrors>
10+
<profiles>
11+
<profile>
12+
<id>scijava</id>
13+
<activation>
14+
<activeByDefault>true</activeByDefault>
15+
</activation>
16+
<repositories>
17+
<repository>
18+
<id>scijava.public</id>
19+
<url>https://maven.scijava.org/content/groups/public</url>
20+
</repository>
21+
</repositories>
22+
</profile>
23+
</profiles>
1024
</settings>

0 commit comments

Comments
 (0)