<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi,<div><br></div><div>can I ask a related question. Yesterday, I tried to add jna.jar as a Maven dependency to a plugin for some testing. But I was unable to figure out a valid version that I need, the artifact id and the group id. Where I do get this stuff from? Luckily the CPU_Meter used it, so I copied it from there:</div><div><br></div><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "><span class="Apple-tab-span" style="white-space:pre"> </span><dependency></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "><span class="Apple-tab-span" style="white-space:pre"> </span><groupId>net.java.dev.jna</groupId></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "><span class="Apple-tab-span" style="white-space:pre"> </span><artifactId><span style="text-decoration: underline">jna</span></artifactId></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "><span class="Apple-tab-span" style="white-space:pre"> </span><version>3.2.7</version></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "><span class="Apple-tab-span" style="white-space:pre"> </span></dependency></div></div><div><br></div><div>But is is unclear to me why the group id would be "net.java.dev.jna" as the entire package is in com.sun.*, e.g.:</div><div><br></div><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "><span style="color: #9a1b66">import</span> com.sun.jna.Library;</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "><span style="color: #9a1b66">import</span> com.sun.jna.Native;</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "><span style="color: #9a1b66">import</span> com.sun.jna.Platform;</div></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "><br></div><div>I guess there must be somewhere a pom.xml where all jars, their id's, locations, available versions etc. are listed - where I could also add a new jar if required. But I did not manage to find where that would be.</div><div><br></div><div>Thanks a lot and nice greetings,</div><div>Stephan</div><div><br><div><div>On Jul 25, 2012, at 14:05 , Johannes Schindelin wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi Michael,<br><br>On Wed, 25 Jul 2012, Michael Doube wrote:<br><br><blockquote type="cite"><blockquote type="cite">import imagej.data.display.DatasetView; import<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">imagej.platform.PlatformService;<br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I found them, by using net.imagej and not imagej as the group ID and<br></blockquote><blockquote type="cite">ij-data and ij-platform as the artefact IDs. Why the distinction?<br></blockquote><br>Yep, the groupId is net.imagej (the convention is to use the inverted<br>domain name).<br><br>The distinction between ij-data and ij-platform is that the former deals<br>with image data while the latter deals with platform-specific<br>functionality such as opening a URL in a web browser.<br><br>In general, we tried to modularize ImageJ2 as much as possible (hence the<br>need for the ImageJ updater to keep things easy to use). This allows to<br>cherry-pick exactly which parts of ImageJ2 you want to use.<br><br>Ciao,<br>Dscho<br><br>_______________________________________________<br>ImageJ-devel mailing list<br><a href="mailto:ImageJ-devel@imagej.net">ImageJ-devel@imagej.net</a><br>http://imagej.net/mailman/listinfo/imagej-devel<br></div></blockquote></div><br></div></body></html>