Ticket #1950 (closed enhancement: wontfix)

Opened 6 years ago

Last modified 5 years ago

Let maven-helper.sh 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:
Blocking:

Description

In the maven-helper.sh script -- which is used for Fiji's Build.sh 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 5 years ago 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.

Note: See TracTickets for help on using tickets.