Skip to content

Commit 9e7c3dc

Browse files
committed
maven-helper: fix 'latest-version' for snapshot
Noticed by Mark Hiner. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 0e56cd9 commit 9e7c3dc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

maven-helper.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
set -e
88

99
root_url () {
10+
test snapshots != "$2" || {
11+
echo http://maven.imagej.net/content/repositories/snapshots
12+
return
13+
}
1014
echo http://maven.imagej.net/content/groups/public
1115
}
1216

0 commit comments

Comments
 (0)