[ImageJ-devel] Maven TrackMate Dependency Question

Jay Warrick jay.w.warrick at gmail.com
Sat Sep 13 09:01:39 CDT 2014


Hi Jean-Yves,

Thanks for the quick reply! Here are the poms for my multi module project. I added to the default "pom.xml" names to make things easier to follow. The Master pom is the parent pom for each of my project modules. The parent of Master is scijava. The JEX module has essentially one class, Main which calls the main class in Core. Core contains essentially the whole program including the dependency on TrackMate. Broken contains broken code for one reason or another but doesn't really come into play as the Broken module is not part of the build process. It is "disabled" using a profile within the JEX module. Despite this, I still confirmed it didn't depend on TrackMate 2.3 using the Eclipse dependency hierarchy viewer, just in case.



Likewise, if it is easier, my git repo for this project is https://github.com/jaywarrick/JEX.

Thanks so much for helping me with this.

Regards,

Jay

On Sep 13, 2014, at 7:27 AM, Jean-Yves Tinevez <tinevez at pasteur.fr> wrote:

> On 13-Sep-14 13:44, Jay Warrick wrote:
>> Hi All,
>> 
>> I was hoping someone on the list might have a suggestion for the following 2 problems I'm having. First, I'm trying to use TrackMate in my program. I updated my pom to use the new TrackMate version 2.5 instead of version 2.3. I've also checked all the dependency hierarchies of my project modules in Eclipse for dependencies on the old version and only find a dependency on v 2.5.
>> 
>> 
>>             <dependency>
>>  <groupId>sc.fiji</groupId>
>>  <artifactId>TrackMate_</artifactId>
>>  <version>2.5.0</version>
>>  </dependency>
>> 
>> However, it seems maven still thinks I'm using v 2.3 according to the following error message.
>> 
>> %%%%%%%%%%%%%%%
>> 
>> [WARNING] The POM for sc.fiji:TrackMate_:jar:2.3.0 is invalid, transitive dependencies (if any) will not be available: 1 problem was encountered while building the effective model for sc.fiji:TrackMate_:2.3.0
> 
> Hi Jay
> 
> Ok, that's very odd. The TrackMate-example depends on TrackMate this way and it works:
> https://github.com/fiji/MaMuT/blob/master/pom.xmlhttps://github.com/fiji/MaMuT/blob/master/pom.xml
> 
> Could you post the whole pom.xml to let us see through it?
> best
> jy
> 
> 
>  	
> This email is free from viruses and malware because avast! Antivirus protection is active.
> 
> 
> _______________________________________________
> ImageJ-devel mailing list
> ImageJ-devel at imagej.net
> http://imagej.net/mailman/listinfo/imagej-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://imagej.net/pipermail/imagej-devel/attachments/20140913/9bb8b667/attachment-0005.html>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://imagej.net/pipermail/imagej-devel/attachments/20140913/9bb8b667/attachment-0006.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Broken_Module_pom.xml
Type: application/xml
Size: 3862 bytes
Desc: not available
URL: <http://imagej.net/pipermail/imagej-devel/attachments/20140913/9bb8b667/attachment-0002.xml>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://imagej.net/pipermail/imagej-devel/attachments/20140913/9bb8b667/attachment-0007.html>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://imagej.net/pipermail/imagej-devel/attachments/20140913/9bb8b667/attachment-0008.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Master_pom.xml
Type: application/xml
Size: 1711 bytes
Desc: not available
URL: <http://imagej.net/pipermail/imagej-devel/attachments/20140913/9bb8b667/attachment-0003.xml>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://imagej.net/pipermail/imagej-devel/attachments/20140913/9bb8b667/attachment-0009.html>


More information about the ImageJ-devel mailing list