Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Are ImageJ Maven dependencies in maven central?

I am planning to use ImageJ for a webapp but it seems ImageJ maven dependencies are not in the central maven repository.

  • Am I right?
  • Is this going to change when ImageJ 2.x is released?
like image 314
balteo Avatar asked Dec 20 '22 16:12

balteo


1 Answers

EDIT: Updated on July 4, 2014 to reflect the latest status.

The builds on Maven Central with groupId gov.nih.imagej were done by a third party, but the official ImageJ 1.x builds are available from Maven Central with groupId net.imagej and artifactId ij starting from version 1.48r; e.g.:

<dependency>
  <groupId>net.imagej</groupId>
  <artifactId>ij</artifactId>
  <version>1.48r</version>
</dependency>

Older official builds of ImageJ 1.x are available from the ImageJ Maven repository. It also has ImageJ2 builds which consist of several artifacts all prefixed by imagej-. You can use it via the following configuration:

<repositories>
  <repository>
    <id>imagej.public</id>
    <url>http://maven.imagej.net/content/groups/public</url>
  </repository>
</repositories>

It is suggested to model your POM after the ImageJ Tutorials. These projects inherit from the ImageJ parent POM, which avoids repeated boilerplate configuration sections.

We plan to begin submitting builds of ImageJ2 to Maven Central soon.

For more information about using Maven with ImageJ, see: http://imagej.net/Maven

like image 51
ctrueden Avatar answered Jan 01 '23 03:01

ctrueden