NOTICE! This is a static HTML version of a legacy ImageJ Trac ticket.

The ImageJ project now uses GitHub Issues for issue tracking.

Please file all new issues there.

Ticket #1950 (closed enhancement: wontfix)

Opened 2013-07-13T14:25:35-05:00

Last modified 2014-05-01T16:40:15-05:00

Let inspect $HOME/.m2/repository before downloading .jar/.pom files

Reported by: dscho Owned by: dscho
Priority: major Milestone: imagej2-unscheduled
Component: Build System Version:
Severity: serious Keywords:
Cc: Blocked By:


In the script -- which is used for Fiji's and for various other tasks in the wider ImageJ2/Fiji environment -- we always download from ImageJ's Maven repository.

This is not very convenient when working with locally-modified files, such as when introducing debugging print statements for local tests.

Also, it relies a bit too much on the availability of a network connection, and it is slower in case we already have the artifacts.

So let's look (not cache! Otherwise we'd be replicating a large part of MiniMaven's functionality in shell script code) in $HOME/.m2/repository and only access the repository if the local repository has snapshots older than 24h.

Change History

comment:1 Changed 2014-05-01T16:40:15-05:00 by curtis

  • Status changed from new to closed
  • Resolution set to wontfix

Rather than implement this feature in shell, we will enhance scijava-maven-plugin accordingly.