[ImageJ-devel] Finding classes and importing the right Maven artifacts
Curtis Rueden
ctrueden at wisc.edu
Mon Jul 30 14:15:25 CDT 2012
Hi Mike,
> Looks like the problem was that Eclipse/Maven wasn't properly updating
> the local repository. So, I deleted the stale directories in
> ~/.m2/repository/net/ , refreshed and sources are visible.
Glad you got it working. It's weird that that was necessary, though.
Perhaps doing "mvn -U" (or in Eclipse, "Maven > Update Project..." with
"Force Update of Snapshots/Releases" checked) would have done the same.
Maven only checks for SNAPSHOT updates once every 24 hours otherwise.
Regards,
Curtis
P.S. You should definitely not need to reference the "-sources" classifier
as a dependency or anything like that.
On Sun, Jul 29, 2012 at 9:52 AM, Michael Doube <michael at doube.net> wrote:
> > Sources for the 2.0.0-SNAPSHOTs look to be there on the search page, but
> > when I ask Maven to download sources nothing much happens, Eclipse still
> > tells me that no sources or JavaDoc could be found
>
> Looks like the problem was that Eclipse/Maven wasn't properly updating
> the local repository. So, I deleted the stale directories in
> ~/.m2/repository/net/ , refreshed and sources are visible.
>
> Michael
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://imagej.net/pipermail/imagej-devel/attachments/20120730/a3901282/attachment-0001.html>
More information about the ImageJ-devel
mailing list