Skip to content

Commit cee8c5b

Browse files
committed
Simplify maven-helper
Instead of hard-coding which artifact comes from what repository, we can make use of ImageJ's 'public' group aggregating all of the Maven repositories used by ImageJ and SciJava. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 4bd034b commit cee8c5b

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

maven-helper.sh

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,7 @@
77
set -e
88

99
root_url () {
10-
case "$1,$2" in
11-
nar-maven-plugin,*)
12-
echo http://repo1.maven.org/maven2/
13-
;;
14-
*)
15-
echo http://maven.imagej.net/content/repositories/$2
16-
;;
17-
esac
10+
echo http://maven.imagej.net/content/groups/public/
1811
}
1912

2013
die () {

0 commit comments

Comments
 (0)