[ImageJ-devel] another Maven question

Johannes Schindelin Johannes.Schindelin at gmx.de
Thu Jan 31 09:44:23 CST 2013


Hi,

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

> On 31 Jan 2013, at 15:47, Johannes Schindelin <Johannes.Schindelin at gmx.de<mailto:Johannes.Schindelin at gmx.de>> wrote:
> 
> > 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.
>
> ok, thanks, and the import?

The import stays the same. It is just a different version and groupId
since my original attempt at making use of Maven in Fiji was misguided.
For backwards compatibility, the old version (with the wrong groupId)
stays where it is, though.

Ciao,
Johannes



More information about the ImageJ-devel mailing list