[ImageJ-devel] another Maven question

Johannes Schindelin Johannes.Schindelin at gmx.de
Thu Jan 31 08:47:45 CST 2013


Hi Gerrit,

On Thu, 31 Jan 2013, Polder, Gerrit wrote:

> I'm starting to get quite happy about Maven, it has a lot of benefits
> above ant.
> Today however I came across a (minor) problem.
> 
> I'm using an OverlayedImageCanvas in my code.
> Netbeans detects it, searches the Maven repositories, adds
> fiji.util.gui.OverlayedImageCanvas; to the imports, and
>         <dependency>
>             <groupId>fiji</groupId>
>             <artifactId>fiji-lib</artifactId>
>             <version>20100908</version>
>             <type>jar</type>
>         </dependency>
> to the POM all automatically.

This is only half correct, though. The 20100908 version is obsolete and
predates my move to Madison, even.

The trick is to change the version to 2.0.0-SNAPSHOT *and* the groupId to
sc.fiji.

Ciao,
Dscho



More information about the ImageJ-devel mailing list