Hi Mike,<div><br></div><div>Thanks for the feedback. To add to Dscho's comments...</div><div><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>What was tripping me up was that there are several versions of<br>ij-platform, for example. The beta releases (fixed states, right?) and<br>the SNAPSHOTS (updating often, right?). So far, so good.</blockquote><div><br>
</div><div>Yep, all correct.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br>But, then there are versions 2.0-SNAPSHOT and 2.0.0-SNAPSHOT.</blockquote>
<div><div><br></div><div>This is my fault; I decided to change to a major.minor.micro versioning scheme so we could use semantic versioning (<a href="http://semver.org/">http://semver.org/</a>). The "2.0-SNAPSHOT" builds are obsolete, so I deleted them all. Hopefully that clears up any confusion there. :-)</div>
<div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br>And one with a sources classifier.</blockquote>
<div><br></div><div>This is a standard Maven thing you can do: publish the source code to its own JAR with "-sources" classifier. Eclipse is smart enough to download it for you: in Package Explorer, find any JAR under your project's "Maven Dependencies" list, right-click it and choose "Maven > Download Sources". After that, you'll have them in your local cache (in ~/.m2) and you can browse the sources in Eclipse, debug into them, etc. This only works if that particular Maven project deploys the "-sources" JAR though, like we are doing.</div>
<div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br>And there is also an ij-platform artifact with the group ID imagej, version 2.0-SNAPSHOT</blockquote>
<div><br></div><div>This is also my fault. We originally used groupId "imagej" but decided to change to "net.imagej" because as Dscho said, it is the convention to use reverse domain name, and it is strongly preferred (maybe even required?) to do things that way if you want to submit your stuff to the Maven central repository.</div>
<div><br></div><div>So everything listed under the "imagej" groupId is old/deprecated, and should not be used.</div><div><br></div><div>To clarify this, I deleted all SNAPSHOT builds with groupId of imagej from the server. However, there are some release builds that it would be best not to remove, such as ImageJ5D 1.2.1 - 1.2.4. So the "imagej" groupId will remain, but in the releases subtree only.</div>
<div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br>and several others with group ID net.imagej.</blockquote>
<div><br></div><div>Yes, these are the correct ones.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>So, even guessing the right artifact name could point at eight distinct actual artifacts.</blockquote><div><div class="gmail_quote"><br></div><div class="gmail_quote">Hopefully since I deleted a lot of the cruft, it is less confusing now.</div>
<div class="gmail_quote"><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br>Even more confusing is this recommendation for pom.xml at<br>
<a href="http://fiji.sc/wiki/index.php/Maven" target="_blank">http://fiji.sc/wiki/index.php/Maven</a></blockquote><div class="gmail_quote"><br></div><div class="gmail_quote">I checked that page, but could not find the block you cited. If you see the old "imagej" groupId anywhere, please fix it, or let us know and I will do so.</div>
<div class="gmail_quote"><br></div><div class="gmail_quote">Regards,</div><div class="gmail_quote">Curtis</div><div class="gmail_quote"><br></div><div class="gmail_quote"><br></div><div class="gmail_quote">On Thu, Jul 26, 2012 at 2:47 AM, Michael Doube <span dir="ltr"><<a href="mailto:michael@doube.net" target="_blank">michael@doube.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">>> Mostly, Eclipse has handled that OK. But, now I'm editing my pom.xml and<br>
>> am missing a couple of dependencies, which are really hard to find.<br>
<br>
</div>OK, so I found them by trial and error by searching at<br>
<a href="http://maven.imagej.net:8081/index.html#welcome" target="_blank">http://maven.imagej.net:8081/index.html#welcome</a> and editing pom.xml<br>
until build errors went away.<br>
<br>
What was tripping me up was that there are several versions of<br>
ij-platform, for example. The beta releases (fixed states, right?) and<br>
the SNAPSHOTS (updating often, right?). So far, so good. But, then there<br>
are versions 2.0-SNAPSHOT and 2.0.0-SNAPSHOT. And one with a sources<br>
classifier. And there is also an ij-platform artifact with the group ID<br>
imagej, version 2.0-SNAPSHOT, and several others with group ID<br>
net.imagej. So, even guessing the right artifact name could point at<br>
eight distinct actual artifacts.<br>
<br>
Even more confusing is this recommendation for pom.xml at<br>
<a href="http://fiji.sc/wiki/index.php/Maven" target="_blank">http://fiji.sc/wiki/index.php/Maven</a><br>
<br>
<dependency><br>
<groupId>net.imagej</groupId><br>
<artifactId>ij</artifactId><br>
<version>1.46j</version><br>
</dependency><br>
<dependency><br>
<groupId>imagej</groupId><br>
<artifactId>imagej</artifactId><br>
<version>2.0-SNAPSHOT</version><br>
</dependency><br>
<br>
Which makes it look like ImageJ1 is under net.imagej and ImageJ2 is<br>
under imagej.<br>
<br>
Guidance, please?<br>
<span class="HOEnZb"><font color="#888888"><br>
Michael<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
<br>
_______________________________________________<br>
ImageJ-devel mailing list<br>
<a href="mailto:ImageJ-devel@imagej.net">ImageJ-devel@imagej.net</a><br>
<a href="http://imagej.net/mailman/listinfo/imagej-devel" target="_blank">http://imagej.net/mailman/listinfo/imagej-devel</a><br>
</div></div></blockquote></div><br></div></div></div>