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.

Attachment: JEX_Module_pom.xml
Description: XML document

Attachment: Broken_Module_pom.xml
Description: XML document

Attachment: Core_Module_pom.xml
Description: XML document

Attachment: Master_pom.xml
Description: XML document


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 <tine...@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@imagej.net
http://imagej.net/mailman/listinfo/imagej-devel

_______________________________________________
ImageJ-devel mailing list
ImageJ-devel@imagej.net
http://imagej.net/mailman/listinfo/imagej-devel

Reply via email to