简体   繁体   中英

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?

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 ; eg:

<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

You can find the ImageJ maven dependencies at mvnrepository.com .

Listed versions are 1.40 - 1.46 .

You might be searching for this snippet?

<dependency>  
    <groupId>net.imagej</groupId>  
    <artifactId>ij</artifactId>  
    <version>[1.45s,)</version>  
</dependency>

Found it here . There might be other useful maven snippets for you as well.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM